[Prev][Next][Index][Thread]

# Re: RAM usage limits

- Date: Sat, 20 Apr 1996 17:10:51 PDT
- From:
- Content-Transfer-Encoding: 7bit
- Content-Type: text/plain; charset=us-ascii
- Organization: The Martian Hegemony / MidgardMOO / The EDSU Foundation
- References: <Pine.A32.3.91.960420184620.12275A-100000@erc.jscc.cc.tn.us>

    Justin C Harris wrote:

    > numbers, to see if there was a huge difference. e.g. The next server
    > maintainer could add a mem_check() function, which would return the
    > amount of memory the MOO is using (btw, that would be a great function

    I have a builtin I wrote, proc_size(), which returns the current moo process size (main task, not the lookups)
    HOWEVER, it is dependant on the /proc virtual file system provided by *NIX. Works great on my Linux system tho.
    ;;)

    Freely available, just ask.

    ---

    for that matter, here is a list of all my builtins:

    xor                  - Logical XOR
    us_time              - Time to nearest microsecond  (*NIX)
    proc_size            - Main MOO process size (*NIX)
    nprogs               - Number of programmed verbs in the current db
    random_of            - Random item from a list
    remove_duplicates    - Remove duplicate items from a list
    enlist               - returns a list. Either args[1] or {args[1]}, depending.

    --
     ____    ____  Martian
    |    \  /    | wsmyth@wichita.fn.net
    |  +-\\//-+  | awsmyth@mccoy.cs.twsu.edu      Martian #96675 @ LambdaMOO
    |  |  \/  |  | themartian@aol.com        telnet://lambda.xerox.com:8888
    |__|artian|__| ** One more chain letter, and I react with violence. **

Follow-Ups:

- Re: RAM usage limits

- From: Don Schwarz <darkowl@darkowl.pr.mcs.net>

References:

- Re: RAM usage limits

- From: Justin C Harris <jch1134@jackson.freenet.org>

- Prev: Re: RAM usage limits
- Next: Re: RAM usage limits
- Index: MOO-cows
- Thread: MOO-cows

Home | Subject Index | Thread Index