Activating or deactivating individual data-gathering modules
![]()
Each data-gathering module has a procfs entry that contains a value 1 if
the module is active and 0 if the module is inactive.
About this task
The following procfs entries control the data-gathering modules:
- /proc/sys/appldata/mem for the memory data-gathering module
- /proc/sys/appldata/os for the CPU data-gathering module
- /proc/sys/appldata/net_sum for the net data-gathering module
To check whether a module is active look at the content of the corresponding procfs entry.
Procedure
To activate a data-gathering module write
1 to the corresponding
procfs entry. To deactivate a data-gathering module write 0 to the corresponding
procfs entry. Issue a command of this form:
# echo <flag> > /proc/sys/appldata/<data_type>where <data_type> is one of mem, os, or net_sum.
Note: An active data-gathering module produces APPLDATA monitor records only if the monitoring
support is enabled.
Example
To find out whether memory data-gathering is active, issue:
# cat /proc/sys/appldata/mem 0In the example, memory data-gathering is off. To activate memory data-gathering, issue:
# echo 1 > /proc/sys/appldata/mem
To deactivate the memory data-gathering module, issue:
# echo 0 > /proc/sys/appldata/mem