Useful shortcuts for vi editor

Wednesday, 20 January 2016

How to find pid by process name in Linux?

find pid;
$ ps -ef | grep oracle
oracle  3002 /oracle/app/product/11g/db/jdk/bin/java -server -Xmx384M ....

to follow up;
$ top -p 3002