ps命令

[ps命令]

  man上写到,使用ax/axu来查看当前系统上所有的进程.

  

  其中, 单独使用a意味着列出所有与terminal关联的进程, 与x组合,则意味着显示本机所有进程.

    this option causes ps to list all processes with a terminal (tty), or to list all processes when used together with the x option.

  另外, 单独使用x意味着列出你的所有进程, 与a组合,则意味着显示本机所有进程.

    this option causes ps to list all processes owned by you (same EUID as ps), or to list all processes when used together with the a option.

  最后, u意味着按用户友方的方式显示

    

  所以, 需要记住的是, ps ax/aux 查看当前系统所有进程.

你可能感兴趣的:(命令)