top -H -p 3756
时间: 2023-03-14 17:26:14 浏览: 154
Top.h
The "top" command is used to display system resource usage on a Linux or Unix system. The "-H" option tells top to display individual threads rather than summary information for each process, and the "-p" option specifies the process ID to monitor.
So the command "top -H -p 3756" will display information about all the threads belonging to the process with ID 3756. This information will include the process ID, thread ID, CPU usage, memory usage, and other details.
While top is running, you can use various keys to interact with it, such as:
- Press "q" to quit top.
- Press "k" to send a signal to the selected process (e.g., to kill it).
- Press "H" to toggle thread display on and off.
- Press "+" or "-" to adjust the refresh interval.
- Press "f" to open the "Fields Management" screen, where you can select which columns to display.
- Press "F" to select a sort field.
阅读全文