Solved

WebSphere Application Server JVM log path with by wsadmin

Posted on 2012-04-04
3
1,395 Views
Last Modified: 2012-04-12
Is it possible to find the JVM log path for all the JVMs, nodeagent and DMGR using wsadmin script.

If yes I want to find the path separately  for :

JVMs
DMGR
NodeAgent

Thanks .
0
Comment
Question by:sunilsagar
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 41

Accepted Solution

by:
HonorGod earned 500 total points
ID: 37810514
Something like this perhaps?

wsadmin>for server in AdminConfig.list( 'Server' ).splitlines() :
wsadmin>    log = AdminConfig.list( 'TraceLog', server )
wsadmin>    name = AdminConfig.showAttribute( server, 'name' )
wsadmin>    logfile = AdminConfig.showAttribute( log, 'fileName' )
wsadmin>    print '%10s %s' % ( name, logfile )
wsadmin>
      dmgr ${LOG_ROOT}/dmgr/trace.log
 nodeagent ${LOG_ROOT}/${SERVER}/trace.log
   server1 ${SERVER_LOG_ROOT}/trace.log
wsadmin>

Open in new window

0
 

Author Closing Comment

by:sunilsagar
ID: 37837736
thanks so much .. it works ..
0
 
LVL 41

Expert Comment

by:HonorGod
ID: 37839268
Great!  I'm happy to hear it.

Thanks for the grade & points.

Good luck & have a great day.
0

Featured Post

Supports up to 4K resolution!

The VS192 2-Port 4K DisplayPort Splitter is perfect for anyone who needs to send one source of DisplayPort high definition video to two or four DisplayPort displays. The VS192 can split and also expand DisplayPort audio/video signal on two or four DisplayPort monitors.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Meet the world's only “Transparent Cloud™” from Superb Internet Corporation. Now, you can experience firsthand a cloud platform that consistently outperforms Amazon Web Services (AWS), IBM’s Softlayer, and Microsoft’s Azure when it comes to CPU and …
ADCs have gained traction within the last decade, largely due to increased demand for legacy load balancing appliances to handle more advanced application delivery requirements and improve application performance.
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.
Suggested Courses

617 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question