Htop
Interactive commands:
U: Filter only shows the process of the selected user;
S: Tracks the system calls initiated by the selected process;
L: Displays the files opened by the selected process;
T: Displays the hierarchy of processes;
A: Sets the CPU affinity of the process; (binds the selected process to the specified CPU)
Options:
-D #: Delay duration
-U USERNAME: Displays only the process of the specified user;
-S COLUMN: Sorts according to the specified field;
Glances:
glances [-BDEHMNRSVYZ1] [-B bind] [-C Server] [-C conffile] [-P port] [-p password] [--password] [-t refresh] [-f file] [- O Output]
Common options:
-B: Display the data exchange rate of the network card device in BYTE/S;
-D: Turn off the disk I/O function module;
-f/path/to/somefile: Set the location and format of the output file;
-O {html| CSV}:
-M: Turn off the Mount function module
-N: Turn off network function module
-r: Close Process List Function module
-T #: Specifies the length of the delay, which defaults to 3 seconds;
-1: Display each CPU related load data information separately;
Glances supports remote mode:
That can work in C/s mode:
Server: Start glances in listening mode;
Client: Start glances in remote mode, connect to the specified server remotely, and correlate data on server;
Service mode:
Glances-s-B ipaddr
-B: Used to indicate the local address of the listener;
Client mode:
Glances-c ipaddr
-C: The address of the server used for the connection;
Dstat: Integrates the functions of the Vmstat, Iostat, Netstat and ifstat four tools;
Dstat [-AFV] [options:] [Delay [Count]]
-C: Displays statistical data related to CPU performance indicators;
-D: Show disk-related rate data;
-G: Displays page-related rate data;
-I: Show interrupt related rate data;
-L: Displays statistics related to load average;
-M: Display memory related statistics;
-N: Shows the rate of data sent and received by the network;
-P: Displays process-related statistics,
The rate of-r:io requests;
-S: Show data about swap
-Y: Displays system-related data, including interrupts and process switching;
--TOP-CPU: Displays the most CPU-intensive processes;
--top-bio: Shows the process that consumes block IO most;
--top-io: The most IO-intensive process;
--top-mem: Shows the most memory-intensive processes;
--IPC: Shows the rate data related to interprocess communication;
--raw: Displays data related to raw sockets;
--TCP: Displays data related to TCP sockets;
--UDP: Displays data related to UDP sockets;
--unix: Displays statistics related to UNIX sock interfaces;
--socket:
-A:-cdngy
The use of process management tools htop/glances/dstat;