pages:howtos:suse:sysstat
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
pages:howtos:suse:sysstat [2021/12/09 01:42] – created rokkitlawnchair | pages:howtos:suse:sysstat [2021/12/09 23:34] (current) – rokkitlawnchair | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | {{tag> | ||
====== Sysstat ====== | ====== Sysstat ====== | ||
+ | * http:// | ||
+ | * http:// | ||
+ | * https:// | ||
+ | |||
<sxh bash; gutter: false> | <sxh bash; gutter: false> | ||
zypper in sysstat | zypper in sysstat | ||
systemctl enable sysstat | systemctl enable sysstat | ||
systemctl start sysstat | systemctl start sysstat | ||
+ | vim / | ||
</ | </ | ||
+ | <sxh bash; title: / | ||
+ | # sysstat configuration file. | ||
+ | |||
+ | # How long to keep log files (in days). | ||
+ | # If value is greater than 28, then log files are kept in | ||
+ | # multiple directories, | ||
+ | HISTORY=28 | ||
+ | |||
+ | # Compress (using gzip or bzip2) sa and sar files older than (in days): | ||
+ | COMPRESSAFTER=31 | ||
+ | |||
+ | # Parameters for the system activity data collector (see sadc manual page) | ||
+ | # which are used for the generation of log files. | ||
+ | SADC_OPTIONS=" | ||
+ | |||
+ | # Compression program to use. | ||
+ | ZIP=" | ||
+ | </ | ||
+ | |||
+ | <sxh bash; gutter: false> | ||
+ | cat / | ||
+ | </ | ||
+ | |||
+ | # / | ||
+ | # (C) 2014 Tomasz Torcz < | ||
+ | # | ||
+ | # sysstat-12.4.3 systemd unit file: | ||
+ | # Activates activity collector every 10 minutes | ||
+ | | ||
+ | [Unit] | ||
+ | Description=Run system activity accounting tool every 10 minutes | ||
+ | | ||
+ | [Timer] | ||
+ | OnCalendar=*: | ||
+ | | ||
+ | [Install] | ||
+ | WantedBy=sysstat.service | ||
+ | |||
+ | <sxh bash; gutter: false> | ||
+ | journalctl -g sysstat-collect.service | ||
+ | </ | ||
+ | ---- | ||
+ | ~~DISCUSSION~~ |
pages/howtos/suse/sysstat.1639014135.txt.gz · Last modified: 2021/12/09 01:42 by rokkitlawnchair