Jul 25
Solaris

Well, i didn't know that rstatd can be used to obtain a remote's server performance counters....

It is usually disabled for security purposes.

Just make sure it is configured at /etc/inetd.conf, by uncommenting the proper line

bash-2.05# grep rstat /etc/services

bash-2.05# grep rstat /etc/inetd.conf

rstatd/2-4 tli rpc/datagram_v wait root /usr/lib/netsvc/rstat/rpc.rstatd rpc.rstatd

Then restart inetd

bash-2.05# ps -ef | grep inetd
root 355 1 0 Apr 26 ? 0:00 /usr/sbin/inetd -s -t
bash-2.05# kill -HUP 355

It will be running

bash-2.05# ps -ef | grep rstat
root 23620 23616 0 18:01:48 pts/1 0:00 grep rstat
root 21694 355 0 17:39:37 ? 0:01 rpc.rstatd


You can use a fine rstatd client called java perfmeter: http://jperfmeter.sourceforge.net/


If you have CDE you can use sdtperfmeter

bash-3.00$ /usr/dt/bin/sdtperfmeter othermachine

If you have gnome, you might as well use gnome-perfmeter

# gnome-perfmeter othermachine


Posted by rdircio

| Top Exits (0)
Vote for articles fresher than 7 days!
Current karma: none, 0 vote(s) 3259 hits