Home  >  Article  >  Operation and Maintenance  >  What is the linux process viewing command?

What is the linux process viewing command?

藏色散人
藏色散人Original
2020-02-13 10:31:076606browse

What is the linux process viewing command?

What is the Linux process viewing command?

ps command

-a, view all

-u, display in user format

-x, display background The process running parameter

-ef displays all the information of the process in full format, including the parent process Pid, ​​creator, creation time, and process number. Wait

In general projects, we first need to query a process and delete it using the command

ps -a | grep helloworld or

ps -ef |grep helloworld or other

query helloworld related processes, we use the kill command to operate the process number to delete the process, kill -9 13492

Recommended: " Linux tutorial

The above is the detailed content of What is the linux process viewing command?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn