memstat
{ "memstat", NULL, "display memory usage summary", memstat },
int memstat(uintptr_t, uint_t, int, const mdb_arg_t *);
if (stat64("/dev/mem", &memstat) == -1)
if (corestat.st_rdev == memstat.st_rdev ||
struct stat64 memstat, kmemstat, allkmemstat, corestat;