• See currently running processes:
ps axf
• See currently logged in users:
who
• Review process usages in live mode:
top # Use q to exit the program
• Stop a process (default signal is 15 (TERM), 9 (KILL) will kill without letting the process close files descriptors/connections, etc):
kill [-<SIGNAL>] <PID>
killall [-<SIGNAL>] <process name>
• Check which process is using files (i.e. mounted locations):
fuser –u -m <path>
• Kill all the programs using a given path:
fuser –k [-<SIGNAL>] -m <path> # If not signal provided, it will send 9.