JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
man pages section 1M: System Administration Commands     Oracle Solaris 11.1 Information Library
search filter icon
search icon

Document Information

Preface

Introduction

System Administration Commands - Part 1

6to4relay(1M)

acct(1M)

acctadm(1M)

acctcms(1M)

acctcon1(1M)

acctcon(1M)

acctcon2(1M)

acctdisk(1M)

acctdusg(1M)

acctmerg(1M)

accton(1M)

acctprc1(1M)

acctprc(1M)

acctprc2(1M)

acctsh(1M)

acctwtmp(1M)

acpihpd(1M)

adbgen(1M)

add_allocatable(1M)

addbadsec(1M)

add_drv(1M)

aimanifest(1M)

arp(1M)

asradm(1M)

asr-notify(1M)

atohexlabel(1M)

audit(1M)

auditconfig(1M)

auditd(1M)

auditrecord(1M)

auditreduce(1M)

auditstat(1M)

audit_warn(1M)

automount(1M)

automountd(1M)

autopush(1M)

bart(1M)

beadm(1M)

boot(1M)

bootadm(1M)

bootconfchk(1M)

bootparamd(1M)

busstat(1M)

captoinfo(1M)

catman(1M)

cfgadm(1M)

cfgadm_ac(1M)

cfgadm_cardbus(1M)

cfgadm_fp(1M)

cfgadm_ib(1M)

cfgadm_pci(1M)

cfgadm_sata(1M)

cfgadm_sbd(1M)

cfgadm_scsi(1M)

cfgadm_sdcard(1M)

cfgadm_shp(1M)

cfgadm_sysctrl(1M)

cfgadm_usb(1M)

chargefee(1M)

chat(1M)

check-hostname(1M)

check-permissions(1M)

chk_encodings(1M)

chroot(1M)

cimworkshop(1M)

ckpacct(1M)

clear_locks(1M)

clinfo(1M)

closewtmp(1M)

clri(1M)

comsat(1M)

configCCR(1M)

consadm(1m)

console-reset(1M)

coreadm(1M)

cpustat(1M)

croinfo(1M)

cron(1M)

cryptoadm(1M)

datadm(1M)

dcopy(1M)

dcs(1M)

dd(1M)

ddu(1M)

ddu-text(1M)

devchassisd(1M)

devfsadm(1M)

devfsadmd(1M)

device_allocate(1M)

device_remap(1M)

devinfo(1M)

devlinks(1M)

devnm(1M)

devprop(1M)

df(1M)

dfmounts(1M)

dfmounts_nfs(1M)

dfshares(1M)

dfshares_nfs(1M)

df_ufs(1M)

dhcpagent(1M)

dhcpconfig(1M)

dhcpmgr(1M)

dhtadm(1M)

dig(1M)

directoryserver(1M)

diskinfo(1M)

disks(1M)

diskscan(1M)

dispadmin(1M)

distro_const(1M)

dladm(1M)

dlmgmtd(1M)

dlstat(1M)

dmesg(1M)

dminfo(1M)

dns-sd(1M)

dnssec-dsfromkey(1M)

dnssec-keyfromlabel(1M)

dnssec-keygen(1M)

dnssec-makekeyset(1M)

dnssec-signkey(1M)

dnssec-signzone(1M)

dodisk(1M)

domainname(1M)

drd(1M)

drvconfig(1M)

dsbitmap(1M)

dscfg(1M)

dscfgadm(1M)

dscfglockd(1M)

dsstat(1M)

dsvclockd(1M)

dtrace(1M)

dumpadm(1M)

editmap(1M)

edquota(1M)

eeprom(1M)

efdaemon(1M)

embedded_su(1M)

emCCR(1M)

emocmrsp(1M)

etrn(1M)

fbconfig(1M)

fbconf_xorg(1M)

fcadm(1M)

fcinfo(1M)

fdetach(1M)

fdisk(1M)

ff(1M)

ff_ufs(1M)

fingerd(1M)

fiocompress(1M)

flowadm(1M)

flowstat(1M)

fmadm(1M)

fmd(1M)

fmdump(1M)

fmstat(1M)

fmthard(1M)

format(1M)

fruadm(1M)

fsck(1M)

fsck_pcfs(1M)

fsck_udfs(1M)

fsck_ufs(1M)

fsdb(1M)

fsdb_udfs(1M)

fsdb_ufs(1M)

fsflush(1M)

fsirand(1M)

fssnap(1M)

fssnap_ufs(1M)

fsstat(1M)

fstyp(1M)

fuser(1M)

