Oracle Fusion Middleware Blog
A site for thoughts and discussions on fusion middleware(SOA,OSB,OAM,IDM,OHS,Weblogic & Apache)
Monday, July 20, 2015
Check allocated memory to JVM's running on a server.
How to check memory allocated to JVM's running on a server using awk:
echo $(ps -eaf | grep Xms | awk -F'Xms' '{print $2}' | awk '{print $1}' | tr -d '[:alpha:]' | tr -d '[:punct:]') | sed 's/\ /+/g' | bc -l
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment