How to list processes?

Discussion in 'Command Line' started by carbon333, Feb 16, 2012.

  1. carbon333

    carbon333 New Member

    Messages:
    87
    Likes Received:
    6
    Trophy Points:
    0
    You can do this by typing:

    ps aux


    in the terminal.
  2. bashcommando

    bashcommando Active Member

    Messages:
    135
    Likes Received:
    32
    Trophy Points:
    28
    top
    or
    htop
    Works well too
  3. Yitao Li

    Yitao Li New Member

    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    It depends on which UNIX you are using...

    "ps aux" would be the BSD syntax -- "a" for "all processes", "u" for "user format, "x" for lifting the "must have a tty" restriction

    "ps -ef" would be the Unix98 syntax -- "-e" for selecting all processes, "-f" for full-format listing.

    If I remember correctly : FreeBSD, OpenBSD, and NetBSD would support the BSD syntax only, while many other distributions would support both types of syntaxes.
    Last edited: Jul 6, 2014

Share This Page