fwflash(1M)

fwtmp(1M)

getdevpolicy(1M)

getent(1M)

gettable(1M)

getty(1M)

gkadmin(1M)

groupadd(1M)

groupdel(1M)

groupmod(1M)

growfs(1M)

grpck(1M)

gsscred(1M)

gssd(1M)

hald(1M)

hal-device(1M)

hal-fdi-validate(1M)

hal-find(1M)

hal-find-by-capability(1M)

hal-find-by-property(1M)

hal-get-property(1M)

hal-set-property(1M)

halt(1M)

hextoalabel(1M)

host(1M)

hostconfig(1M)

hotplug(1M)

hotplugd(1M)

htable(1M)

ickey(1M)

id(1M)

idmap(1M)

idmapd(1M)

idsconfig(1M)

ifconfig(1M)

if_mpadm(1M)

ifparse(1M)

iiadm(1M)

iicpbmp(1M)

iicpshd(1M)

ikeadm(1M)

ikecert(1M)

ilbadm(1M)

ilbd(1M)

ilomconfig(1M)

imqadmin(1M)

imqbrokerd(1M)

imqcmd(1M)

imqdbmgr(1M)

imqkeytool(1M)

imqobjmgr(1M)

imqusermgr(1M)

in.chargend(1M)

in.comsat(1M)

in.daytimed(1M)

in.dhcpd(1M)

in.discardd(1M)

in.echod(1M)

inetadm(1M)

inetconv(1M)

inetd(1M)

in.fingerd(1M)

infocmp(1M)

in.iked(1M)

init(1M)

init.sma(1M)

init.wbem(1M)

inityp2l(1M)

in.lpd(1M)

in.mpathd(1M)

in.named(1M)

in.ndpd(1M)

in.rarpd(1M)

in.rdisc(1M)

in.rexecd(1M)

in.ripngd(1M)

in.rlogind(1M)

in.routed(1M)

in.rshd(1M)

in.rwhod(1M)

install(1M)

installadm(1M)

installboot(1M)

installf(1M)

installgrub(1M)

in.stdiscover(1M)

in.stlisten(1M)

in.talkd(1M)

in.telnetd(1M)

in.tftpd(1M)

in.timed(1M)

intrd(1M)

intrstat(1M)

in.uucpd(1M)

iostat(1M)

ipaddrsel(1M)

ipadm(1M)

ipf(1M)

ipfs(1M)

ipfstat(1M)

ipmgmtd(1M)

ipmon(1M)

ipmpstat(1M)

ipnat(1M)

ippool(1M)

ipqosconf(1M)

ipsecalgs(1M)

ipsecconf(1M)

ipseckey(1M)

iscsiadm(1M)

isns(1M)

isnsadm(1M)

itadm(1M)

itu(1M)

js2ai(1M)

k5srvutil(1M)

kadb(1M)

kadmin(1M)

kadmind(1M)

kadmin.local(1M)

kcfd(1M)

kclient(1M)

kdb5_ldap_util(1M)

kdb5_util(1M)

kdcmgr(1M)

kernel(1M)

keyserv(1M)

killall(1M)

kmem_task(1M)

kmscfg(1M)

kprop(1M)

kpropd(1M)

kproplog(1M)

krb5kdc(1M)

ksslcfg(1M)

kstat(1M)

ktkt_warnd(1M)

labeld(1M)

labelit(1M)

labelit_hsfs(1M)

labelit_udfs(1M)

labelit_ufs(1M)

lastlogin(1M)

latencytop(1M)

ldapaddent(1M)

ldap_cachemgr(1M)

ldapclient(1M)

ldmad(1M)

link(1M)

llc2_loop(1M)

lldpadm(1M)

lldpd(1M)

lms(1M)

locator(1M)

lockd(1M)

lockfs(1M)

lockstat(1M)

lofiadm(1M)

logadm(1M)

logins(1M)

lshal(1M)

System Administration Commands - Part 2

System Administration Commands - Part 3

dsstat

- report Sun StorageTek Availability Suite I/O statistics

Synopsis

dsstat -m mode [-r report–options] [-d display-options]
 [-s volume-sets] [-f | -F] [-z] [interval [count]]

Description

The dsstat command collects and reports I/O statistics for the Sun StorageTek Availability Suite products.

Options

The dsstat supports the following options:

-m mode

Specifies the mode(s) of operation. Valid modes are:

cache

Cache statistics

ii

Point-in-Time Copy statistics

sndr

Remote Mirror statistics

To display statistics for multiple services simultaneously, use the -m switch to specify each of the modes required. For example:

