 |
Index for Section 8 |
|
 |
Alphabetical listing for C |
|
 |
Bottom of page |
|
cfsstat(8)
NAME
cfsstat - Displays or resets CFS and ICS statistics
SYNOPSIS
/usr/bin/cfsstat [-c | -s] [-i seconds] [-l] [-S] [-v] [-z] [-Z]
[statistics...] [vmunix vmcore] [-h]
OPTIONS
-c Displays statistics for the client.
-s Displays statistics for the server. If neither the -c or -s
flags is specified, statistics for both are displayed.
-i seconds
Displays statistics every seconds seconds. Only statistics that
have changed in the time interval are displayed.
-l Specifies line mode. Each statistic is displayed on a separate
line.
-S Sorts statistics from largest to smallest values and eliminates
entries consisting of only zeroes.
-v Verbose mode.
-z Zeroes the statistics. If no statistics is specified, the values
of all statistics are set to zero. Only the superuser can use
the -z flag.
-Z Displays only non-zero statistics.
-h Displays help message.
statistics
The class of statistics to be displayed or to be reset to zero.
You can specify one or more of the following classes:
access CFS access cache statistics.
cfs CFS statistics.
cfsmnt CFS mounting statistics.
cfsall CFS and CFS mounting statistics combined.
cfsmem Memory usage statistics.
cfsmisc Miscellaneous CFS statistics.
cnode cnode hash statistics.
directio Direct I/O statistics.
fssvc CFS statistics by ICS service.
ics All ICS statistics.
icsstat ICS client/server statistics.
icschan ICS channel statistics (same as icschanbytes).
icssvc ICS service statistics (same as icssvcbytes).
icschanbps
ICS channel statistics (byte per second mode).
icschanbytes
ICS channel statistics (byte mode).
icschancounts
ICS channel statistics (count mode).
icschanops
ICS channel statistics (operations per second mode).
icssvcbytes
ICS service statistics (byte mode).
icssvccounts
ICS service statistics (count mode).
icschanhist
ICS channel transfer size histograms (total table, same
as icschanhisttot).
icschanhisttot
ICS channel transfer size histograms (total table, same
as icschanhist).
icschanhistcli
ICS channel transfer size histograms (client table).
icschanhistsvr
ICS channel transfer size histograms (server table).
icschanhistclirecv
ICS channel transfer size histograms (client receive
table).
icschanhistclisend
ICS channel transfer size histograms (client send
table).
icschanhistsvrrecv
ICS channel transfer size histograms (server receive
table).
icschanhistsvrsend
ICS channel transfer size histograms (server send
table).
icschanhistall
ICS channel transfer size histograms (all tables).
reads Client read statistics.
svrhash Server hash statistics.
tokstats Tokens traffic.
tokens Tokens statistics.
writes Client write statistics.
The following statistics are available only in DEBUG kernels.
icslog Last 200 message sent/received by ICS.
clitok_log
Client token log.
svrtok_log
Server token log.
cfslog CFS log.
cfslog_start
Turns on CFS logging.
cfslog_stop
Turns off CFS logging.
vmunix vmcore
Use The vmunix and vmcore arguments to specify a kernel and
kernel core. You must specify both files and give the full
pathnames. The crash dump file can be either a compressed file,
/var/adm/crash/vmzcore.n, or an uncompressed file,
/var/adm/crash/vmcore.n. The default is to display statistics
for /vmunix and /dev/kmem.
DESCRIPTION
The cfsstat command displays statistical information about the Cluster File
System (CFS) and internode communications service (ICS). It can also be
used to reinitialize one or more statistics.
Specifying no flags is the same as specifying all flags except -i, the
interval flag. If no options are given, cfsstat displays one iteration of
all information available. The command can also be used to gather token
statistics.
The command is offered as a debugging tool. The output format might change
in the future.
EXAMPLES
The following example gets ICS service statistics every 5 seconds. After
the first set of statistics is displayed, the updates show only the amount
of traffic that occurred between updates.
# cfsstat -i 5 -S icssvc
----------------------------------------
ICS service stat: Total messages: 30529454 (cli: 8% svr: 91%)
Name(svcnum) Chan Procs Usage Cli-sent Svr-recv Drops Retrans Fails
____________ ___ _____ ____ ________ ________ _____ _____ _____
FS(12) 3 47 68% 131679 20803936 0 0 0
CFS(9) 3 13 22% 999623 6018700 5 0 0
DLM(23) 13 2 5% 953737 624849 0 0 0
KCH(22) 12 2 1% 190253 203624 0 0 0
TUNNEL(17) 7 1 0% 285984 1440 0 0 0
CLUA(18) 8 2 0% 100017 157510 1 0 0
DRD(16) 6 7 0% 48774 91 0 0 0
SIGNAL(7) 0 2 0% 48 4538 0 0 0
KEVM(19) 9 1 0% 1518 1580 0 0 0
CMS(10) 3 8 0% 223 822 0 0 0
CFSREC(20) 10 5 0% 75 127 3 0 0
RDLD(21) 11 1 0% 84 84 0 0 0
CNX(0) 0 23 0% 69 69 0 0 0
----------------------------------------
ICS service stat: 167 msgs since last interval (cli: 67% svr: 32%)
(33 msgs per/sec)
Name(svcnum) Usage Cli-sent Svr-recv Drops Retrans Fails
____________ ____ ________ ________ _____ _____ _____
CFS(9) 9% 8 8 0 0 0
DLM(23) 36% 33 28 0 0 0
TUNNEL(17) 24% 41 0 0 0 0
CLUA(18) 29% 31 18 0 0 0
----------------------------------------
ICS service stat: 264 msgs since last interval (cli: 67% svr: 32%)
(52 msgs per/sec)
Name(svcnum) Usage Cli-sent Svr-recv Drops Retrans Fails
____________ ____ ________ ________ _____ _____ _____
FS(12) 2% 2 4 0 0 0
CFS(9) 4% 5 6 5 0 0
DLM(23) 56% 92 56 0 0 0
TUNNEL(17) 15% 42 0 0 0 0
CLUA(18) 21% 38 19 1 0 0
CFSREC(20) 0% 0 0 3 0 0
The following example gets the statistics for CFS mounts for both clients
and servers from the saved kernel image /var/adm/crash/vmunix.1, and the
compressed crash dump file /var/adm/crash/vmzcore.1:
# cfsstat -l cfsmnt /var/adm/crash/vmunix.1 /var/adm/crash/vmzcore.1
Total messages processed 738
client messages: 578 (78%)
0 ( 0%) cfscli_null
8 ( 1%) cfscli_getdomaindb
197 (26%) cfscli_getcmsdb
365 (49%) cfscli_getkgs_info
8 ( 1%) cfscli_mntserved
0 ( 0%) cfscli_unmount
server messages: 160 (21%)
0 ( 0%) cfssvr_null
0 ( 0%) cfssvr_getdomaindb
0 ( 0%) cfssvr_getcmsdb
160 (21%) cfssvr_getkgs_info
0 ( 0%) cfssvr_mntserved
0 ( 0%) cfssvr_unmount
EXIT VALUES
On successful completion the command exits with a status of 0 (zero);
otherwise the exit value is 1 (one).
FILES
/vmunix The kernel.
/var/adm/crash/vmunix.n
A copy of the kernel that was running at the time of a crash,
typically of /vmunix.
/var/adm/crash/vmzcore.n
The compressed crash dump file.
/var/adm/crash/vmcore.n
The uncompressed crash dump file.
/dev/kmem The kernel memory.
SEE ALSO
Commands: cfsmgr(8), drdmgr(8)
 |
Index for Section 8 |
|
 |
Alphabetical listing for C |
|
 |
Top of page |
|