Returns physical, real, and user memory [byte] from sysctl(8).
The function returns the following error codes:
E_FORMAT if output format is unexpected.E_PLATFORM if current system is not FreeBSD.E_READ if pipe returned no bytes.E_SYSTEM if system call failed.| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer(kind=i8), | intent(out), | optional | :: | phys_mem |
Physical memory [byte]. |
|
| integer(kind=i8), | intent(out), | optional | :: | real_mem |
Real memory [byte]. |
|
| integer(kind=i8), | intent(out), | optional | :: | user_mem |
User memory [byte]. |