MEMSTAT(1M)
NAME
memstat − print memory usage map
SYNOPSIS
memstat [ ifn ] [ interval ] [ corefile ] [ namelist ]
DESCRIPTION
The memstat program prints a map showing the utilization of all of memory. The optional argument ’i’ specifies that the printout should be repeated every interval seconds. The ’f’ option causes corefile to be used as memory instead of /dev/mem. The ’n’ option declares that the system namelist should be obtained from namelist instead of /unix. Single or multiple options may be specified. The arguments interval, corefile, and namelist must occur in the same order as the options [ifn].
The following headings appear on the memstat printout:
Addr The octal address range of the section of memory being mapped.
Command The name of the entity occupying a section of memory. This may be the operating system, a process, a shared text segment, or free memory.
Pid The process ID number of the process named in command.
Size The total size in bytes of non-shared text processes or the size of the data segment of shared text processes.
Ublock The address and size of the U block (per process data) for the process.
Text Size and address of the processes text segment.
Data Size and address of the processes data segment.
Stack Size and address of the processes stack.
FILES
/unix - default system namelist
/dev/mem - default system memory
SEE ALSO
Refer to the ULTRIX-11 System Management Guide, Section 9.5.5 for an example of a memstat printout.