cmdebug - The Cache Manager Debugging Tool
cmdebug -servers <machine> [-port <IP port>] [-long] [-refcounts] [-callbacks] [-ctime] [-addrs] [-cache] [-cellservdb] [-help]
The cmdebug command displays information about a Cache Manager and its status on a local or remote client machine. By default, it displays all locked cache entries, but other information can be requested via various options.
The name of the client machine for which to display Cache Manager status. Provide the machine's IP address in dotted decimal format, its fully qualified host name (for example, client.your-cell-name.com), or the shortest abbreviated form of its host name that distinguishes it from other machines. The name "localhost" can often be used to indicate the machine on which cmdebug is executed.
Identifies the port on which to contact the Cache Manager. By default cache managers listen on port 7001 and cmdebug will use port 7001 if an explicit port is not specifed.
Report the status of all locks and all cache entries. If -long is not specified only held locks and locked cache entries are printed. This option cannot be combined with -refcounts, -callbacks, -addrs, -cache, or -cellservdb.
Report the status of cache entries with non-zero reference counts. this option cannot be combined with with -long, -callbacks, -addrs, or -cache.
Report the status of cache entries with registered callbacks. This option cannot be combined with -long, -refcounts, -addrs, or -cache.
Print cache entry callback expiration times in human-readable format. When not specified callback expiration times are reported as the number of seconds since the UNIX epoch, 1 January 1970 00:00:00. This cache option cannot be combined with with -addrs or -cache.
This option disables the querying of lock and cache entry status. Instead it displays the Cache Manager's universally unique identifier, the list of network interfaces the Cache Manager answers on including their netmasks and MTUs, and its Capabilities. This is useful for analyzing clients that are experiencing communication difficulties with cell services. This option cannot be combined with -long, -refcounts, -callbacks, or -cache.
This option disables the querying of lock and cache entry status. Instead it displays the cache configuration. The information displayed matches the afsd configuraiton. This option cannot be combined with -long, -refcounts, -callbacks, or -addrs.
This option disables the querying of lock and cache entry status. Instead it displays all known location servers in a yfs-client.conf compatible format. This option can be used to see if a client has the most recent cellservdb information for a cell. This option cannot be combined with -long, -refcounts, -callbacks, or -cache.
Prints the online help for this command. All other valid options are ignored.
Displays all of the locked cache entries on
% cmdebug client1.your-cell-name.com
Displays the cache configuration for
% cmdebug client1.your-cell-name.com -cache
Displays all cache entries for
% cmdebug client2.your-cell-name.com -long
afsd(8), fs_newcell(1), yfs-client.conf(5)
Portions Copyright 2005 Russ Allbery <email@example.com>
This documentation is covered by the IBM Public License Version 1.0. This man page was written by Russ Allbery for OpenAFS.
"AFS" is a registered mark of International Business Machines Corporation, used under license. (USPTO Registration 1598389)
"OpenAFS" is a registered mark of International Business Machines Corporation. (USPTO Registration 4577045)
The "AuriStor" name, log 'S' brand mark, and icon are registered marks of AuriStor, Inc. (USPTO Registrations 4849419, 4849421, and 4928460) (EUIPO Registration 015539653).
"Your File System" is a registered mark of AuriStor, Inc. (USPTO Registrations 4801402 and 4849418).
"YFS" and "AuriStor File System" are trademarks of AuriStor, Inc.