Parsing NSCLIENT Output/Performance Counters

Hiatt, William whiatt at upstanding.com
Sat Oct 19 00:24:18 CEST 2002


Is there a way to parse the output from NSCLIENT on the CPU load
information: CPU Load (5 min. 0) and get it to just display just the
number?? I.E. I want to pipe this over to MRTG but have been unable to
write a shells cript to take that 0 out and give it to me?

I tried using the processor performance counter, but I would constantly
get 99.98% back, even when the box had no load! For processor though, I
do prefer using NSCLIETN's output

Thanks
william


-------------------------------------------------------
This sf.net email is sponsored by:
Access Your PC Securely with GoToMyPC. Try Free Now
https://www.gotomypc.com/s/OSND/DD




More information about the Users mailing list