Difference between revisions of "/etc/cron.d/sysstat"

From wikieduonline
Jump to navigation Jump to search
(Created page with "{{Draft}} debian-sa1 == See also == * {{sysstat}} Category:Computing")
 
Line 3: Line 3:
 
  [[debian-sa1]]
 
  [[debian-sa1]]
  
 +
<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>
  
 
== See also ==
 
== See also ==

Revision as of 13:35, 22 October 2020

This article is a Draft. Help us to complete it.
debian-sa1
# 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

See also

Advertising: