Re: current cpu usage

2001-09-14 Thread Nathan E Norman
On Sat, Sep 08, 2001 at 09:40:14AM +0200, Robert Waldner wrote: > > On Thu, 06 Sep 2001 13:30:43 CDT, Nathan E Norman writes: > <...> > >Yesterday I wrote a perl script that does this (I'm playing with > >cricket ... see > > > > http://canaris.visionary.micromuse.com/cgi-bin/cricket/grapher.cgi?

Re: current cpu usage

2001-09-08 Thread Robert Waldner
On Thu, 06 Sep 2001 13:30:43 CDT, Nathan E Norman writes: <...> >Yesterday I wrote a perl script that does this (I'm playing with >cricket ... see > > http://canaris.visionary.micromuse.com/cgi-bin/cricket/grapher.cgi?target= >=3D%2Fservers > >I'll make the script source available if someone wan

Re: current cpu usage

2001-09-06 Thread Nathan E Norman
On Thu, Sep 06, 2001 at 03:50:01PM +0200, Robert Waldner wrote: > > On Thu, 06 Sep 2001 09:34:05 EDT, Peter Billson writes: > >> cat /proc/meminfo > >> cat /proc/loadavg > > > > The meminfo would help him but he posted that he didn't understand load > >average and, anyway, needs percent of CPU us

Re: current cpu usage

2001-09-06 Thread Andy Bastien
In the depths of that dark day Thu Sep 06, the words of Robert Waldner were the beacon: > > On Thu, 06 Sep 2001 09:34:05 EDT, Peter Billson writes: > >> cat /proc/meminfo > >> cat /proc/loadavg > > > > The meminfo would help him but he posted that he didn't understand load > >average and, anyway,

Re: current cpu usage

2001-09-06 Thread Robert Waldner
On Thu, 06 Sep 2001 09:34:05 EDT, Peter Billson writes: >> cat /proc/meminfo >> cat /proc/loadavg > > The meminfo would help him but he posted that he didn't understand load >average and, anyway, needs percent of CPU used. You can not calculate >CPU usage from load average. Not to mention the de

Re: current cpu usage

2001-09-06 Thread Peter Billson
> cat /proc/meminfo > cat /proc/loadavg The meminfo would help him but he posted that he didn't understand load average and, anyway, needs percent of CPU used. You can not calculate CPU usage from load average. You could use /proc to get CPU usage but it would be rather involved to do and why

Re: current cpu usage

2001-09-06 Thread Robert Waldner
On Thu, 06 Sep 2001 09:00:37 EDT, Peter Billson writes: >> sorry, I should have been more specific, I need to get the output in a forma >t >> a script could use. >> I have tried the uptime command however I'm a bit lost at what the numbers >> displayed represent (& how to turn these into a percen

Re: current cpu usage

2001-09-06 Thread Felipe Alvarez Harnecker
Peter Billson writes: > > sorry, I should have been more specific, I need to get the output in a format > > a script could use. > > I have tried the uptime command however I'm a bit lost at what the numbers > > displayed represent (& how to turn these into a percentage). > > (If indeed this i

Re: current cpu usage

2001-09-06 Thread Peter Billson
> sorry, I should have been more specific, I need to get the output in a format > a script could use. > I have tried the uptime command however I'm a bit lost at what the numbers > displayed represent (& how to turn these into a percentage). > (If indeed this is a good way to do this) /usr/bin/to