- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Message Queues concepts needed in HP-UX
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-26-2005 04:01 PM
тАО08-26-2005 04:01 PM
can anybody explain me the concepts of MessageQueue in HP-UX.How i can create a Mqueue.HOW I CAN STORE A BUFFER IN A MESSAGE QUEUE.How can i view the content of the message queue(If i have stored some 10 messages in it).How i can access a Mqueue so that i can write the message in Mqueue to a file.Pls help me out
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-26-2005 05:01 PM
тАО08-26-2005 05:01 PM
Re: Message Queues concepts needed in HP-UX
If you want to view the contents of the message, all you have to do is to look into the /var/spool/mqueue. You will see two files with almost the same name, with the exception of their first character. One of them is called the envelope information and the other one is the actual text sent over mail. They both are plain text files and you can view them using more, pg, cat or whatever application you prefer to use.
On the other hand, in unix, there is another concept called message queues, which is one of the mechanisms for interprocess communications (IPCS). Message queue idea is a place where two processes which need to communicate, leave messages from one to the other with priorities, so that higher priority messages get read first etc. It is not something for the user (even root) to view easily let alone messing with, like pushing and pulling messages.
See the man pages for system calls msgget and msgsnd/msgrcv for more information. These calls are mainly for processes and do not have any meaning to the naked eye.
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-26-2005 05:10 PM
тАО08-26-2005 05:10 PM
Re: Message Queues concepts needed in HP-UX
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-26-2005 08:22 PM
тАО08-26-2005 08:22 PM
SolutionI think u r looking for the ipc message queues..
Pls check the belwo link
http://docs.hp.com/en/939/KCParms/KCparamTut.IPC.html
http://docs.hp.com/en/939/KCParms/KCparam.MesgParmsOverview.html
Also the man pages of mesg, msgmap, msgmax etc gives u detail information about it..
Regards
CS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-27-2005 01:09 AM
тАО08-27-2005 01:09 AM
Re: Message Queues concepts needed in HP-UX
Alex.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-27-2005 04:31 AM
тАО08-27-2005 04:31 AM
Re: Message Queues concepts needed in HP-UX
Try the links given below. Hope it will help you.
http://www-306.ibm.com/software/integration/mqfamily/library/manuals99/amqcac/amqcac.htm
http://docs.hp.com/en/Z7345-90008/ch02s03.html
http://docs.hp.com/en/TKP-90202/ch06s02.html
Regards,
Syam
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-28-2005 09:56 PM
тАО08-28-2005 09:56 PM
Re: Message Queues concepts needed in HP-UX
here you can find other useful links:
http://www.ecst.csuchico.edu/~beej/guide/ipc/mq.html
http://66.102.9.104/search?q=cache:QrH7DD-nsSUJ:www.uni-leipzig.de/urz/zentraletechnik/U40130970004.ps+hpux+%22message+queues%22+IPC&hl=it
Here you can find some useful procedures that implements examples of Message queue management ( and many other hints ).
http://lib.daemon.am/Books/www.gerhardmueller.de/docs/UnixCommunicationFacilities/ip/node14.html
Best regards,
Alex
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-29-2005 02:35 AM
тАО08-29-2005 02:35 AM
Re: Message Queues concepts needed in HP-UX
You also have this facility on your database.
In Oracle, you also have the Advanced Queuing concept which allows Web-based business applications communicate with each other, producer applications enqueue messages and consumer applications dequeue messages.
Advanced Queuing provides database-integrated message queuing functionality. Advanced Queuing leverages the functions of the Oracle database so that messages can be stored persistently, propagated between queues on different machines and databases, and transmitted using Oracle Net Services, HTTP(S), and SMTP.
see: http://download-west.oracle.com/docs/cd/B10501_01/appdev.920/a96587/qintro.htm#65422
regards
yogeeraj