Difference between revisions of "/etc/sysstat/sysstat"

From wikieduonline
Jump to navigation Jump to search
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
 
 
Default [[Ubuntu 18.04 LTS]]:
 
Default [[Ubuntu 18.04 LTS]]:
 
  cat [[/etc/sysstat/]]sysstat | grep -v "#" | [[grep .]]
 
  cat [[/etc/sysstat/]]sysstat | grep -v "#" | [[grep .]]
 
  HISTORY=7
 
  HISTORY=7
 
  COMPRESSAFTER=10
 
  COMPRESSAFTER=10
  SADC_OPTIONS="-S DISK"
+
  [[SADC_OPTIONS]]="-S DISK"
 
  SA_DIR=/var/log/sysstat
 
  SA_DIR=/var/log/sysstat
 
  ZIP="xz"
 
  ZIP="xz"
 
 
 
 
  
 
  HISTORY=7
 
  HISTORY=7
Line 18: Line 12:
 
  SA_DIR=/var/log/sysstat
 
  SA_DIR=/var/log/sysstat
 
  ZIP="xz"
 
  ZIP="xz"
 
  
 
Options:
 
Options:
[[SADC]]_OPTIONS="-S DISK"
+
{{SADC_OPTIONS}}
SADC_OPTIONS="-S XDISK"
 
SADC_OPTIONS="-S XALL"
 
  
 
== Related ==
 
== Related ==
 
* [[Amazon Linux]]: <code>[[/etc/sysconfig/sysstat]]</code>
 
* [[Amazon Linux]]: <code>[[/etc/sysconfig/sysstat]]</code>
 
+
* [[/etc/cron.d/sysstat]]
 +
* [[--storage.tsdb.retention]] in [[prometheus.args]]
  
 
== See also ==
 
== See also ==

Latest revision as of 14:28, 15 March 2024

Advertising: