> 1. Where is the current distribution of AFSPerl?
Hmm... That sounds like a question for Roland Schemers, who wrote
the package. It's still under development, though, and I don't think
any of the volserver/VLDB operations are done yet.
You're also welcome to look at my Perl AFStools package, also still
under development. Unlike Roland's code, my modules are basically
a set of wrappers around the commands provided by Transarc. This has
both advantages and disadvantages.
If I ever get out of emergency-crisis mode, I'll probably get around to
finishing up some of my work, and merging it with what Roland has done.
In the meantime, my work can be found in
/afs/cs.cmu.edu/misc/afstools/src/perl5
> 2. Would someone happen to have some sample code that does any or
> all of the following:
>
> vos listvol
> vos examine
>
> In particular, I'd like to be able to get all the information that vos
> listvol provides, as well as be able to retrieve other information about
> each volume such as the quota, usage, etc., in a relatively fast fashion.
I actually have a script that does some of that, as well. There are a
few parts that are specific to our setup, and it uses a _much_ older
version of my perl AFS wrappers, but you're welcome to look at that as
well. The script is /afs/cs.cmu.edu/user/jhutz/scripts/partstats, and it
uses some libraries in my /afs/cs.cmu.edu/user/jhutz/lib/perl.
That script also uses my dbmswap utility, which takes a dbm file created
for the system it's running on, and produces a .pag file for the
opposite endian-ness. So, if you're on a Sparc system, dbmswap will
create a DBM file that can be read on, say, a DEC Alpha system. Source
for dbmswap is in /afs/cs.cmu.edu/user/jhutz/src/bin/dbmswap.c.
All of the stuff I just mentioned in my personal directory should be
world-readable, and people are welcome to use them.
-- Jeffrey T. Hutzelman (N3NHS) <[EMAIL PROTECTED]>
Systems Programmer, CMU SCS Research Facility
Please send requests and problem reports to [EMAIL PROTECTED]