Results 1 to 2 of 2

Thread: Usage of this Command

  1. #1
    Contributing Member
    Join Date
    Jul 2006
    Answers
    93

    Usage of this Command

    What is the command ipcrm used for in UNIX operating system. Is it an administrative command or not? Kindly someone let me know the syntax and usage of this command.


  2. #2
    Junior Member
    Join Date
    Sep 2006
    Answers
    24

    Re: Usage of this Command

    ipcrm: This command is used for removing message queue, semaphore set, or shared memory identifiers.

    The general syntax of this command is:

    ipcrm [-m shared_memory] [-M shared_memory_key] [-q message_queue] [-Q
    message_key] [-s semaphore_ID] [-S semaphore_key]
    where:
    -m shared_memory
    Removes the shared memory identifier shared_memory. The shared memory segment and data structure associated with shared_memory are also
    removed after the last detach operation.

    -M shared_memory_key
    Removes the shared memory identifier, created with key
    shared_memory_key. The shared memory segment and data structure associated with it are also removed after the last detach.

    -q message_queue
    Removes the message queue identifier message_queue and the message
    queue and data structure associated with it.

    -Q message_key
    Removes the message queue identifier, created with key message_key, and the message queue and data structure associated with it.

    -s semaphore_ID
    Removes the semaphore identifier semaphore_ID and the set of semaphores and data structure associated with it.

    -S semaphore_key
    Removes the semaphore identifier, created with key semaphore_key, and
    the set of semaphores and data structure associated with it.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
About us
Applying for a job can be a stressful and frustrating experience, especially for someone who has never done it before. Considering that you are competing for the position with a at least a dozen other applicants, it is imperative that you thoroughly prepare for the job interview, in order to stand a good chance of getting hired. That's where GeekInterview can help.
Interact