The ps
command is used to display the process status of the current system. It is the most basic and very powerful process viewing command. It can be used to determine which processes are running and their running status, whether the process is terminated, whether the process is dead, which processes are taking up too many resources, etc.
Syntax format: ps [parameter]
Common parameters:
Example
# 列出所有进程ps -aux # 过滤nginx进程ps ax | grep nginx
This article is reproduced from https://xugaoxiang.com/2022/06/15/linux%E5%B8%B8%E7%94%A8%E5%91%BD%E4%BB%A4-55%EF%BC%9Aps/
This site is for inclusion only, and the copyright belongs to the original author.