ps -ef
show processes
ps aux
alternative version, useful for mem . info
top or htop (if installed)
show resources
ipcs -m
processes shared memory
kill <PID>
kill a process
lsof
tands for LiSt Open Files and shows open files and which process uses them
lsof -Pp <pid>
file list used by the process <pid>
lsof -Pp <pid> | grep log
search for the log related to <pid>
Comments