0
Linux常用命令-55:ps
source link: https://xugaoxiang.com/2022/06/15/linux%e5%b8%b8%e7%94%a8%e5%91%bd%e4%bb%a4-55%ef%bc%9aps/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
ps
命令用于显示当前系统的进程状态。它是最基本的同时也是非常强大的进程查看命令,使用它可以确定哪些进程正在运行和运行的状态、进程是否结束、进程有没有僵死、哪些进程占用了过多的资源等。
语法格式:ps [参数]
常用参数:
# 列出所有进程
ps -aux
# 过滤nginx进程
ps ax | grep nginx
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK