2014-04-16 18:07:55 +00:00
|
|
|
% DOCKER(1) Docker User Manuals
|
2014-07-01 02:58:04 +00:00
|
|
|
% Docker Community
|
|
|
|
% JUNE 2014
|
2014-04-16 18:07:55 +00:00
|
|
|
# NAME
|
2014-07-01 02:58:04 +00:00
|
|
|
docker-top - Display the running processes of a container
|
2014-04-16 18:07:55 +00:00
|
|
|
|
|
|
|
# SYNOPSIS
|
2014-07-01 02:58:04 +00:00
|
|
|
**docker top**
|
2014-10-15 21:14:12 +00:00
|
|
|
[**--help**]
|
2014-07-01 02:58:04 +00:00
|
|
|
CONTAINER [ps OPTIONS]
|
2014-04-16 18:07:55 +00:00
|
|
|
|
|
|
|
# DESCRIPTION
|
|
|
|
|
2015-06-09 13:33:41 +00:00
|
|
|
Display the running process of the container. ps-OPTION can be any of the
|
2014-04-16 18:07:55 +00:00
|
|
|
options you would pass to a Linux ps command.
|
|
|
|
|
2014-07-01 02:58:04 +00:00
|
|
|
# OPTIONS
|
2014-10-15 21:14:12 +00:00
|
|
|
**--help**
|
|
|
|
Print usage statement
|
2014-07-01 02:58:04 +00:00
|
|
|
|
|
|
|
# EXAMPLES
|
2014-04-16 18:07:55 +00:00
|
|
|
|
|
|
|
Run **docker top** with the ps option of -x:
|
|
|
|
|
2015-03-26 18:12:37 +00:00
|
|
|
$ docker top 8601afda2b -x
|
2014-04-16 18:07:55 +00:00
|
|
|
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 00:30:25 +00:00
|
|
|
based on docker.com source material and internal work.
|
2014-07-03 01:07:42 +00:00
|
|
|
June 2014, updated by Sven Dowideit <SvenDowideit@home.org.au>
|
2015-06-09 13:33:41 +00:00
|
|
|
June 2015, updated by Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
|