_mstatus.c

foundationI_fluffos_v1/lib/cmds/creator/_mstatus.c · 585 B

From the archive foundation1_fluffos_v1.zip

Download the archive   « Back to the archive contents

#include <std.h>

inherit DAEMON;

int
cmd_mstatus(string arg)
{
	int flag;

	flag = !!arg;
	mud_status(flag);
	return 1;
}

int help()
{
  write( @EndText
Syntax: mstatus [<arg>]
Effect: Give you statistics on the driver and mudlib
If the optional argument is given, you also get:
  add_message statistics
  Hash table of living objects
  Function cache information
  Heart beat information
  Shared string hash table
  Call out information
  Object name hash table status
See man: mud_status
See also: netstat, fdinfo, cache, callouts, dumpallobj, opcprof
EndText
  );
  return 1;
}

Site Stats

Snippets: 1791
Codebases: 571