github.com/guilhermebr/docker@v1.4.2-0.20150428121140-67da055cebca/docs/man/docker-top.1.md (about)

     1  % DOCKER(1) Docker User Manuals
     2  % Docker Community
     3  % JUNE 2014
     4  # NAME
     5  docker-top - Display the running processes of a container
     6  
     7  # SYNOPSIS
     8  **docker top**
     9  [**--help**]
    10  CONTAINER [ps OPTIONS]
    11  
    12  # DESCRIPTION
    13  
    14  Look up the running process of the container. ps-OPTION can be any of the
    15   options you would pass to a Linux ps command.
    16  
    17  # OPTIONS
    18  **--help**
    19    Print usage statement
    20  
    21  # EXAMPLES
    22  
    23  Run **docker top** with the ps option of -x:
    24  
    25      $ docker top 8601afda2b -x
    26      PID      TTY       STAT       TIME         COMMAND
    27      16623    ?         Ss         0:00         sleep 99999
    28  
    29  
    30  # HISTORY
    31  April 2014, Originally compiled by William Henry (whenry at redhat dot com)
    32  based on docker.com source material and internal work.
    33  June 2014, updated by Sven Dowideit <SvenDowideit@home.org.au>