Difference between revisions of "Sadc (system activity data collector)"
Jump to navigation
Jump to search
(10 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{lc}} | {{lc}} | ||
− | <code>[[/usr/lib/sysstat/sadc]]</code> binary included in <code>[[sysstat]]</code> package. | + | <code>[[/usr/lib/sysstat/sadc]]</code> system activity data collector binary included in <code>[[sysstat]]</code> package. |
− | * <code>[[SADC_OPTIONS]]="[[-S]] XXXXX"</code> in <code>[[/etc/sysstat/sysstat]]</code> | + | * <code>[[SADC_OPTIONS]]="[[-S]] XXXXX"</code> in <code>[[/etc/sysstat/sysstat]]</code> in [[Ubuntu]] |
+ | * [[Amazon Linux]]: <code>[[/etc/sysconfig/sysstat]]</code> | ||
+ | -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. | ||
+ | |||
+ | |||
+ | == Related == | ||
+ | * [[/usr/lib/sysstat/debian-sa1]] | ||
+ | * [[/usr/lib/sysstat/sa2]] | ||
== See also == | == See also == |
Latest revision as of 14:28, 15 March 2024
/usr/lib/sysstat/sadc
system activity data collector binary included in sysstat
package.
SADC_OPTIONS="-S XXXXX"
in/etc/sysstat/sysstat
in Ubuntu- Amazon Linux:
/etc/sysconfig/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.
Related[edit]
See also[edit]
Advertising: