Author |
Message
|
jorro004 |
Posted: Thu Oct 18, 2007 6:09 am Post subject: Command for Queue depth |
|
|
Acolyte
Joined: 25 Aug 2007 Posts: 50
|
Helo
Is it possible to get the queue depth from the command line with out using mqsc commands
I have a script on AIX where it calls queue depth for every 5 min and logs it.
Wondering whether there is any command that I can pass with out entering into mqsc?
Thanks |
|
Back to top |
|
 |
bower5932 |
Posted: Thu Oct 18, 2007 6:10 am Post subject: |
|
|
 Jedi Knight
Joined: 27 Aug 2001 Posts: 3023 Location: Dallas, TX, USA
|
No command that I know of, but you could write a small PCF program to get the depth for you. |
|
Back to top |
|
 |
Gaya3 |
Posted: Thu Oct 18, 2007 6:13 am Post subject: |
|
|
 Jedi
Joined: 12 Sep 2006 Posts: 2493 Location: Boston, US
|
Hi
This is what i know,
echo "dis ql(queue name ) curdepth " | runmqsc Queue manager name
Regards
Gayathri _________________ Regards
Gayathri
-----------------------------------------------
Do Something Before you Die |
|
Back to top |
|
 |
jorro004 |
Posted: Thu Oct 18, 2007 6:20 am Post subject: |
|
|
Acolyte
Joined: 25 Aug 2007 Posts: 50
|
Thanks ...!!
Gayatri...that works for me..
Thanks again
jorro |
|
Back to top |
|
 |
jefflowrey |
Posted: Thu Oct 18, 2007 6:25 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
jorro004 wrote: |
Thanks ...!!
Gayatri...that works for me..
Thanks again
jorro |
But it is using mqsc commands. Which you said you didn't want to do. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
|