![]() The process selection to include processes on other terminals (TTYs) The use of BSD-style options will also change You can override this with the PS_FORMATĮnvironment variable. The default display and show the command args (args=COMMAND) instead The use of BSD-style options will add process state (stat=STAT) to Hh:mm:ss format (time=TIME), and the executable name (ucmd=CMD). It displays the process ID (pid=PID), the terminalĪssociated with the process (tname=TTY), the cumulated CPU time in (euid=EUID) as the current user and associated with the same terminalĪs the invoker. See the c option, the format keyword args, andĮ Show the environment after the command.Ĭlearly, you're not selecting all processes using the ef options, but are using the default listing of processes, plus some additional formatting: By default, ps selects all processes with the same effective user ID L, the NLWP (number of threads) and LWP (thread ID) columns It alsoĬauses the command arguments to be printed. Other UNIX-style options to add additional columns. These are different (sections SIMPLE PROCESS SELECTION, OUTPUT FORMAT CONTROL and OUTPUT MODIFIERS respectively): -e Select all processes. So, ef uses the BSD e and f options, and -ef uses the Unix -e and -f options. Man ps says: This version of ps accepts several kinds of options:ġ UNIX options, which may be grouped and must be preceded by aĢ BSD options, which may be grouped and must not be used with aģ GNU long options, which are preceded by two dashes.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |