AFS::CM

AFS::CM is a Perl module to administer the AFS Cache Manager.
Download

AFS::CM Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Norbert E. Gruener
  • Publisher web site:
  • http://search.cpan.org/~nog/AFS-2.4.0/pod/v2/afsperlkas.pod

AFS::CM Tags


AFS::CM Description

AFS::CM is a Perl module to administer the AFS Cache Manager. AFS::CM is a Perl module to administer the AFS Cache Manager.SYNOPSIS use AFS::CM qw ( checkconn checkservers checkvolumes cm_access flush flushcb flushvolume getcacheparms getcellstatus getcrypt getvolstats setcrypt setcachesize setcellstatus ); my $ok = flushvolume('.'); print "Return Code = $okn"; $ok = checkvolumes; print "Return Code = $okn"; $ok = cm_access($path); print "Return Code = $okn"; ($max, $inuse) = getcacheparms; $ok = setcachesize(10000); my $crypt_flg = getcrypt; $ok = setcrypt('on');NOTE: The following lines are 'version 1' style: all names are exported by default. This style is deprecated !!! use AFS; # import all AFS names use AFS @AFS::CM; # import just the cache manager namesThis module provides several functions to administer the AFS Cache Manager. It is used to customize the cache size. You can force the update of cached data. And you can determine if a client machine can run SETUID programs. Any function required must by explicitly listed by the use statement to be exported into the calling package.Some of these functions have the optional argument FOLLOW. FOLLOW determines which file should be used should PATH be a symbolic link. If FOLLOW be set to 1, then the symbolic link is followed to its target. If FOLLOW is set to 0, then the function applies to the symbolic link itself. If not specified FOLLOW defaults to 1. Requirements: · Perl


AFS::CM Related Software