Reset Search
 

 

Article

Gathering Java memory statistics in linux shell for Extreme Management Center (XMC)

« Go Back

Information

 
TitleGathering Java memory statistics in linux shell for Extreme Management Center (XMC)
Objective
To gather Java Memory statistics to assist in troubleshooting issues with Extreme Management Center
Environment
  • XMC
  • Java
  • Extreme Management Center
Procedure
Gather the following
cat /var/run/nsserver.pid



Enter the following. This is the value for <pid>

cd /usr/local/Extreme_Networks/Netsight/java/bin
./jstat -gcmetacapacity <pid>
./jstat -gcutil <pid>

Sample output
 
root@xmc:/usr/local/Extreme_Networks/NetSight/java/bin$ cat /var/run/nsserver.pid
1587

root@xmc:/usr/local/Extreme_Networks/NetSight/java/bin$ ./jstat -gcmetacapacity 1587
   MCMN       MCMX        MC       CCSMN      CCSMX       CCSC     YGC   FGC    FGCT     GCT
       0.0  1372160.0   368344.0        0.0  1048576.0    46080.0   133     3    2.731    9.804

root@xmc:/usr/local/Extreme_Networks/NetSight/java/bin$ ./jstat -gcutil 1587
  S0     S1     E      O      M     CCS    YGC     YGCT    FGC    FGCT     GCT
  0.00  86.73  69.60  13.70  92.35  87.11    133    7.074     3    2.731    9.804



 
Additional notes

Feedback

 

Was this article helpful?


   

Feedback

Please tell us how we can make this article more useful.

Characters Remaining: 255