Linux process view

The command to view and use is ps, generally the parameter used is ps -aux

Command: ps –aux | grep xxx, for example, I see if there is sshd service

ps -aux | grep sshd

View parent process

ps -ef | more

View the parent process of a process

ps -ef | grep sshd

Published 48 original articles · Likes0 · Visits 282

Guess you like

Origin blog.csdn.net/qq_44971387/article/details/105360725