![]() It is usually accompanied by option u in this manner: ps -ux You can find a detailed table in the man page of the ps command.īut you’ll rarely see ps command used with just option x. The STAT in the above output means Process State Codes. I have truncated the output because it had hundreds of lines: PID TTY STAT TIME COMMANDĢ245 ? S 0:00 /usr/bin/ssh-agent -D -a /run/user/1000/keyring/.sshģ039 ? Ss 0:00 /lib/systemd/systemd -userģ054 ? SLl 0:01 /usr/bin/gnome-keyring-daemon -daemonize -loginģ059 tty2 Ssl+ 0:00 /usr/lib/gdm3/gdm-x-session -run-script env The – before option x is optional, but the general Linux convention is to use – before options, so I advise you to keep on following it. The x option will display all the processes even if they are not associated with current tty (terminal type) or if they don’t have a controlling terminal (like daemons). If you want to see all the processes run by you, you can use the ps command with options x like this: ps -x ![]() ![]() Let’s see some better examples of the ps command: 1. Now, this doesn’t really provide any real, useful information.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |