How to view IPC usage in Linux

Source: Internet
Author: User
How to view IPC usage in Linux-Linux Enterprise Application-Linux server application information. For more information, see the following section. 1. SYS-V Method

You can use the ipcs command to view SYS-V-related IPC usage

2. POSIX Method

1). message queue

Linux provides the mqueue file system type, which can be used to observe the usage of POSIX message queues.

View plaincopy to clipboardprint?
$ Mkdir/dev/mqueue

$ Mount-t mqueue none/dev/mqueue

$ Ls-l/dev/mqueue

-R -------- 1 root 80 2008-06-18 11: 46/dev/mqueue/smith_event.mq


2). shared memory

Linux provides the shm file system type, which is usually mounted to the system. You can view the usage of POSIX shared memory by observing/dev/shm.

View plaincopy to clipboardprint?
$ Ls-l/dev/shm/

-Rw-r -- 1 root 1073741824 smith. shm1

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.