0a0dd116 |
% DOCKER(1) Docker User Manuals |
b07f1938 |
% Docker Community
% JUNE 2014 |
0a0dd116 |
# NAME |
b07f1938 |
docker-top - Display the running processes of a container |
0a0dd116 |
# SYNOPSIS |
b07f1938 |
**docker top** |
a2b529ea |
[**--help**] |
b07f1938 |
CONTAINER [ps OPTIONS] |
0a0dd116 |
# DESCRIPTION
|
1edc410e |
Display the running process of the container. ps-OPTION can be any of the options you would pass to a Linux ps command.
All displayed information is from host's point of view. |
0a0dd116 |
|
b07f1938 |
# OPTIONS |
a2b529ea |
**--help**
Print usage statement |
b07f1938 |
# EXAMPLES |
0a0dd116 |
Run **docker top** with the ps option of -x:
|
29d01b7d |
$ docker top 8601afda2b -x |
0a0dd116 |
PID TTY STAT TIME COMMAND
16623 ? Ss 0:00 sleep 99999
# HISTORY
April 2014, Originally compiled by William Henry (whenry at redhat dot com) |
fa29b1f0 |
based on docker.com source material and internal work. |
f8d9ecfb |
June 2014, updated by Sven Dowideit <SvenDowideit@home.org.au> |
f38232b4 |
June 2015, updated by Ma Shimiao <mashimiao.fnst@cn.fujitsu.com> |
1edc410e |
December 2015, updated by Pavel Pospisil <pospispa@gmail.com> |