# shm\_info
## **Overview**
**Related Modules:**
[MEM](zh-cn_topic_0000001055518034.md)
**Description:**
Describes system resource information about the shared memory.
## **Summary**
## Data Fields
## **Details**
## **Field Documentation**
## \_\_swap\_attempts
```
unsigned long shm_info::__swap_attempts
```
**Description:**
Number of swap attempts
## \_\_swap\_successes
```
unsigned long shm_info::__swap_successes
```
**Description:**
Number of successful swap attempts
## \_\_used\_ids
```
int shm_info::__used_ids
```
**Description:**
Number of existing shared memory segments
## shm\_rss
```
unsigned long shm_info::shm_rss
```
**Description:**
Number of resident shared memory pages
## shm\_swp
```
unsigned long shm_info::shm_swp
```
**Description:**
Number of shared memory pages in the swap partition
## shm\_tot
```
unsigned long shm_info::shm_tot
```
**Description:**
Total number of shared memory pages