% dsstat -m ii -m sndr
% dsstat -m ii -m sndr -m cache

To determine which statistics are being reported from which service, use the role field, described below. When cache statistics are requested as one of the multiple services, the rkps and wkps statistics is further divided into crkps, drkps, cwkps, and dwkps. If no -m switch is specified, then dsstat displays default statistics for all of the valid modes as described above. See “Field Descriptions,” below for descriptions of these fields.

-r report–options

Specifies the volume components to be displayed. Each item is represented by a single character, and multiple items can be selected. The report–options vary based on the mode(s) specified above. This option is not used for cache mode.

Valid report-options for ii mode are:

m

Master volume statistics.

  • For the “report-options for ii mode”: m, s, b, o

  • For the “report-options for sndr mode”: b, n

  • For the “display-options for cache mode”: r, w, d, c, s, f

  • For the “display-options for ii mode”: r, w, t, s, p, f

s

Shadow volume statistics.

b

Bitmap volume statistics.

o

Overflow volume statistics, if attached.

Valid report–options for sndr mode are:

b

Bitmap volume statistics.

n

Network volume statistics.

-d display–options

Specifies the statistics to be displayed. The types of statistics are represented by a single character; multiple types can be specified.

For cache mode, the valid display-options are:

r

Detailed read statistics.

w

Detailed write statistics.

s

Summary statistics.

f

Cache behavior flags.

The following display–options are available only for cache mode, they need to be combined with the mode options (-m)

d

Destaged data statistics.

c

Write cancellation statistics.

The default display-options for cache are sf.

For ii mode, the valid display-options are:

r

Detailed read statistics.

w

Detailed write statistics.

t

Timing statistics.

s

Summary statistics.

p

Percentage of volume requiring sync.

f

Volume type/status flags.

The default display-options for ii are spf. For sndr mode, the valid display-options are:

r

Detailed read statistics.

w

Detailed write statistics.

t

Timing statistics.

s

Summary statistics.

p

Percentage of volume requiring sync.

f

Volume type/status flags.

q

Asynchronous queue statistics.

The following display-option is only available for sndr mode, and needs to be combined with the mode options (-m).

q

Asynchronous queue statistics.

The default display-options for sndr are spf.

Specifying the summary display–option causes r w t display–options to be ignored.

-s volume–sets

Filters the output to include only the specified volume–sets, where volume-sets is a comma-delimited list of volume names. When displaying Remote Mirror statistics, the name specified is compared to the Remote Mirror primary volume to determine if they match. Additionally, an Remote Mirror volume should be specified as <host>:<volume> where <host> is the primary or secondary host and <volume> is the volume name by which that host recognizes the volume set. When specifying multiple Remote Mirror volumes sets, be aware that each volume set specified is evaluated individually, using the rules above. When displaying Point-in-Time Copy statistics, the volume name specified is compared to the Point-in-Time Copy shadow volume to determine if they match.

-f

Output field headers at every reporting cycle.

-F

Output field headers once, when reporting begins.

-z

Suppress report lines that have zero values or no activity.

Operands

The dsstat command line supports the following operands:

interval

Specifies the interval for each report, in seconds. If no interval is specified, a single report with a one second interval is output.

Due to the varying number of entries in a given set and the varying number of sets, header information might appear in the middle of a set being reported. To avoid this, use the -f or -F options to display the header information at the desired time.

count

Specifies the number of reports to generate. If no count is specified, output continues until interrupted.

Field Descriptions

Unless otherwise specified, all fields are per-second averages based on the data collected during the specified interval.

name

Name of the entity being reported

t

Volume type

s

Volume status

r

Cache read behavior

w

Cache write behavior

pct

Percentage of volume requiring sync

role

Role of the item being reported

tps

Total number of reads + writes

rtps

Number of reads

wtps

Number of writes

kps

Total kilobytes read + written

rkps

Kilobytes read

wkps

Kilobytes written

crkps

Kilobytes read from cache

drkps

Kilobytes read from disk

cwkps

Kilobytes written to cache

dwkps

Kilobytes written to disk

ckps

Kilobytes transferred to or from cache

dkps

Kilobytes transferred to or from disk

svt

Service time per operation

hit

Read hits during interval

ds/s

Kilobytes destaged from cache

cn/s

Number of write cancellations

q

Type of asynchronous queuing being used

qi

Number of items currently queued

qk

Kilobytes currently queued

qhwi

High water mark of queued items

qhwk

High water mark of queued kilobytes

The name field displays only the last 16 characters of the name.

