Re: improved version of afpstat script


Subject: Re: improved version of afpstat script
From: SF Karel (karel@brandeis.edu)
Date: Sat Mar 25 2000 - 09:54:36 EST


Thanks, these are very useful.

One suggestion: changing

ps aux

to

ps auxc

may be useful if the path to afpd is long (as it is on my machine)

steven

jhart@abacus.bates.edu wrote:

> Brandon Warren, bwarren@u.washington.edu writes:
>
> > What I really want is the Mac
> >name.
>
> I did it, today. It isn't fast, because it has to make a lookup table of
> all the Macs on the network, but it works. And, it does the IP-based
> ones, too. Take a look at:
>
> http://www.avcnet.org/users/jhart/programs/afpstat.txt and
> http://www.avcnet.org/users/jhart/programs/afpstatm.txt
>
> The "m" version does the machine name and drops the user and group IDs.
> Thanks for giving me the motivation to write these. We've been needing
> them here, too. I just hadn't gotten to it.
>
> ---
> Jim Hart
> "Organization is necessary for things to exist; Chaos is necessary for
> things to evolve."
>
> -----BEGIN PGP PUBLIC KEY BLOCK-----
> Version: PGPfreeware 5.0 for non-commercial use <http://www.pgp.com>
>
> mQBvAzOe/64AAAEDAM2s9O/EPXKlnvPOnJDH0f1KWg0iIM4i5tT7aywHcbW2Acgr
> b7aaTMe0eEMu+aSDjAto9+nYSHGOG/8ni/V7aW60W2zF1AQ8dPcyLZ9l1FaoWcr2
> CP8uL2bZNGZvghpEdQARAQABtCBKaW0gSGFydCA8amhhcnRAbWFpbC5hdmNuZXQu
> b3JnPg==
> =ymPR
> -----END PGP PUBLIC KEY BLOCK-----



This archive was generated by hypermail 2b28 : Wed Jan 17 2001 - 14:30:18 EST