port_host = mach_host_self ();
host_page_size (port_host, &pagesize);
port_host = mach_host_self ();
host_page_size (port_host, &pagesize);
memory_submit ("active", active);
memory_submit ("inactive", inactive);
memory_submit ("free", free);
memory_submit ("active", active);
memory_submit ("inactive", inactive);
memory_submit ("free", free);
plugin_register_init ("memory", memory_init);
plugin_register_read ("memory", memory_read);
plugin_register_init ("memory", memory_init);
plugin_register_read ("memory", memory_read);