EnglishFrenchSpanish

OnWorks favicon

cmdebug - Online in the Cloud

Run cmdebug in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command cmdebug that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


cmdebug - Reports the status of a host Cache Manager

SYNOPSIS


cmdebug -servers <machine> [-port <IP port>]
[-long] [-refcounts] [-callbacks] [-ctime] [-addrs]
[-cache] [-cellservdb] [-help]

cmdebug -s <machine> [-p <IP port>] [-l] [-r] [-cal]
[-ct] [-a] [-cac] -ce] [-h]

DESCRIPTION


The cmdebug command displays information about the Cache Manager and client cache status
on a local or remote AFS client machine. By default, it displays all locked cache
entries, but other information can be requested via various options.

CAUTIONS


The -ctime option is only available with OpenAFS version 1.4.7 and later or version 1.5.28
or later. This option can be used to gather information from any version of the Unix
OpenAFS client, but can only query Windows clients running OpenAFS version 1.5.28 or
later.

The -cellservdb option is only available with OpenAFS version 1.4.7 and later or version
1.5.31 or later. This option can be used to gather information from any version of the
Unix OpenAFS client, but can only query Windows clients running OpenAFS version 1.5.31 or
later.

OPTIONS


-servers <machine>
Names 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, fs1.example.com), or the shortest abbreviated form of its host name that
distinguishes it from other machines. Successful use of an abbreviated form depends on
the availability of a name resolution service (such as the Domain Name Service or a
local host table) at the time the command is issued.

-port <IP port>
Identifies the port on which to contact the Cache Manager. By default, the standard
port 7001 is used, so this option is very rarely needed.

-long
Reports on all lock statuses and all cache entries, rather than only locked cache
entries. Do not use this option with -refcounts, -callbacks, -addrs, -cache, or
-cellservdb.

-refcounts
Reports only those cache entries with non-zero reference counts. Do not use this
option with -long, -callbacks, -addrs, or -cache.

-callbacks
Reports only those cache entries with callbacks. Do not use this option with -long,
-refcounts, -addrs, or -cache.

-ctime
Causes entry expiration times to be shown in human-readable format. Do not use this
option with -addrs or -cache.

-addrs
Rather than showing any cache entries, displays the interfaces the Cache Manager
answers on, including their netmasks and MTUs. This is useful for analyzing clients
that are multihomed and identifying problems with netmasks or MTU settings. Do not
use this option with -long, -refcounts, -callbacks, or -cache.

-cache
Rather than showing any cache entries, displays the cache configuration for the client
machine. The information displayed is essentially the information that can be
configured via parameters to afsd. Do not use this option with -long, -refcounts,
-callbacks, or -addrs.

-cellservdb
Lists all known volume location database records in a CellServDB-compatible format.
This includes all records in memory, including those from the CellServDB file, DNS SRV
or AFSDB records, and the fs newcell command. This option could be used to see if a
client has the latest copy of the CellServDB file. Do not use this option with -long,
-refcounts, -callbacks, or -cache.

-help
Prints the online help for this command. All other valid options are ignored.

EXAMPLES


Displays all of the locked cache entries on "client1":

% cmdebug client1

Displays the cache configuration for "client1.example.com":

% cmdebug client1.example.com -cache

Displays all cache entries for "client2.example.com":

% cmdebug client2.example.com -long

PRIVILEGE REQUIRED


None

Use cmdebug online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    XMLTV
    XMLTV
    XMLTV is a set of programs to process
    TV (tvguide) listings and help manage
    your TV viewing, storing listings in an
    XML-based format. There are utilities to
    do...
    Download XMLTV
  • 2
    strikr
    strikr
    Strikr Free Software project. Artifacts
    released under a 'intent based'
    dual license: AGPLv3 (community) and
    CC-BY-NC-ND 4.0 international
    (commercial)...
    Download strikr
  • 4
    GIFLIB
    GIFLIB
    giflib is a library for reading and
    writing gif images. It is API and ABI
    compatible with libungif which was in
    wide use while the LZW compression
    algorithm was...
    Download GIFLIB
  • 5
    Alt-F
    Alt-F
    Alt-F provides a free and open source
    alternative firmware for the DLINK
    DNS-320/320L/321/323/325/327L and
    DNR-322L. Alt-F has Samba and NFS;
    supports ext2/3/4...
    Download Alt-F
  • 6
    usm
    usm
    Usm is a unified slackware package
    manager that handles automatic
    dependency resolution. It unifies
    various package repositories including
    slackware, slacky, p...
    Download usm
  • More »

Linux commands

Ad