Difference between revisions of "Sadc (system activity data collector)"
Jump to navigation
Jump to search
Line 20: | Line 20: | ||
lected by sadc. The ALL keyword is equivalent to specifying all the keywords above and | lected by sadc. The ALL keyword is equivalent to specifying all the keywords above and | ||
therefore all previous activities are collected. | therefore all previous activities are collected. | ||
− | + | ||
The XDISK keyword is an extension to the DISK one and indicates that partitions and | The XDISK keyword is an extension to the DISK one and indicates that partitions and | ||
filesystems statistics should be collected by sadc in addition to disk statistics. This | filesystems statistics should be collected by sadc in addition to disk statistics. This | ||
Line 26: | Line 26: | ||
specifying all the keywords above (including keyword extensions) and therefore all pos‐ | specifying all the keywords above (including keyword extensions) and therefore all pos‐ | ||
sible activities are collected. | sible activities are collected. | ||
− | + | ||
Important note: The activities (including optional ones) saved in an existing data file | Important note: The activities (including optional ones) saved in an existing data file | ||
prevail over those selected with option -S. As a consequence, appending data to an ex‐ | prevail over those selected with option -S. As a consequence, appending data to an ex‐ |
Revision as of 11:14, 8 February 2023
/usr/lib/sysstat/sadc
system activity data collector binary included in sysstat
package.
SADC_OPTIONS="-S XXXXX"
in/etc/sysstat/sysstat
-S DISK -S XDISK -S ALL -S XALL
-S { keyword[,...] | ALL | XALL } Possible keywords are DISK, INT, IPV6, POWER, SNMP, XDISK, ALL and XALL. Specify which optional activities should be collected by sadc. Some activities are op‐ tional to prevent data files from growing too large. The DISK keyword indicates that sadc should collect data for block devices. The INT keyword indicates that sadc should collect data for system interrupts. The IPV6 keyword indicates that IPv6 statistics should be collected by sadc. The POWER keyword indicates that sadc should collect power management statistics. The SNMP keyword indicates that SNMP statistics should be col‐ lected by sadc. The ALL keyword is equivalent to specifying all the keywords above and therefore all previous activities are collected. The XDISK keyword is an extension to the DISK one and indicates that partitions and filesystems statistics should be collected by sadc in addition to disk statistics. This option works only with kernels 2.6.25 and later. The XALL keyword is equivalent to specifying all the keywords above (including keyword extensions) and therefore all pos‐ sible activities are collected. Important note: The activities (including optional ones) saved in an existing data file prevail over those selected with option -S. As a consequence, appending data to an ex‐ isting data file will result in option -S being ignored.
See also
Advertising: