Re: Log load average

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Somebody in the thread at some point said:

> What's the quickest/easiest way to log system load average to a text
> file?  I was using SAR, but getting load averages is a pain.  I was
> hoping there'd be a quick way to do it, but googling has come up with
> bupkiss.

while [ 1 ] ; do date | tr '\n' ' '  >> /tmp/loadlog ; \
cat /proc/loadavg >> /tmp/loadlog ; sleep 30s ; done

-Andy


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux