/usr/bin/atop: invalid option -- '-'
Usage: /usr/bin/atop [-t [absdir]] [-flags] [interval [samples]]
or
Usage: /usr/bin/atop -w file [-S] [-a] [interval [samples]]
/usr/bin/atop -r [file] [-b [YYYYMMDD]hhmm[ss]] [-e [YYYYMMDD]hhmm[ss]] [-flags]
generic flags:
-t twin mode: live measurement with possibility to review earlier samples
(raw file created in /tmp or in specific directory path)
-B show bar graphs for system statistics
-H show bar graphs without categories
-G show cgroup v2 metrics
-7 define cgroup v2 depth level -2 till -9 (default: -7)
-V show version information
-a show all processes and cgroups (i.s.o. active only)
-R calculate proportional set size (PSS) per process
-W determine WCHAN (string) per thread
-J generate JSON output for specified label(s)
-P generate parsable output for specified label(s)
-Z no spaces in parsable output for command (line)
-L alternate line length (default 80) in case of non-screen output
-z prepend regex matching environment variables to command line
WARNING: don't use this flag when writing (publicly readable) raw files!
-i UID/GID translation to full name (default column width is 8)
-I suppress UID/GID to name translation (show numbers instead)
-k try to connect to external atopgpud daemon (default: do not connect)
-K try to connect to netatop/netatop-bpf interface (default: do not connect)
-f show fixed number of lines with system statistics
-F suppress sorting of system resources
-X suppress terminated processes in output
-l show limited number of lines for certain resources
-y show threads within process
-Y sort threads (when combined with 'y')
-1 show average-per-second i.s.o. total values
-x no colors in case of high occupation
-g show general process-info (default)
-m show memory-related process-info
-d show disk-related process-info
-n show network-related process-info
-s show scheduling-related process-info
-v show various process-info (ppid, user/group, date/time)
-c show command line per process
-o show own defined process-info
-u show cumulated process-info per user
-p show cumulated process-info per program (i.e. same name)
-j show cumulated process-info per container/pod
-C sort processes in order of cpu consumption (default)
-M sort processes in order of memory consumption
-D sort processes in order of disk activity
-N sort processes in order of network activity
-E sort processes in order of GPU activity
specific flags for raw logfiles:
-w write raw data to file (compressed)
-r read raw data from file (compressed)
symbolic file: y[y...] for yesterday (repeated)
file name '-': read raw data from stdin
-S finish atop automatically before midnight (i.s.o. #samples)
-b begin showing data from specified date/time
-e finish showing data after specified date/time
interval: number of seconds (minimum 0)
samples: number of intervals (minimum 1)
If the interval-value is zero, a new sample can be
forced manually by sending signal USR1 (kill -USR1 pid_atop)
or with the keystroke 't' in interactive mode.
Please refer to the man-page of 'atop' for more details.
Options (47)
| Option | Description | Source |
|---|---|---|
-t | twin mode: live measurement with possibility to review earlier samples (raw file created in /tmp or in specific directory path) | help |
-B | show bar graphs for system statistics | help |
-H | show bar graphs without categories | help |
-G | show cgroup v2 metrics | help |
-7 | define cgroup v2 depth level -2 till -9 (default: -7) | help |
-V | show version information | help |
-a | show all processes and cgroups (i.s.o. | help |
-R | calculate proportional set size (PSS) per process | help |
-W | determine WCHAN (string) per thread | help |
-J | generate JSON output for specified label(s) | help |
-P | generate parsable output for specified label(s) | help |
-Z | no spaces in parsable output for command (line) | help |
-L | alternate line length (default 80) in case of non-screen output | help |
-z | prepend regex matching environment variables to command line WARNING: don't use this flag when writing (publicly readable) raw files! | help |
-i | UID/GID translation to full name (default column width is 8) | help |
-I | suppress UID/GID to name translation (show numbers instead) | help |
-k | try to connect to external atopgpud daemon (default: do not connect) | help |
-K | try to connect to netatop/netatop-bpf interface (default: do not connect) | help |
-f | show fixed number of lines with system statistics | help |
-F | suppress sorting of system resources | help |
-X | suppress terminated processes in output | help |
-l | show limited number of lines for certain resources | help |
-y | show threads within process | help |
-Y | sort threads (when combined with 'y') | help |
-1 | show average-per-second i.s.o. | help |
-x | no colors in case of high occupation | help |
-g | show general process-info (default) | help |
-m | show memory-related process-info | help |
-d | show disk-related process-info | help |
-n | show network-related process-info | help |
-s | show scheduling-related process-info | help |
-v | show various process-info (ppid, user/group, date/time) | help |
-c | show command line per process | help |
-o | show own defined process-info | help |
-u | show cumulated process-info per user | help |
-p | show cumulated process-info per program (i.e. same name) | help |
-j | show cumulated process-info per container/pod | help |
-C | sort processes in order of cpu consumption (default) | help |
-M | sort processes in order of memory consumption | help |
-D | sort processes in order of disk activity | help |
-N | sort processes in order of network activity | help |
-E | sort processes in order of GPU activity | help |
-w | write raw data to file (compressed) | help |
-r | read raw data from file (compressed) symbolic file: y[y...] for yesterday (repeated) file name '-': read raw data from stdin | help |
-S | finish atop automatically before midnight (i.s.o. | help |
-b | begin showing data from specified date/time | help |
-e | finish showing data after specified date/time | help |