The RPC Remote Statistics Daemon and perfmeter

The rpc.rstatd daemon is an RPC server that obtains some performance data by using kstat and returns that data in an RPC message. The rup(1) and perfmeter(1) commands monitor local and remote system activity by using the rstatd interface. SunNet Manager also uses rpc.rstatd to monitor host performance. Two versions of the protocol are currently defined in /usr/include/rpcsvc/rstat.x. The latest, version 4, allows a variable number of CPU states and a variable number of disks to be defined, as shown in Figure 15-24. Version 3 is used by SunOS 4. The information returned is the CPU user, system, wait, idle counters, the total number of operations on each disk, pages paged in and out, pages swapped ...

Get Sun Performance and Tuning: Java™ and the Internet, Second Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.