From: Davor Ocelic Date: Wed, 24 Mar 2010 21:45:20 +0000 (+0100) Subject: Initial; add state_analyzer manpage X-Git-Tag: openafs-devel-1_5_73_1~9 X-Git-Url: http://git.openafs.org/?p=openafs.git;a=commitdiff_plain;h=326ff2aa68082a804ffef7fb1187a26962be924e Initial; add state_analyzer manpage Change-Id: I5dd43e6ea5764421a6e44f372f4e9c9576de627e Reviewed-on: http://gerrit.openafs.org/1655 Reviewed-by: Derrick Brashear Tested-by: Derrick Brashear --- diff --git a/doc/man-pages/pod8/state_analyzer.pod b/doc/man-pages/pod8/state_analyzer.pod new file mode 100644 index 0000000..5f8598c --- /dev/null +++ b/doc/man-pages/pod8/state_analyzer.pod @@ -0,0 +1,186 @@ +=head1 NAME + +state_analyzer - Explores and queries the fileserver state database interactively + +=head1 SYNOPSIS + +=for html +
+ +B S<<< > | B<-h> >>> + +=for html +
+ +=head1 DESCRIPTION + +Demand-attach file server makes host / callback information +persistent. On shutdown, the state is saved to database L. +On startup, the state is read, verified and restored. +This allows for file server shutdowns or restarts without breaking +the callbacks (an operation that could otherwise take a long time). + +B interactively explores and queries the saved +state database, L. + +This command is only supported on the demand-attach file server. +It operates at an extremely low-level and hence requires detailed +knowledge of the OpenAFS architecture and code. + +=head1 COMMANDS + +B supports the following interactive commands: + +=over 4 + + +=item B> -- host menu + +=over 4 + +=item * + +B -- display the host_state_header struct + +=item * + +B -- display the first host + +=item * + +B -- display the previous host + +=item * + +B -- display this host + +=item * + +B -- display the next host + +=item * + +B -- display the last host + +=item * + +B -- display all hosts + +=back + + +=item B> -- FileEntry menu + +=over 4 + +=item * + +B -- display the callback_state_header struct + +=item * + +B -- display the first FE + +=item * + +B -- display the previous FE + +=item * + +B -- display this FE + +=item * + +B -- display the next FE + +=item * + +B -- display the last FE + +=item * + +B -- display all FEs + +=item * + +B -- display the timeout queue heads + +=item * + +B -- display the file entry hash buckets + +=item * + +B> -- find an fe by its array index + +=item * + +B> -- find an fe by its AFSFid + +=back + + +=item B> -- CallBack menu + +=over 4 + +=item * + +B -- display the callback_state_entry_header struct + +=item * + +B -- display the first CB + +=item * + +B -- display the previous CB + +=item * + +B -- display this CB + +=item * + +B -- display the next CB + +=item * + +B -- display the last CB + +=item * + +B -- display all CBs + +=back + +=item B [B]]> -- hex dump raw data + +=item B -- quit current menu + +=item B -- exit debugger + +=item B -- help message + +=back + +=head1 PRIVILEGE REQUIRED + +The issuer must have read access to the file server state database, +F. +Usually, this means that the issuer must be the +local superuser C on the file server machine. + +=head1 SEE ALSO + +L, +L, +L + +=head1 COPYRIGHT + +Copyright 2010 Davor Ocelic + +This documentation is covered by the IBM Public License Version 1.0. This +man page was written by Davor Ocelic for OpenAFS, based on documentation +from Tom Keiser, Steven Jenkins and others.