Monitoring Mbeans on native JVM using jconsole


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Monitoring Mbeans on native JVM using jconsole
# 1  
Old 01-23-2008
Monitoring Mbeans on native JVM using jconsole

Hey folks

I have an MBean deployed to my native MBean Server. I got the pid for this using the jps utility.

Next, I ran the jconsole utility from command line (I am running on a windows box Smilie ).

However, I do not see the pid in the local agents tab for the jconsole app. Am I missing a point here?

Cheers

A
 
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

JVM Memory

Hi all, I am starting a JVM in unix and when I use ps command on the pid of process starting JVM the output is something like this :- java -Xms32M -Xmx64M -Xmx128M I need to know what would be the value of Xmx in this case. And how to check that this value be picked while starting JVM... (3 Replies)
Discussion started by: Raj999
3 Replies

2. Programming

Integrating Jconsole with Eclipse

Hi Guys, I was hoping someone has integrated Eclipse with jconsole to monitor their applications. I have not seen this in action . Any help is much appreciated http://images.devshed.com/fds/smilies/smile.gif Thanks (0 Replies)
Discussion started by: aish11
0 Replies

3. Shell Programming and Scripting

What's my JVM bitness?

/apps/wls/bea10/jdk160_05/bin/java -d64 -version execve(): No such file or directory Error trying to exec /apps/wls/bea10/jdk160_05/bin/sparcv9/java. Check if file exists and permissions are set correctly. Failed to start a 64-bit JVM process from a 32-bit JVM. Verify all necessary J2SE... (8 Replies)
Discussion started by: mohtashims
8 Replies

4. UNIX for Dummies Questions & Answers

Connecting JConsole to a Local Process

Why does jconsole doesn't need a username and password for connecting to a Local Process? (0 Replies)
Discussion started by: proactiveaditya
0 Replies

5. Web Development

need help about jvm

hi all i want to install apache and tomcat in unix solaris 10 so i need to konw about heap and jvm memory architecture in jdk version 4 and 5 and 6 i want one help me i searched alot and i can't find something helo me (1 Reply)
Discussion started by: maxim42
1 Replies

6. AIX

AIX JVM -32 or 64?

Friends, Can any one tell me what command should be used to check whether the JVM in AIX is 32 bit or 64 bit? Thanks, Govindh (2 Replies)
Discussion started by: Govindh.v
2 Replies

7. AIX

JVM Setting

What should be the idle JVM setting for the LPAR having 16 GB of memory? Currently the JVM setting is set to -Xms1024M -Xmx10240M (1 Reply)
Discussion started by: aajmani
1 Replies

8. UNIX for Advanced & Expert Users

inside the JVM

Hi, does anyone know how to find out what's happening inside a JVM on a unix system? Like what processes are running, which ports, memory usage etc. I'm using AIX 5.2 (1 Reply)
Discussion started by: rein
1 Replies

9. UNIX for Dummies Questions & Answers

Instaling JVM

Hi Everyone I`ve just started with unix can some please help me execute this command via webmin on avirtual server or how do you execute such .bin file this is the error ./j2sdk-1_3_1_15-linux-i586.bin: not found > ls -l total 69124 -rw------- 1 root wheel 8380 May 15 18:01... (2 Replies)
Discussion started by: J.Carlos MC05
2 Replies
Login or Register to Ask a Question
jhat(1) 						      General Commands Manual							   jhat(1)

NAME
jhat - Java Heap Analysis Tool SYNOPSIS
jhat [ options ] <heap-dump-file> PARAMETERS
options Options, if used, should follow immediately after the command name. heap-dump-file Java binary heap dump file to be browsed. For a dump file that contains multiple heap dumps, you may specify which dump in the file by appending "#<number> to the file name, i.e. "foo.hprof#3". DESCRIPTION
The jhat command parses a java heap dump file and launches a webserver. jhat enables you to browse heap dumps using your favorite web- browser. jhat supports pre-designed queries (such as 'show all instances of a known class "Foo"') as well as OQL (Object Query Language) - a SQL-like query language to query heap dumps. Help on OQL is available from the OQL help page shown by jhat. With the default port, OQL help is available at http://localhost:7000/oqlhelp/ There are several ways to generate a java heap dump: * Use jmap -dump option to obtain a heap dump at runtime; * Use jconsole option to obtain a heap dump via HotSpotDiagnosticMXBean @ http://java.sun.com/javase/6/docs/jre/api/management/extension/com/sun/management/HotSpotDiagnosticsMXBean.html at runtime; * Heap dump will be generated when OutOfMemoryError is thrown by specifying -XX:+HeapDumpOnOutOfMemoryError VM option; * Use hprof @ http://java.sun.com/developer/technicalArticles/Programming/HPROF.html. NOTE: This tool is experimental and may not be available in future versions of the JDK. OPTIONS
-stack false/true Turn off tracking object allocation call stack. Note that if allocation site information is not available in the heap dump, you have to set this flag to false. Default is true. -refs false/true Turn off tracking of references to objects. Default is true. By default, back pointers (objects pointing to a given object a.k.a refer- rers or in-coming references) are calculated for all objects in the heap. -port port-number Set the port for the jhat's HTTP server. Default is 7000. -exclude exclude-file Specify a file that lists data members that should be excluded from the "reachable objects" query. For example, if the file lists java.lang.String.value, then, whenever list of objects reachable from a specific object "o" are calculated, reference paths involving java.lang.String.value field will not considered. -baseline baseline-dump-file Specify a baseline heap dump. Objects in both heap dumps with the same object ID will be marked as not being "new". Other objects will be marked as "new". This is useful while comparing two different heap dumps. -debug int Set debug level for this tool. 0 means no debug output. Set higher values for more verbose modes. -version Report version number and exit. -h Output help message and exit. -help Output help message and exit. -J<flag> Pass <flag> to the Java virtual machine on which jhat is run. For example, -J-Xmx512m to use a maximum heap size of 512MB. SEE ALSO
* jmap - Java Memory Map * jconsole - Java Monitoring and Management Console * hprof - Heap and CPU profiling tool @ http://java.sun.com/developer/technicalArticles/Programming/HPROF.html 05 Aug 2006 jhat(1)