In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-03 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/01 Report--
Today, the editor will share with you the relevant knowledge points about how to use the ipcrm command of Linux. The content is detailed and the logic is clear. I believe most people still know too much about this knowledge, so share this article for your reference. I hope you can get something after reading this article. Let's take a look.
The Linux common command ipcrm command is used to delete one or more message queues, semaphore sets, or shared memory identities.
Command format usage: ipcrm [options] ipcrm [...] Common options:-m,-- shmem-id removes shared memory segment by id number-M,-- shmem-key key value removes shared memory segment-Q,-- queue-id removes message queue-Q by id number,-- queue-key key value removes message queue-s,-- semaphore-id removes semaphore-S by id number -- semaphore-key key value remove semaphore-- a,-- all [=] remove all-v,-- verbose explains what is going on-h,-- help displays this help and exits-V,-- version outputs version information and exits reference example to delete shared memory through id
[root@itcast ~] # ipcrm-m 262144 [root@itcast ~] # Delete shared memory through key
[deng@itcast ~] $ipcrm-M 0x55 deletes message queues through id
[deng@itcast ~] $ipcrm-Q 252432 Delete message queues via key
[deng@itcast ~] $ipcrm-Q 0x88 deletes semaphores via id
[deng@itcast ~] $ipcrm-s 242438 Delete semaphores via key
[deng@itcast ~] $ipcrm-S 0x65* remove all shared memory, semaphores, and message queues
[deng@itcast ~] $ipcrm-a [deng@itcast ~] $removes all shared memory, semaphores, and message queues, and displays the process
[deng@itcast] $ipcrm-v-an is removing shared memory segment id "262144" is removing shared memory segment id "393218" above is all the content of this article "how to use Linux's ipcrm command". Thank you for reading! I believe you will gain a lot after reading this article. The editor will update different knowledge for you every day. If you want to learn more knowledge, please pay attention to the industry information channel.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.