Getting Java program info on Solaris 10

If you have a Java application running and want to get the program arguments in a simplest possible way on Solaris 10.

for example if your java process id is 18346

bash-3.00$ jps
56286 Jps
18346 Test
bash-3.00$ pargs 18346
18346: ./java -XX:+UseSerialGC Test
argv[0]: ./java
argv[1]: -XX:+UseSerialGC
argv[2]: Test

to get heap usage
Use ptools with egrep.


bash-3.00$ pmap 18346 | egrep "heap|total"
00032000 56K rwx-- [ heap ]
00040000 3840K rwx-- [ heap ]
00400000 86016K rwx-- [ heap ]
total 178056K

Comments:

For men, these are available in tans, blacks, chestnuts and are designed for style and comfort.

Posted by ugg boots uk on October 18, 2009 at 12:58 AM IST #

When I forwarded my mom the email I sent the editor at Juxtapoz, she said,"some artists think that you have to be offensive to be edgy and provocative when really it just takes more thought and imagination to do it without being offensive."

Posted by ugg boots on November 09, 2009 at 12:13 PM IST #

Post a Comment:
  • HTML Syntax: NOT allowed
About

I am Vikram Aroskar working in the Java team based out of India.

Search

Categories
Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today