MSTAT(2) COMMAND REFERENCE MSTAT(2)
NAME
mstat - find out about process clusters
SYNOPSIS
#include <sys/types.h>
mstat(type, addr, len, vec)
caddrt addr;
int len;
char *vec;
DESCRIPTION
N.B.: Mstat will not be implemented in the first release of
the system.
Mstat returns information, in the character array vec,
describing the process clusters beginning at addr and
continuing for len bytes. Type is one of the following:
M_S_INCORE in core
M_S_LOCKED locked into core
M_S_MAPPED mapped
M_S_ADVISED the advised strategy
Each entry in vec corresponds to a single cluster.
DIAGNOSTICS
[EFAULT]
Part of vec lies outside of the process' allocated
address space.
RETURN VALUE
Upon successful completion, a value of 0 is returned.
Otherwise, a value of -1 is returned and errno is set to
indicate the error.
SEE ALSO
getpagesize(2), fmap(2), madvise(2), mmap(2), munmap(2).
Printed 10/17/86 1
%%index%%
na:72,75;
sy:147,607;
de:754,669;
di:1423,183;
rv:1606,236;
se:1842,201;
%%index%%000000000106