WebSphere Application Server & Liberty

WebSphere Application Server & Liberty

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
Expand all | Collapse all

how to know server heap size by using wsadmin command?

saravana kumar

saravana kumar04/03/13 12:10 PM

  • 1.  how to know server heap size by using wsadmin command?

    Posted 03/30/13 09:17 AM
    how to find out server heap size using wsadmin.


  • 2.  how to know server heap size by using wsadmin command?

    Posted 04/02/13 05:29 PM
    Hi saravana,

       # Usage: wsadmin -f getJvmHeap.py server

       server
    = AdminConfig.getid('/Server:'+sys.argv[0]+'/')
       jvm
    = AdminConfig.list('JavaVirtualMachine', server)
       print
    'initialHeapSize: ' + AdminConfig.showAttribute(jvm, 'initialHeapSize')
       print
    'maximumHeapSize: ' + AdminConfig.showAttribute(jvm, 'maximumHeapSize')

    Regards


  • 3.  how to know server heap size by using wsadmin command?

    Posted 04/03/13 12:10 PM
    thank you Gabriel.