Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
Home
Help
Search
Calendar
Login
Register
Openideas.info
|
Pandora FMS
|
Community general support
|
Help for new users in Pandora FMS
|
How can I monitor if a specific Java program is running or not? (Windows.)
Pages: [
1
]
Go Down
« previous
next »
Print
Author
Topic: How can I monitor if a specific Java program is running or not? (Windows.) (Read 305 times)
0 Members and 2 Guests are viewing this topic.
GunnarHovmark
Newbie
Karma: 0
Offline
Posts: 4
How can I monitor if a specific Java program is running or not? (Windows.)
«
on:
September 27, 2011, 11:53:51 AM »
I have a number of Java programs that must be active for my system to work, but I can't figure out an easy way to monitor if a specific Java program is running or not. Can somebody help me?
Thanks in advance.
Logged
alumbreras
Sr. Member
Karma: 5
Offline
Posts: 108
Re: How can I monitor if a specific Java program is running or not? (Windows.)
«
Reply #1 on:
September 27, 2011, 12:22:22 PM »
Hi GunnarHovmark,
If your OS is linux you can do with the next module:
Code:
module_exec ps -Af | grep process_name | grep -v "grep" | wc -l
in windows i guess that you can do it but i don't know.
thanks
Logged
GunnarHovmark
Newbie
Karma: 0
Offline
Posts: 4
Re: How can I monitor if a specific Java program is running or not? (Windows.)
«
Reply #2 on:
September 29, 2011, 02:07:18 PM »
I guess the most similar thing to that in Windows would be to check what processes I have running, but there I can only see if Java is running or not. I can't figure out a way (at least not an easy way) to see what's running inside the Java virtual machine.
Logged
daniels
Smart member
Karma: 19
Offline
Posts: 205
Re: How can I monitor if a specific Java program is running or not? (Windows.)
«
Reply #3 on:
October 27, 2011, 03:33:44 PM »
I use jps in linux to know wich jvm I want to monitor... I think this could work in windows too:
http://download.oracle.com/javase/1.5.0/docs/tooldocs/share/jps.html
I hope this helps.
Regards.
Logged
Pages: [
1
]
Go Up
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
Pandora FMS
-----------------------------
=> Announcements and news
=> Suggestions and new feature request
=> F for Flexible... or awesome ideas using Pandora FMS
=> Community general support
===> Español / Spanish forum
===> Help for new users in Pandora FMS
===> Advanced troubleshooting and problems
===> 日本語フォーラム / Japanese forum
===> Development lists (Read only)
-----------------------------
General Category
-----------------------------
=> Epic Tunnelizer
=> Lechuga CMS
=> Sysadmin tools
=> General monitoring discussion
=> Openideas General Forums
===> Linux systems
===> Unix systems
=> Babel Enterprise
=> Integria IMS
=> phpRADmin
Loading...