These three commands capture about the same information: the number of currently running processes:
# ls -d /proc/[0-9]* | wc -l ; /usr/lib64/nagios/plugins/check_procs ; ps faux | wc -l 506 PROCS OK: 505 processes 507 Does sar collect that information? The plist-sz from 'sar -q' would seem like the answer, but its numbers are about 200 higher than what I'm measuring with the above commands. I'm still looking through other options, but nothing stands out at this point. # sar -q | tail -2 | head -1 08:33:01 PM 2 704 0.44 0.43 0.38 Regards, - Robert -- Central West End Linux Users Group (via Google Groups) Main page: http://www.cwelug.org To post: [email protected] To subscribe: [email protected] To unsubscribe: [email protected] More options: http://groups.google.com/group/cwelug
