Linux query running processes

  1. show all processes ps a

    Show all programs under the same terminal ps -a

    Linux query running processes
  2. Display the relevant processes of the effective user ps -u

    Linux query running processes
  3. List more complete information ps -x

    Linux query running processes
  4. Query all process data of the system ps aux

    Linux query running processes
  5. View processes not related to terminal ps ax

    Linux query running processes
  6. View the same part of the process tree status ps axjf

    Linux query running processes
  7. ps can be queried in combination with grep

    For example: ps -ef | grep java means to view the process information of all processes whose CMD is java, etc.

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325951358&siteId=291194637