Valid cache behaviors for cache are:

C

Cache reads/writes

D

Disk reads/writes

Valid volume types for ii are:

I

Independent shadow volume

D

Dependent shadow volume

Valid volume status for ii is:

C

Copy in progress

-

No copy in progress

Valid volume types for sndr are:

P

This is the primary host of this volume set

S

This is the secondary host of this volume set

Valid volume status for sndr is:

L

Changes to this volume are being logged

Q

Volume are in queuing mode

R

Replicating changes to secondary

SY

Synchronization in progress. Sending data.

RS

Reverse synchronization in progress. Receiving data.

SN

Synchronization needed

RN

Reverse synchronization needed

VF

Volume failed

BF

Bitmap failed

QF

Queue failed

Valid queue types for sndr are:

D

Disk-based queuing enabled

M

Memory-based queuing enabled

Volume roles for sndr are:

net

Network volume statistics

bmp

Bitmap volume statistics

Volume roles for ii are:

mst

Master volume statistics

shd

Shadow volume statistics

bmp

Bitmap volume statistics

ovr

Overflow volume statistics

Examples

Example 1 Report Cache Statistics

The following example shows the display of Report Cache statistics, with detailed breakdowns of read and writes to cache/disk. Reports are generated at five second intervals. Reporting is limited to the set /dev/rdsk/c1t1d0s0.

 # dsstat -m cache -d rw -s /dev/rdsk/c1t1d0s0 5
- read -             - write -      
name                ckps   dkps    hit   ckps   dkps    hit 
dev/rdsk/c1t1d0s0      0      0   0.00      0      0   0.00 
dev/rdsk/c1t1d0s0      3   2396   0.13    983    763 100.00 
dev/rdsk/c1t1d0s0   2399    799  75.00   2815   2686 100.00 
dev/rdsk/c1t1d0s0   3200    800  80.00   2755   2908 100.00 
dev/rdsk/c1t1d0s0   3999    799  83.33   2809   2868 100.00 
dev/rdsk/c1t1d0s0   4800    800  85.71   2867   2931 100.00

Example 2 Report Master, Shadow and Bitmap Statistics

Report master, shadow and bitmap statistics for Point-in-Time Copy, using default output. Generate reports at two second intervals.

# dsstat -m ii -r msb 2 
name               t  s    pct role    kps   tps  svt 
dev/rdsk/c0t1d0s5  I  C  96.15  mst  19921    38   22 
dev/rdsk/c0t1d0s6               shd   9960    19   20 
dev/rdsk/c0t1d0s7               bmp     39    77    2 
dev/rdsk/c0t1d0s5  I  C  94.24  mst  19623    38   22 
dev/rdsk/c0t1d0s6               shd   9939    19   20 
dev/rdsk/c0t1d0s7               bmp     39    77    2 
dev/rdsk/c0t1d0s5  I  C  92.34  mst  19969    39   22 
dev/rdsk/c0t1d0s6               shd   9984    19   20 
dev/rdsk/c0t1d0s7               bmp     39    78    2

Example 3 Report Network Statistics for Remote Mirror

Report network statistics for Remote Mirror, using detailed read, write statistics. Report includes volume type/status flags and percentages. Generate reports at two second intervals. Limit reporting to the set /dev/rdsk/c0t1d0s0.

# dsstat -m sndr -r n -d rwpf -s /dev/rdsk/c0t1d0s0 2 
name               t  s    pct role   rkps  rtps   wkps  wtps 
dev/rdsk/c0t1d0s0  P  L 100.00  sec      0     0      0     0 
dev/rdsk/c0t1d0s0  P SY  99.90  sec      0     0    288     9 
dev/rdsk/c0t1d0s0  P SY  97.90  sec      0     0   5296   165 
dev/rdsk/c0t1d0s0  P SY  95.81  sec      0     0   5184   161 
dev/rdsk/c0t1d0s0  P SY  93.81  sec      0     0   5280   164 
dev/rdsk/c0t1d0s0  P SY  91.71  sec      0     0   5198   162

Exit Status

The following exit values are returned:

0

Successful completion.

1

Successful completion, no statistics to report.

2

An invalid argument has been encountered.

3

No memory is available to create kstat statistics.

4

An unknown error has occurred.

Attributes

See attributes(5) for descriptions of the following attributes:

ATTRIBUTE TYPE
ATTRIBUTE VALUE
Availability
storage/avs/avs-cache-management
Interface Stability
Committed

See Also

dscfg(1M), svadm(1M), ds.log(4), rdc.cf(4), attributes(5)