Author |
Message
|
ciscopixe |
Posted: Thu Oct 08, 2015 12:35 am Post subject: How to get history commands with MQ version 7.5 for Linux |
|
|
Newbie
Joined: 07 Oct 2015 Posts: 2
|
Hi,
I would like to know if it's possible to get the history command when i execute differents commands as runmqsc QM <enter>
dis QL (*)
dis qa(*)
etc....
I need the history like unix.
Thanks a lot for response !
Best regards,
ciscopixe |
|
Back to top |
|
 |
smdavies99 |
Posted: Thu Oct 08, 2015 1:59 am Post subject: |
|
|
 Jedi Council
Joined: 10 Feb 2003 Posts: 6076 Location: Somewhere over the Rainbow this side of Never-never land.
|
Do everything via a script. Then you have a perfect record. _________________ WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995
Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions. |
|
Back to top |
|
 |
Vitor |
Posted: Thu Oct 08, 2015 4:25 am Post subject: Re: How to get history commands with MQ version 7.5 for Linu |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
ciscopixe wrote: |
I need the history like unix. |
Then use Unix. Have everyone making the changes sudo to the mqm id, and keep the sudo log. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
bruce2359 |
Posted: Thu Oct 08, 2015 5:28 am Post subject: Re: How to get history commands with MQ version 7.5 for Linu |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 Location: US: west coast, almost. Otherwise, enroute.
|
ciscopixe wrote: |
Hi,
I would like to know if it's possible to get the history command when i execute differents commands as runmqsc QM <enter>
dis QL (*)
dis qa(*)
etc....
I need the history like unix.
Thanks a lot for response !
Best regards,
ciscopixe |
UNIX history command displays previous shell commands, like runmqsc QMC01. History does not record or display the keystrokes or redirected (< filename) input to applications once the application starts. _________________ I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live. |
|
Back to top |
|
 |
fjb_saper |
Posted: Fri Oct 09, 2015 3:42 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
If you turn on command events you will get all command events from any source reflected. Just be aware that the format is PCF and that applications like monitoring applications or MQExplorer are quite "chatty" ...
If you want to limit yourself to events that operate some change you should turn on configuration events. You will receive a before and after image of the object changed... or just an after image if the object was being created... again the format is PCF.
Have fun  _________________ MQ & Broker admin |
|
Back to top |
|
 |
rammer |
Posted: Fri Oct 09, 2015 7:08 am Post subject: |
|
|
Partisan
Joined: 02 May 2002 Posts: 359 Location: England
|
I guess a long winded way would be
echo "dis ql(*)" | runmqsc QMGRNAME
That would proably show command history, obviously not result history.. |
|
Back to top |
|
 |
|