| Author |
Message
|
| jeevan |
Posted: Wed Feb 08, 2006 12:19 pm Post subject: trace in AIX |
|
|
Grand Master
Joined: 12 Nov 2005 Posts: 1432
|
I realised that there is not trace command in AIX. Is this correct? if so, how we trace in AIX?
thanks
jeevan |
|
| Back to top |
|
 |
| jefflowrey |
Posted: Wed Feb 08, 2006 12:24 pm Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
|
| Back to top |
|
 |
| csmith28 |
Posted: Wed Feb 08, 2006 1:04 pm Post subject: |
|
|
 Grand Master
Joined: 15 Jul 2003 Posts: 1196 Location: Arizona
|
It's been quite a while since I used it but for WMQ5.3 here's the syntax.
Here is a command to start a trace:
trace -a -j30D,30E -o /path/trace.trc -L 50000000 -T detail
to stop a trace:
trcstop
to format:
trcrpt -t /usr/mqm/lib/amqtrc.fmt trace.trc > report.out _________________ Yes, I am an agent of Satan but my duties are largely ceremonial. |
|
| Back to top |
|
 |
| Tibor |
Posted: Wed Feb 08, 2006 1:30 pm Post subject: Re: trace in AIX |
|
|
 Grand Master
Joined: 20 May 2001 Posts: 1033 Location: Hungary
|
| jeevan wrote: |
| I realised that there is not trace command in AIX. Is this correct? if so, how we trace in AIX? |
Firstly you have to install the bos.sysmgt.trace package.
Tibor |
|
| Back to top |
|
 |
| jeevan |
Posted: Wed Feb 08, 2006 1:38 pm Post subject: |
|
|
Grand Master
Joined: 12 Nov 2005 Posts: 1432
|
has the package included in the original CD or have to ordered or download separately?
thanks |
|
| Back to top |
|
 |
| vennela |
Posted: Wed Feb 08, 2006 1:57 pm Post subject: |
|
|
 Jedi Knight
Joined: 11 Aug 2002 Posts: 4055 Location: Hyderabad, India
|
| jeevan wrote: |
has the package included in the original CD or have to ordered or download separately?
thanks |
Don't worry about it until you cannot run the above trace command |
|
| Back to top |
|
 |
| Tibor |
Posted: Wed Feb 08, 2006 1:58 pm Post subject: |
|
|
 Grand Master
Joined: 20 May 2001 Posts: 1033 Location: Hungary
|
|
| Back to top |
|
 |
| csmith28 |
Posted: Wed Feb 08, 2006 2:27 pm Post subject: Re: trace in AIX |
|
|
 Grand Master
Joined: 15 Jul 2003 Posts: 1196 Location: Arizona
|
| Tibor wrote: |
| jeevan wrote: |
| I realised that there is not trace command in AIX. Is this correct? if so, how we trace in AIX? |
Firstly you have to install the bos.sysmgt.trace package.
Tibor |
In my case bos.sysmgt.trace was already in stalled but I suppose if you want to verify it before you start you can always run:
| Code: |
| lslpp -l | grep trace |
_________________ Yes, I am an agent of Satan but my duties are largely ceremonial. |
|
| Back to top |
|
 |
|
|