GeeCON Prague 2014*
The moose likes Java in General and the fly likes No.of JVMs in one physical Machine Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Java in General
Bookmark "No.of JVMs in one physical Machine" Watch "No.of JVMs in one physical Machine" New topic
Author

No.of JVMs in one physical Machine

Venkateswara Rao
Greenhorn

Joined: Oct 20, 2001
Posts: 24
Hi,
I would like to know how many JVMS are working in one physical machine. Is there any commonad to get No.of JVMs.
Thanks
cvrao
Jon Strayer
Ranch Hand

Joined: Dec 04, 2002
Posts: 133
Originally posted by Venkateswara Rao:
Hi,
I would like to know how many JVMS are working in one physical machine. Is there any commonad to get No.of JVMs.
Thanks
cvrao

ps -leaf | grep java | grep -v grep | wc -l
[ June 16, 2003: Message edited by: Jon Strayer ]

Jon
Shailesh Modi
Greenhorn

Joined: Sep 27, 2002
Posts: 10
and on windows , how to know number of jvms??


Shailesh Modi, SCJP 2
It is not what the computer can do, it is what YOU can do with it
Samiul Karim
Greenhorn

Joined: Sep 30, 2002
Posts: 9
Look for java.exe in the Processes tab of Task Manager
Jim Scorpions
Greenhorn

Joined: Dec 13, 2002
Posts: 4
If I want to get the No. of JVM in my java program,how can I do it?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: No.of JVMs in one physical Machine