[Linux command] top command

1. Introduction

The top command is a commonly used performance analysis tool under Linux. It can display the resource occupancy status of each process in the system in real time, and is often used for server performance analysis.

2. Use

1. View the thread situation in the process

top -Hp 2556 (2556 is the process number)
to find the thread number that occupies the longest CPU time

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325266955&siteId=291194637