Process Commands

ps //current session processes
ps -ef //list of all processes
ps -ef|grep postgres //list the postgres process
ps -ef|grep pmon //list the oracle process
ps -ef|grep mariadb //list the mariadb process
ps -ef|grep mysql //list the oracle process
pstree //Display a tree of running processes.
kill -9 2342 //Terminate a process(2342 is pid)
top //Display a dynamic real-time view of a running linux kernel.
cat /proc/cpuinfo //display the cpu information
cat /proc/meminfo //display the memory information

Comments