podman-top - Online Linux Manual PageSection : 1
NAMEpodman-top - Display the running processes of a container
SYNOPSISpodman top [options] container [format-descriptors] podman container top [options] container [format-descriptors]
DESCRIPTIONDisplay the running processes of the container. The format-descriptors are ps (1) compatible AIX format descriptors but extended to print additional information, such as the seccomp mode or the effective capabilities of a given process. The descriptors can either be passed as separated arguments or as a single comma-separated argument. Note that options and or flags of ps(1) can also be specified; in this case, Podman will fallback to executing ps with the specified arguments and flags in the container. Please use the "h*" descriptors to extract host-related information. For instance, podman top $name hpid huser to display the PID and user of the processes in the host context.
OPTIONS
--help, -hPrint usage statement
--latest, -lInstead of providing the container name or ID, use the last created container. Note: the last started container could be from other users of Podman on the host machine. (This option is not available with the remote Podman client, including Mac and Windows (excluding WSL2) machines)
FORMAT DESCRIPTORSThe following descriptors are supported in addition to the AIX format descriptors mentioned in ps (1): args, capbnd, capeff, capinh, capprm, comm, etime, group, hgroup, hpid, huser, label, nice, pcpu, pgid, pid, ppid, rgroup, ruser, seccomp, state, time, tty, user, vsz capbnd Set of bounding capabilities. See capabilities (7) for more information. capeff Set of effective capabilities. See capabilities (7) for more information. capinh Set of inheritable capabilities. See capabilities (7) for more information. capprm Set of permitted capabilities. See capabilities (7) for more information. hgroup The corresponding effective group of a container process on the host. hpid The corresponding host PID of a container process. huser The corresponding effective user of a container process on the host. label Current security attributes of the process. seccomp Seccomp mode of the process (i.e., disabled, strict or filter). See seccomp (2) for more information. state Process state codes (e.g, R for running, S for sleeping). See proc(5) for more information. stime Process start time (e.g, "2019-12-09 10:50:36 +0100 CET).
EXAMPLESBy default, podman-top prints data similar to ps -ef: $ podman top f5a62a71b07
USER PID PPID %CPU ELAPSED TTY TIME COMMAND
root 1 0 0.000 20.386825206s pts/0 0s sh
root 7 1 0.000 16.386882887s pts/0 0s sleep
root 8 1 0.000 11.386886562s pts/0 0s vi
The output can be controlled by specifying format descriptors as arguments after the container: $ podman top -l pid seccomp args %C
PID SECCOMP COMMAND %CPU
1 filter sh 0.000
8 filter vi /etc/ 0.000
Podman will fallback to executing ps(1) in the container if an unknown descriptor is specified. $ podman top -l -- aux
USER PID PPID %CPU ELAPSED TTY TIME COMMAND
root 1 0 0.000 1h2m12.497061672s ? 0s sleep 100000
SEE ALSOpodman(1), ps(1), seccomp(2), proc(5), capabilities(7)
HISTORYJuly 2018, Introduce format descriptors by Valentin Rothberg vrothberg@suse.com ⟨mailto:vrothberg@suse.com⟩ December 2017, Originally compiled by Brent Baude bbaude@redhat.com ⟨mailto:bbaude@redhat.com⟩ 0
Johanes Gumabo
Data Size : 16,953 byte
man-podman-top.1Build : 2024-12-29, 07:25 :
Visitor Screen : x
Visitor Counter ( page / site ) : 3 / 260,215
Visitor ID : :
Visitor IP : 18.191.67.90 :
Visitor Provider : AMAZON-02 :
Provider Position ( lat x lon ) : 39.962500 x -83.006100 : x
Provider Accuracy Radius ( km ) : 1000 :
Provider City : Columbus :
Provider Province : Ohio , : ,
Provider Country : United States :
Provider Continent : North America :
Visitor Recorder : Version :
Visitor Recorder : Library :
Online Linux Manual Page : Version : Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.29
Online Linux Manual Page : Library : lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page : Library : lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base : Version : Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base : Library : lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36
Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.