Process

Introduction

This command list processes on the agent

Usage

Usage: orxray process ACTION [OPTIONS]

ACTIONS:
    list

GLOBAL OPTIONS:
    --help
    --config                           specify config file, default is ~/.orxray/config.

List processes

This subcommand list all the processes on agent you specified.

Usage

Usage: orxray process list [OPTIONS]

OPTIONS:
    -a, --agent                        agent id, or use default agent.

GLOBAL OPTIONS:
    --help
    --config                           specify config file, default is ~/.orxray/config.

-s, --page-size integer

Specify the maximum number of data to be displayed, the default is 20

Example

1. list process on default agent

$ orxray process list 
PID     EXE                                             CPU     CPU TIME        MEMORY  RSS(KB) VSZ(KB) USER    
1       /usr/lib/systemd/systemd                                00:00:52                4584    126172  root    
4265    /opt/kube/bin/containerd-shim                           00:00:08                6700    108716  root    
52725   /usr/local/openresty-postgresql12/bin/postgres          00:00:22        0.2%    17360   314184  postgres
486     /usr/lib/systemd/systemd-journald                       00:00:43        0.6%    53648   110284  root    
52729   /usr/local/openresty-postgresql12/bin/postgres          00:00:05        0.1%    12356   314348  postgres
4795    /usr/sbin/nginx                                         00:00:00                2800    32624   root    
102937  /usr/local/openresty-postgresql12/bin/postgres          00:00:27        0.2%    18272   321052  postgres
...