How can I find out what java programs are running in linux
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Michael_Tholkes
Posted On:   Tuesday, April 24, 2001 12:00 PM

I'm new to linux and I'm trying to figure out how to tell what java programs are running from the command prompt.

I know how to see what processes are running, but they all reference the jre. I would like to know which java programs are running in particular.

Any help is appreciated, Thanks,

Mike

Re: How can I find out what java programs are running in linux

Posted By:   AlessandroA_Garbagnati  
Posted On:   Tuesday, April 24, 2001 12:32 PM

Michael,

try with additional options on the ps command, eventually with the help of grep. This is what I use just to have an idea of how many java process I'm running on my system:

ps fax | grep java | wc -l

If you take off the 'wc -l' you should have a list of all the process that contains the word 'java'. Maybe in your case you need to change that word. And, probably, if you want the entire command line, you need to increase the number of columns for the display (i.e.: ps fax --cols=400)
About | Sitemap | Contact