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

From wikieduonline
Jump to navigation Jump to search
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 .]]
Line 8: Line 6:
 
  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:
Line 25: Line 18:
 
== Related ==
 
== Related ==
 
* [[Amazon Linux]]: <code>[[/etc/sysconfig/sysstat]]</code>
 
* [[Amazon Linux]]: <code>[[/etc/sysconfig/sysstat]]</code>
 
  
 
== See also ==
 
== See also ==

Revision as of 14:22, 22 May 2023

Default Ubuntu 18.04 LTS:

cat /etc/sysstat/sysstat | grep -v "#" | grep .
HISTORY=7
COMPRESSAFTER=10
SADC_OPTIONS="-S DISK"
SA_DIR=/var/log/sysstat
ZIP="xz"
HISTORY=7
COMPRESSAFTER=10
SADC_OPTIONS="-S XALL"
SA_DIR=/var/log/sysstat
ZIP="xz"

Options:

SADC_OPTIONS="-S DISK"
SADC_OPTIONS="-S XDISK"
SADC_OPTIONS="-S XALL"

Related

See also

Advertising: