![]() |
Total amount of allocated SHM memory?
Is there an easy way in C to get the total amount of allocated SHM memory on a machine?
|
It would probably be C's equivalent to the following shell command:
Code:
cat /dev/shm |
Quote:
Code:
file /dev/shm |
man 2 shmctl
|
Quote:
|
Quote:
|
Quote:
http://www.cs.cf.ac.uk/Dave/C/node27...00000000000000 . |
Quote:
|
| All times are GMT -5. The time now is 10:18 AM. |