atop#

$ target-query <path/to/target> -f atop
Details#

Module

os.unix.log.atop.AtopPlugin

Output

records

Module documentation

No documentation

Function documentation

Return the content of Atop log files.

An Atop log file contains the activity of all processes that were running during the interval. This includes system-level activity related to the CPU, memory, swap, disks and network layers, and for every process (and thread) it shows e.g. the CPU utilization, memory growth, disk utilization, priority, username, state, and exit code.

References:
Yields AtopRecord with fields:

hostname (string): The target hostname. process (string): The process name. cmdline (string): The command-line of the process. tgid (varint): The threadgroup of the process pid (varint): The proccess identifier of the process. ppid (varint): The proccess identifier of the parent-process. ruid (varint): The ruid of the process. euid (varint): The euid of the process. suid (varint): The suid of the process. fsuid (varint): The fsuid of the process. rgid (varint): The rgid of the process. egid (varint): The egid of the process. sgid (varint): The sgid of the process. fsgid (varint): The fsgid of the process. nthr (varint): The nthr of the process. isproc (boolean). The process-level of the process. state (string). The state of the process. excode (varint): The exit-code of the process. elaps (varint): The elapsed time of the process. nthrslpi (varint): The threads in state ‘S’ of the process. nthrslpu (varint): The threads in state ‘D’ of the process. nthrrun (varint): The threads in state ‘R’ of the process. ctid (varint): The OpenVZ container ID of the process. vpid (varint): The OpenVZ virtual pid of the process. wasinactive (boolean): The activity of the process. container (string): The Docker Container ID of the process. filepath (path): The file name.