ps
Check running process
ps auxw | grep dockerd
Show PID process
ps e -ww -p2156
Show specific columns
ps axwwo pid,user,group,cmd --sort=command
ps show full process tree
ps -ef --forest
Kill name
pgrep -f vault | xargs kill
Process show most memory hungry
ps aux | awk '$11!~/\[*\]/ {print $6/1024" Mb --> "$11,$12,$13,$14}' | sort -g
Process show environment variables for a process
ps e -ww -p 28818
Show environment variables of process PID
strings /proc/<PID>/environ
Virtual memory
Virtual memory provides full address space to every process like it was the only process running on a machine with the size of RAM covering the whole address space.