Sortix volatile manual
This manual documents Sortix volatile, a development build that has not been officially released. You can instead view this document in the latest official manual.
NAME
memstat — system memory statisticsSYNOPSIS
memstat | [-abegkmprt] [statistic ...] |
DESCRIPTION
memstat writes the requested system memory statistics, or the total system memory and used system memory by default. Each statistic is written as a line with three columns aligned with spaces, where the first column is the human readable value, the second column is the name of the statistic, and the third column is how many percent the value is out of total system memory.- -a
- Write all statistics.
- -b
- Format values as bytes.
- -e
- Format values as exabytes (1024^6 bytes).
- -g
- Format values as gigabytes (1024^3 bytes).
- -k
- Format values as kilobytes (1024 bytes).
- -m
- Format values as megabytes (1024^2 bytes).
- -p
- Format values as petabytes (1024^5 bytes).
- -r
- Write statistics in the raw machine readable format consisting of the value in the requested unit (bytes by default) with no unit suffix followed by a space and then the statistic name.
- -t
- Format values as terabytes (1024^4 bytes).
- total
- amount of total memory.
- used
- amount of memory currently used for any purpose.
- userspace
- amount of memory purposed for normal user-space pages.
- kernel
- amount of memory purposed for normal kernel-space pages.
- filesystem
- amount of memory purposed for kernel filesystem buffers.
- network
- amount of memory purposed for kernel network buffers.
- paging
- amount of memory purposed for paging overhead.
- driver
- amount of memory purposed for kernel driver buffers.
- physical
- amount of memory purposed for keep track of unused physical memory.
- execve
- amount of memory purposed for the execve(2) system call.