Skip to content

Commit 8c5b9a9

Browse files
committed
Create ps -aux
1 parent 762d471 commit 8c5b9a9

File tree

1 file changed

+40
-0
lines changed

1 file changed

+40
-0
lines changed

ps -aux

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
2+
3+
In Linux the command:
4+
5+
ps -aux
6+
7+
Means show 'all processes for all users'. You might be wondering what the x means? The x is a specifier that means 'any of the users'. So you could type this:
8+
9+
ps -auroot
10+
11+
Which displays all the root processes, or
12+
13+
ps -auel
14+
15+
which displays all the processes from user el. The technobabble in the 'man ps' page is: "ps -aux prints all processes owned by a user named 'x' as well as printing all processes that would be selected by the -a option.
16+
17+
18+
19+
20+
$ ps aux
21+
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
22+
timothy 29217 0.0 0.0 11916 4560 pts/21 S+ 08:15 0:00 pine
23+
root 29505 0.0 0.0 38196 2728 ? Ss Mar07 0:00 sshd: can [priv]
24+
can 29529 0.0 0.0 38332 1904 ? S Mar07 0:00 sshd: can@notty
25+
26+
USER = user owning the process
27+
PID = process ID of the process
28+
%CPU = It is the CPU time used divided by the time the process has been running.
29+
%MEM = ratio of the process’s resident set size to the physical memory on the machine
30+
VSZ = virtual memory usage of entire process
31+
RSS = resident set size, the non-swapped physical memory that a task has used
32+
TTY = controlling tty (terminal)
33+
STAT = multi-character process state
34+
START = starting time or date of the process
35+
TIME = cumulative CPU time
36+
COMMAND = command with all its arguments
37+
38+
See the ps man page for more info.
39+
40+
More Info -> http://www.cyberciti.biz/faq/kill-process-in-linux-or-terminate-a-process-in-unix-or-linux-systems/

0 commit comments

Comments
 (0)