Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 08-31-2009, 03:30 AM   #1
Registered: Jul 2009
Posts: 50

Rep: Reputation: 16
Question removing all message queues from the system

Hi All,

I am new to Linux system administration.

How can I remove "all" message queues from the system using the shell commands ?

ipcrm command requires the ID of the message queue to delete.

I do not want to specifically deal with each message queue ID to remove.

What is the easiest way ?

Old 08-31-2009, 08:34 PM   #2
Registered: Jun 2004
Location: Inland NW, US
Distribution: Ubuntu
Posts: 365
Blog Entries: 1

Rep: Reputation: 44
Look at man msgctl ... this doesn't use "shell commands", but I don't know of anything that does.

Last edited by jrtayloriv; 08-31-2009 at 08:37 PM.


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 On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
POSIX message queues(Solaris) to SYS V message queues(Linux) devershetty Programming 1 01-22-2007 11:15 AM
System V message queues... sachitha Programming 2 03-19-2006 08:12 AM
System V message queues shared among processes... sachitha Programming 3 03-05-2006 11:50 AM
Message Queues rag_mg Programming 1 05-08-2005 09:00 AM
Message Queues BoldKiller Programming 1 05-28-2003 06:40 PM > Forums > Linux Forums > Linux - General

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

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