Revision [1112]
Last edited on 2007-10-28 23:36:02 by WikiAdminAdditions:
{{parent page="GeneralUnix"}}
Deletions:
Revision [1111]
Edited on 2007-10-28 20:25:17 by WikiAdminAdditions:
== Sar and cron ==
Redhat by default creates these cron entries to capture system usage with sar. It's placed under /etc/crond.d
# run system activity accounting tool every 10 minutes
*/10 * * * * root /usr/lib/sa/sa1 1 1
# generate a daily summary of process accounting at 23:53
53 23 * * * root /usr/lib/sa/sa2 -A
Redhat by default creates these cron entries to capture system usage with sar. It's placed under /etc/crond.d
# run system activity accounting tool every 10 minutes
*/10 * * * * root /usr/lib/sa/sa1 1 1
# generate a daily summary of process accounting at 23:53
53 23 * * * root /usr/lib/sa/sa2 -A
Revision [1028]
Edited on 2007-10-11 00:22:02 by WikiAdminAdditions:
$ sar -u -o sar.out 10 100
$ sar -f sar.out
$ sar -f sar.out
Deletions:
sar -f sar.out