LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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.

Notices

Reply
 
Search this Thread
Old 08-31-2009, 02:30 AM   #1
aryan1
Member
 
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 ?

Thanks.
 
Old 08-31-2009, 07:34 PM   #2
jrtayloriv
Member
 
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 07:37 PM.
 
  


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 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 10:15 AM
System V message queues... sachitha Programming 2 03-19-2006 07:12 AM
System V message queues shared among processes... sachitha Programming 3 03-05-2006 10:50 AM
Message Queues rag_mg Programming 1 05-08-2005 08:00 AM
Message Queues BoldKiller Programming 1 05-28-2003 05:40 PM


All times are GMT -5. The time now is 10:53 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration