On Sat, 06 Sep 2003 13:16:35 +0200
Olaf Marzocchi <[EMAIL PROTECTED]> wrote:
> At 02.03 06/09/2003, you wrote:
>
> >to extract temperature:
> >i don't know about hddtemp output, so i use var="/dev/hda:
> >IC350L40AVER07-0: 42�C" for this example ->
> >$ set -- $var; echo ${!#//[^0-9]/}
> >
> >to extract the 3rd field from /proc/loadavg
> >$ set -- $(</proc/loadavg); echo $3
>
> Thanks, this is another way to have those values.
it's a bash only way ...
> Yesterday I tried to run a kernel compilation to check how much the load
> could increase and I noted that (as expected) the second time I compiled
> the kernel [for ((i=0;i<10;i++)); do make bzImage; done] the loadavg kept
> increasing but nothing was read from disk.
> I wonder whether there is a way to check "real" disk activity and not
> simply system load.
> Moreover, could someone confirm my guess about loadavg values? (1 minute, 5
> minutes and 15 minutes).
1, 5 and 10 minutes
> A simple link to a page explainig those three values is enough (man top
> doesn't explain anything).
one can be found here:
http://www.redhat.com/docs/manuals/linux/RHL-7.2-Manual/ref-guide/s1-proc-topfiles.html
> Thanks
> Olaf
>
np
bye
jipe
Want to buy your Pack or Services from MandrakeSoft?
Go to http://www.mandrakestore.com