Symantec Access Management

  • 1.  Real time queue stats

     
    Posted 07-20-2018 03:39 PM

    If you want a more real time look at your high priority and normal priority queues, here is a tail command you can run against the smtrace log.  You can of course use additional grep commands to filter only the high priority or normal queues.  You may need to adjust the print command depending on how you have organized your profiler output.

     

     

    $ tail -f smtracedefault.log |grep "Current count is" |awk -F "[" '{print $29}'|grep -v "Dequeuing"
    Enqueuing a High Priority Message, from IP ::ffff:10.10.10.10 with Port No 35394. Current count is 1]
    Enqueuing a Normal Priority Message, from IP ::ffff:10.10.10.10 with Port No 35394. Current count is 1]
    Enqueuing a High Priority Message, from IP ::ffff:10.10.10.10 with Port No 35396. Current count is 1]
    Enqueuing a Normal Priority Message, from IP ::ffff:10.10.10.10 with Port No 35394. Current count is 1]
    Enqueuing a Normal Priority Message, from IP ::ffff:10.10.10.10 with Port No 35396. Current count is 1]