PID Flashcards
ps
display all running processes on the system for any user
ps -a
ps
display user info for displayed processes
ps -u
ps
display processes with an associated tty (terminal)
ps -x
ps
will show all running processes by any user displaying the process owner and including processes not tied to a terminal
ps aux
ps
will show all running processes by any user displaying the process owner and including processes not tied to a terminal
ps -ef
pstree
display the tree using ASCII characters
ps -A
pstree
display the processes including any parameters used
ps -s
pstree
show PIDs
ps -p
free
displays memory in bytes
free -b
free –bytes
free
displays memory in kilobytes by default
free -k
free –kilo
free
displays memory in megabytes
free -m
free –mega
free
displays memory in gigabytes
free -g
free –giga
free
displays memory if a more human readable format
free -h
free –human
free
the number of times to display the output and must be used with -s option
free -c
free –count
free
how many seconds between each display output used with -c
free -s
free –seconds