diff --git a/utils/Makefile b/utils/Makefile index d964b331..6e2c3684 100644 --- a/utils/Makefile +++ b/utils/Makefile @@ -76,6 +76,7 @@ xinstall MANPAGES=\ chkblayout.1 \ kernelinfo.1 \ +memstat.1 \ pager.1 \ passwd.1 \ readlink.1 \ diff --git a/utils/memstat.1 b/utils/memstat.1 new file mode 100644 index 00000000..73cdc6d6 --- /dev/null +++ b/utils/memstat.1 @@ -0,0 +1,19 @@ +.Dd October 06, 2016 +.Dt MEMSTAT 1 +.Os +.Sh NAME +.Nm memstat +.Nd print system memory usage information +.Sh SYNOPSIS +.Nm +.Sh DESCRIPTION +.Nm +prints the amount of memory in use, the total amount of memory, and the +percentage of memory used. +.Sh EXIT STATUS +.Nm +will exit 0 on success and non-zero otherwise. +.Sh SEE ALSO +.Xr ps 1 , +.Xr pstree 1 , +.Xr memstat 2