Probe into PHP shared memory Shmop

Source: Internet
Author: User
Read-write program first:

 
  

Read:

 
  
Unix/linux Command View:


Key: A unique key value for shared memory that is shared by the key to determine which piece of memory you are reading.

Shmid: When you use key to get memory, you get the value of this ID. It acts as an identifier for the memory block you are manipulating.

Owner: The user who created the shared memory block

Perms: Read and Write permissions for this shared memory, 8 forbidden, can be 777, consistent with the read and write permissions of the file.

Bytes: The size of the memory block

Nattch: Number of processes connected to this memory block

Status: Current state, such as: dest, imminent deletion, etc.


The above describes the PHP shared memory Shmop, including the aspects of the content, I hope that the PHP tutorial interested in a friend helpful.

  • 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.