PS aux | grep XXX Query Process
Ps a shows all programs under the current terminal, including those of other users.
PS-A shows all programs.
When listing programs in ps c, the real command name of each program is displayed without the path, parameter, or resident service identifier.
The effect of this parameter is the same as that of the specified "A" parameter.
When listing programs, PS e displays the environment variables used by each program.
Ps f uses ASCII characters to display the tree structure and express the relationship between programs.
The PS-H tree structure is displayed, indicating the relationship between programs.
PS-N displays all programs except the programs under the ps command terminal.
PS uses the program signal format to display the program status.
When listing programs in PS, it includes interrupted subroutines.
PS-T <terminal number> specifies the terminal number and lists the program status of the terminal.
Ps u displays the program status in user-based format.
Ps x shows all programs, not distinguished by terminals.
Kill-9 XXX kill the process
Centos query and kill Processes