LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-22-2014, 07:27 AM   #1
bhaskara-r
LQ Newbie
 
Registered: Jul 2014
Posts: 6

Rep: Reputation: Disabled
How to Monitor the Message queue in Linux


How to Monitor the Message queue in Linux
 
Old 07-22-2014, 10:10 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 17,950

Rep: Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693
Quote:
Originally Posted by bhaskara-r View Post
How to Monitor the Message queue in Linux
You need to provide details before anyone can help you. What "message queue" are you talking about? What version/distro of Linux? 'Monitor" it HOW? With what?? Do you already have a monitoring system in place, or do you need something stand-alone???

Provide details and we can try to help.
 
Old 07-22-2014, 10:49 AM   #3
szboardstretcher
Senior Member
 
Registered: Aug 2006
Location: Detroit, MI
Distribution: GNU/Linux systemd
Posts: 3,827

Rep: Reputation: 1356Reputation: 1356Reputation: 1356Reputation: 1356Reputation: 1356Reputation: 1356Reputation: 1356Reputation: 1356Reputation: 1356Reputation: 1356
Well, whatever you set the port to, you can go to that port/url to monitor the queue: https://www.rabbitmq.com/configure.html

Alternatively you can offer more details as Tb0ne has said.
 
Old 07-22-2014, 11:35 AM   #4
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 7,183

Rep: Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212
It is possible that the OP (if not merely a mechanical troll ...) is referring to the "Windows message-queue" of the MS-Windows GUI. Well, Linux does not necessarily have any such thing. It is entirely possible that the computer does not have a GUI. And if it does, it's entirely possible also that the GUI display is on an entirely separate machine, thanks to the magick of XOrg/XWindows. There are several graphic shells in this environment, and their architecture bears only the most-superficial of similarities to what Redmond did when they shamelessly copied Apple.

Last edited by sundialsvcs; 07-22-2014 at 11:36 AM.
 
Old 07-22-2014, 11:43 AM   #5
szboardstretcher
Senior Member
 
Registered: Aug 2006
Location: Detroit, MI
Distribution: GNU/Linux systemd
Posts: 3,827

Rep: Reputation: 1356Reputation: 1356Reputation: 1356Reputation: 1356Reputation: 1356Reputation: 1356Reputation: 1356Reputation: 1356Reputation: 1356Reputation: 1356
.. MS and Apple both shamelessly copied off of Xerox. Well known story.

Details: http://www.technofileonline.com/texts/the2steves92.html


Last edited by szboardstretcher; 07-22-2014 at 11:44 AM.
 
Old 07-23-2014, 01:40 AM   #6
bhaskara-r
LQ Newbie
 
Registered: Jul 2014
Posts: 6

Original Poster
Rep: Reputation: Disabled
Monitor the Message Queue

Quote:
Originally Posted by TB0ne View Post
You need to provide details before anyone can help you. What "message queue" are you talking about? What version/distro of Linux? 'Monitor" it HOW? With what?? Do you already have a monitoring system in place, or do you need something stand-alone???

Provide details and we can try to help.
i am using Unix system V message queues for the logging the events in my project. ( OS: Red hat linux) In that Due to Message queue gets fully filled the Unit gets shutdown. So how to mnoitor the How many messages are in the Message Queue.
 
Old 07-23-2014, 10:17 AM   #7
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 17,950

Rep: Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693
Quote:
Originally Posted by bhaskara-r View Post
i am using Unix system V message queues for the logging the events in my project. ( OS: Red hat linux) In that Due to Message queue gets fully filled the Unit gets shutdown. So how to mnoitor the How many messages are in the Message Queue.
You say "Red Hat Linux"...but still don't tell us what version. Assuming you mean Red Hat ENTERPRISE, you can call Red Hat support for help, since you are PAYING FOR RHEL, right?? If you're not, you should stop where you are and load CentOS instead. At the very least, you should be paying for the self-support version.

That said, have you tried looking on the RHEL site?
https://access.redhat.com/documentat...ease_Notes-RHM

..or checked out the "ipcs -q" command? Read the man page on ipcs, and reference Red Hat's knowledgebase.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Is it possible for me to write in front of queue in case of message queue? hemanthv414 Linux - Newbie 1 11-17-2008 05:40 PM
message queue C++ class Linux aral Programming 3 08-11-2006 08:12 AM
how to create and post to a message queue in linux stephenwalter Programming 0 01-07-2006 07:35 AM


All times are GMT -5. The time now is 02:07 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration