github.com/containers/podman/v2@v2.2.2-0.20210501105131-c1e07d070c4c/docs/source/markdown/podman-pod-top.1.md (about) 1 % podman-pod-top(1) 2 3 ## NAME 4 podman\-pod\-top - Display the running processes of containers in a pod 5 6 ## SYNOPSIS 7 **podman pod top** [*options*] *pod* [*format-descriptors*] 8 9 ## DESCRIPTION 10 Display the running processes of containers in a pod. 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 you can specify options and/or additionally options of ps(1); in this case, Podman will fallback to executing ps with the specified arguments and options in the container. 11 12 ## OPTIONS 13 14 #### **--help**, **-h** 15 16 Print usage statement 17 18 #### **--latest**, **-l** 19 20 Instead of providing the pod name or ID, use the last created pod. 21 22 The latest option is not supported on the remote client. 23 24 ## FORMAT DESCRIPTORS 25 26 Please refer to podman-top(1) for a full list of available descriptors. 27 28 ## EXAMPLES 29 30 By default, `podman-pod-top` prints data similar to `ps -ef`: 31 32 ``` 33 $ podman pod top b031293491cc 34 USER PID PPID %CPU ELAPSED TTY TIME COMMAND 35 root 1 0 0.000 2h5m38.737137571s ? 0s top 36 root 8 0 0.000 2h5m15.737228361s ? 0s top 37 ``` 38 39 The output can be controlled by specifying format descriptors as arguments after the pod: 40 41 ``` 42 $ podman pod top -l pid seccomp args %C 43 PID SECCOMP COMMAND %CPU 44 1 filter top 0.000 45 1 filter /bin/sh 0.000 46 ``` 47 48 ## SEE ALSO 49 podman-pod(1), podman-top(1), ps(1), seccomp(2), proc(5), capabilities(7) 50 51 ## HISTORY 52 August 2018, Originally compiled by Peter Hunt <pehunt@redhat.com>