JMX monitoring on unix server


 
Thread Tools Search this Thread
Top Forums Programming JMX monitoring on unix server
# 1  
Old 10-06-2011
JMX monitoring on unix server

Hi All,

I am new to JMX.Can anybody tell me how to use this it on unix server.

Using JMX i want to check the system monitoring(%cpu utilization , size utilization )how to start JMX on UNIX


Thanks

Moderator's Comments:
Mod Comment Double post, continued

Last edited by vbe; 10-07-2011 at 08:54 AM..
# 2  
Old 10-07-2011
Because of JMX is part of Java and runs inside a Java Virtual Machine, there should be no problem to start JMX in the same way like you do on windows.

Maybe you could tell some more infos what you exactly want to do? Or, how you are trying to start and what exactly you are "starting"
# 3  
Old 10-10-2011
Hi spidi4u,

AS i googled , found that we are using JMX for the monitoring purpsoe.

on unix server , using unix commands i am trying to monitor %cpu for each processid

EgSmilierocess id 3456 -takes 78% of cpu
using unix "top" command i can find the %cpu utilization

but i want to know again detailed reasons, means where we need 78%
exactly

Eg :from 78 % , 20%...is fror some reasons 30 % is for ...
28% is ...

but want to know that wheter there is a programm for this , or how can we do the same on servers using JMX.

using JMX i want monitor size utilization , time utilization , %cpu ,%mem


please help me to start this, give me some simple examples.
# 4  
Old 10-10-2011
ah ok i see, so your problem isnīt really JMX. Your real problem is a good UNIX command which gives you detailed information about CPU/Mem Usage.

Ok I think we can find som solution for that, but please excuse Iīm also no Unix pro at all...
Could you tell me what kind of UNIX you are using? If we find a good UNIX command, there should be no problem to use this with JMX Smilie

---------- Post updated at 10:23 ---------- Previous update was at 08:56 ----------

to my mind, if you type "top" there should be a table summary of all pids and there should also be a column of %cpu and %mem... isnt it?

just looks like that:

Image
source: cyberciti.biz
# 5  
Old 10-11-2011
what u have said is right.


but from business perspective, we can find some cpu utilization only using with JMX not unix. I also dont know how to use that.

so need one simple example of JMX . so that i can improve in it.
# 6  
Old 10-11-2011
ah ok... so plz tell me, how you are using JMX... do you use that jconsole or do you use it on command-line? I still remember JMX just starts with a MBean right? and then you use that MBean with any visulization... maybe also a http-connector or the jconsole...

Could you plz post that MBean which you are using? the code of it. I guess its something that simply executes a command in shell or cmd or whatever on the target host. Right?

---------- Post updated at 12:07 ---------- Previous update was at 12:04 ----------

sorry i guess i misunderstood your last question... do you have any JMX running? Or are you still trying to find out how JMX works? Do you need a tutorial?
# 7  
Old 10-11-2011
I dont have any JMX running.I got some points from google about Mbean and all... but it just information for me, practically dont know. better to give me some easy tutorial. I want to know how JMX works

Thanks

---------- Post updated at 05:30 AM ---------- Previous update was at 05:24 AM ----------

I have just tried one simple command

Code:
 jconsole 4882
-bash: jconsole: command not found


i also want to know the difference between jconsole and JMX
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Infrastructure Monitoring

Tuxedo server monitoring

Hi I like to use tmadmin commands to monitor running application in tuxedo server 12c.But When i use tmadmin help command i get only meta commands.But i like to check printconn,printclient,printserver like that.But these commands are not avaialble in list.I here pasted the help command... (0 Replies)
Discussion started by: selva1587
0 Replies

2. UNIX for Dummies Questions & Answers

Server Monitoring Suggestions

Hi all - newb here. We're a Windows shop and I'm looking for something that I could stand up to monitor various aspects of our servers. I'm specifically looking for something that can: verify that servers are up verify services are up verify remote sites are up/accessible monitor CPU &... (2 Replies)
Discussion started by: Phylum
2 Replies

3. UNIX and Linux Applications

JMX Client -MalformedURLException

Hi I am writing a JMX client to fetch the MBeans and its attributes. i am able to display weblogic MBeans using the following code snippet. But my requirement is it should run on Unix box. I copied same client onto unix, then i am getting the following error. ... (1 Reply)
Discussion started by: tripleM
1 Replies

4. Programming

JMX Client MalformedURLException

Hi I am writing a JMX client to fetch the MBeans and its attributes. i am able to display weblogic MBeans using the following code snippet. But my requirement is it should run on Unix box. I copied same client onto unix, then i am getting the following error. ... (0 Replies)
Discussion started by: tripleM
0 Replies

5. Shell Programming and Scripting

JMX monitoring on UNIX

Hi All, I am new to JMX.Can anybody tell me how to use this it on unix server. Using JMX i want to check the system monitoring(%cpu utilization , size utilization )how to start JMX on UNIX Thanks (3 Replies)
Discussion started by: aish11
3 Replies

6. Infrastructure Monitoring

Monitoring Solaris 10 Server

Hi, We user What's Up Gold tool for monitoring the WIndows servers. My idea is to add my Solaris 10 server to this monitoring tool. Is it feasible? If yes, can somebody help in configuring the server onto the tool? My current solaris 10 server is i86pc, and has SNMP daemons running. the... (0 Replies)
Discussion started by: EmbedUX
0 Replies

7. Shell Programming and Scripting

Help me monitoring the IO for remote server

Hi guys i have purchased sun server for my visualization project. Request you to help me finding the io for disk . I have put storage(disks) on different location (File Server) and on server (Application) i have configured 4 virtual machines. How would i monitor the io for file server from... (0 Replies)
Discussion started by: pinga123
0 Replies

8. Shell Programming and Scripting

Error in script to automate the daily monitoring process of UNIX server and it's proc

hi friends, I am trying to automate the daily monitoring process of UNIX server and it's processes. the script are below i executed the above script using ksh -x monitortest1.sh in root login . It shows error at some lines . 1. i logged in using root ,but it... (8 Replies)
Discussion started by: rdhaprakasam
8 Replies

9. Shell Programming and Scripting

Linux Server Monitoring Script !!!

I am the Linux Admin in my organisation and need to write a shell script which will monitor the machine statistics every day and will send a consolidated report to me on my email id / will display the output into a file. Does anyone have such kind of script fulfilling this kind of purpose? ... (4 Replies)
Discussion started by: csaha
4 Replies

10. UNIX for Advanced & Expert Users

monitoring server

Hello, I work with 4 flavour of UNIX ( AIX, IRIX, HPUX and SUN). I have a problem maintaing the system. can any one let me know of the software or script that will check the date,time services running or not, perticular machine is up or not and post a mail with all the details. It... (3 Replies)
Discussion started by: pradeepmacha
3 Replies
Login or Register to Ask a Question