Solved

WebSphere Application Server JVM log path with by wsadmin

Posted on 2012-04-04
3
1,313 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
  • 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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Best Automatic build tool 3 96
How many GB is a good number to keep these databases? 6 178
2008R2 Windows Backup System State VSS Issue Ahsay OBM 8 412
PHP Curl Setup Option 4 70
Convert websphere application server default chained Certificates from 1024 to 2048 keysize or higher size and also you can change signatureAlgorithm . Please make sure Websphere Application Server fixpack 7.0.0.23 or Above. The following steps a…
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.
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

825 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