Difference between revisions of "/etc/cron.d/sysstat"
Jump to navigation
Jump to search
(Created page with "{{Draft}} debian-sa1 == See also == * {{sysstat}} Category:Computing") |
|||
(11 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
− | + | *<code>[[debian-sa1]]</code> | |
− | + | <pre> | |
+ | # The first element of the path is a directory where the debian-sa1 | ||
+ | # script is located | ||
+ | PATH=/usr/lib/sysstat:/usr/sbin:/usr/sbin:/usr/bin:/sbin:/bin | ||
+ | # Activity reports every 10 minutes everyday | ||
+ | 5-55/10 * * * * root command -v debian-sa1 > /dev/null && debian-sa1 1 1 | ||
+ | |||
+ | # Additional run at 23:59 to rotate the statistics file | ||
+ | 59 23 * * * root command -v debian-sa1 > /dev/null && debian-sa1 60 2 | ||
+ | </pre> | ||
+ | |||
+ | Collect every minute: | ||
+ | <code>* * * * * root command -v [[debian-sa1]] > /dev/null && debian-sa1 1 1</code> | ||
+ | |||
+ | == Related terms == | ||
+ | * <code>[[/var/log/sysstat/]]</code> | ||
+ | * [[Amazon Linux]] | ||
+ | * [[sar installation]] | ||
== See also == | == See also == | ||
+ | * {{cron}} | ||
* {{sysstat}} | * {{sysstat}} | ||
+ | * {{sar}} | ||
+ | |||
− | [[Category: | + | [[Category:sysstat]] |
+ | [[Category:Linux]] |
Latest revision as of 13:24, 19 April 2023
# The first element of the path is a directory where the debian-sa1 # script is located PATH=/usr/lib/sysstat:/usr/sbin:/usr/sbin:/usr/bin:/sbin:/bin # Activity reports every 10 minutes everyday 5-55/10 * * * * root command -v debian-sa1 > /dev/null && debian-sa1 1 1 # Additional run at 23:59 to rotate the statistics file 59 23 * * * root command -v debian-sa1 > /dev/null && debian-sa1 60 2
Collect every minute:
* * * * * root command -v debian-sa1 > /dev/null && debian-sa1 1 1
Related terms[edit]
See also[edit]
cron
,crontab
,systemctl list-timers
, anacron, Kubernetes scheduler, Systemd services,CronJobsStack
,cron.schedule
,crontab -l
,0x004b
,at, /etc/cron.deny, /etc/cron.allow
- Performance: sysstat,
sar
,sadc
,debian-sa1
,sa1, sa2
,iostat
,nfsiostat
mpstat
,changelog
,/usr/lib/sysstat/sadc
,/etc/sysstat/sysstat
,pidstat, irqstat
sar
, installation, sar -A,sar -F, sar -d
,sar -I ALL
,sar -n NFS
,sar -r
,sar -S
,sar -W
,sar -n ALL
, Installing sysstat using Ansible,/etc/sysstat/sysstat
,/etc/cron.d/sysstat
,sar --help
, Sysstat changelog,/var/log/sysstat/
,cpu time steal
, sargraph, isag, Telegraf
Advertising: