gitee.com/bomy/docker.git@v1.13.1/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  Display the running process of the container. ps-OPTION can be any of the options you would pass to a Linux ps command.
    15  
    16  All displayed information is from host's point of view.
    17  
    18  # OPTIONS
    19  **--help**
    20    Print usage statement
    21  
    22  # EXAMPLES
    23  
    24  Run **docker top** with the ps option of -x:
    25  
    26      $ docker top 8601afda2b -x
    27      PID      TTY       STAT       TIME         COMMAND
    28      16623    ?         Ss         0:00         sleep 99999
    29  
    30  
    31  # HISTORY
    32  April 2014, Originally compiled by William Henry (whenry at redhat dot com)
    33  based on docker.com source material and internal work.
    34  June 2014, updated by Sven Dowideit <SvenDowideit@home.org.au>
    35  June 2015, updated by Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
    36  December 2015, updated by Pavel Pospisil <pospispa@gmail.com>