home | help
auto-physmem(8) 	     System Manager's Manual		 auto-physmem(8)

SYNOPSIS
     auto-physmem

ARGUMENTS
     None.

DESCRIPTION
     Report the total physical memory, in bytes.

RETURN VALUES
     0 on success, non-zero if OS is not yet supported.

EXAMPLES
     #!/bin/sh -e

     printf "%s MiBn" $((`auto-physmem` / 1024 / 1024))

SEE ALSO
     sysctl(8), /proc/meminfo (Linux)

								 auto-physmem(8)

home | help