Sunday, March 27, 2016

More of a rant vs a post

Just one thing to make things easy for you when trying to find out a list of java processes on your box is getting rid of redundant 'grep' command that is looking for 'java' process

so instead of listing all processes running and looking for 'java' one 

ps aex | grep java

use this!

ps aex | grep -v "grep" | grep java

No comments:

Post a Comment