Operating System - Tru64 Unix
1753731 Members
4775 Online
108799 Solutions
New Discussion юеВ

trace nb of messages for msg_tql monitoring

 
SOLVED
Go to solution
Francois LAURENT
Frequent Advisor

trace nb of messages for msg_tql monitoring

Hello all,

I'm new in Tru64 and i have Message queue consumtion problems.

I suspect that msg_tql is reached.
I made a scipt based on ipcs to monitor the number of messages, but i think there is a simpliest way to monitor this.

Is there a way to use kdbx to monitor number of messages ?

Thank a lot for your help
Regards.

Francois
2 REPLIES 2
Johan Brusche
Honored Contributor
Solution

Re: trace nb of messages for msg_tql monitoring


Francois,

This should do it:

MSG_HDRS=`echo "p cur_msghdrs" | kdbx -k /vmunix | tail -1`

If $MSG_HDRS < sysconfig -q ipc msg_tql then OK

Johan.
-j^


_JB_
Francois LAURENT
Frequent Advisor

Re: trace nb of messages for msg_tql monitoring

Hi Johan,

Thank for your answer. It's exactly what i want !

Thanks for your help.
Regards

Francois