If you call the top command, you get all the running processes. But how can I limit the output only to a certain process name like \"java\"?
I\'ve
I run it (eg.): top -b | egrep -w 'java|mysqld'
top -b | egrep -w 'java|mysqld'