=head1 NAME state_analyzer - Explores and queries the fileserver state database interactively =head1 SYNOPSIS =for html
B S<<< [F | B<-h>] >>> =for html
=head1 DESCRIPTION The 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 all 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.