2014-04-16 22:07:55 +04:00
|
|
|
% DOCKER(1) Docker User Manuals
|
2014-07-01 06:58:04 +04:00
|
|
|
% Docker Community
|
|
|
|
% JUNE 2014
|
2014-04-16 22:07:55 +04:00
|
|
|
# NAME
|
2014-07-01 06:58:04 +04:00
|
|
|
docker-top - Display the running processes of a container
|
2014-04-16 22:07:55 +04:00
|
|
|
|
|
|
|
# SYNOPSIS
|
2014-07-01 06:58:04 +04:00
|
|
|
**docker top**
|
|
|
|
CONTAINER [ps OPTIONS]
|
2014-04-16 22:07:55 +04:00
|
|
|
|
|
|
|
# DESCRIPTION
|
|
|
|
|
|
|
|
Look up the running process of the container. ps-OPTION can be any of the
|
|
|
|
options you would pass to a Linux ps command.
|
|
|
|
|
2014-07-01 06:58:04 +04:00
|
|
|
# OPTIONS
|
2014-08-27 22:59:13 +04:00
|
|
|
There are no available options.
|
2014-07-01 06:58:04 +04:00
|
|
|
|
|
|
|
# EXAMPLES
|
2014-04-16 22:07:55 +04:00
|
|
|
|
|
|
|
Run **docker top** with the ps option of -x:
|
|
|
|
|
|
|
|
$ sudo docker top 8601afda2b -x
|
|
|
|
PID TTY STAT TIME COMMAND
|
|
|
|
16623 ? Ss 0:00 sleep 99999
|
|
|
|
|
|
|
|
|
|
|
|
# HISTORY
|
|
|
|
April 2014, Originally compiled by William Henry (whenry at redhat dot com)
|
2014-07-02 04:30:25 +04:00
|
|
|
based on docker.com source material and internal work.
|
2014-07-03 05:07:42 +04:00
|
|
|
June 2014, updated by Sven Dowideit <SvenDowideit@home.org.au>
|