SysFsCgroupMemoryTasksNumber - Datasource sys_fs_cgroup_memory_tasks_number
This parser parse the output of the datasource sys_fs_cgroup_memory_tasks_number.
This datasource is used to count the number of lines from output of the command
/usr/bin/find /sys/fs/cgroup/memory -name 'tasks'
- class insights.parsers.sys_fs_cgroup_memory_tasks_number.SysFsCgroupMemoryTasksNumber(context)[source]
Bases:
ParserClass
SysFsCgroupMemoryTasksNumberparses the the output of the datasource``sys_fs_cgroup_memory_tasks_number``. This datasource is used to count the number of lines from output of the command/usr/bin/find /sys/fs/cgroup/memory -name 'tasks'- The typical output of this command is::
260
- number
The number of tasks files under /usr/bin/find /sys/fs/cgroup/memory.
- Type:
int
Examples
>>> type(sys_fs_cgroup_memory_tasks_number) <class 'insights.parsers.sys_fs_cgroup_memory_tasks_number.SysFsCgroupMemoryTasksNumber'> >>> sys_fs_cgroup_memory_tasks_number.number 260