Solaris

Esar is a replacement for the sar utility on Solaris. In addition to all the standard reporting features of sar, esar can also report network usage (UDP, TCP, NFS, and RPC traffic) and the processor load average.

You can check Esar release here

NFS v3 statistics

-N s_v3|version3|server|nfs|all statistics about NFS server with protocol version 3

NFSD v3 access commit create link lookup mkdir read readlnk remove rename rmdir symlink write NFSD v3 fsstat getattr fsinfo null pathconf setattr mknod readdir readirp

NFS v3 statistics

-N c_v3|version3|client|nfs|all statistics about NFS client with protocol version 3

NFS v3 access commit create link lookup mkdir read readlnk remove rename rmdir symlink write NFS v3 fsstat getattr fsinfo null pathconf setattr mknod readdir readirp

NFS v3 statistics

-N s_v2|version2|server|nfs|all statistics about NFS server with protocol version 2

NFSD v2 create link lookup mkdir read readdir readlnk remove rename rmdir symlnk write NFSD v2 getattr null root setattr statfs wrcache

NFS v3 statistics

-N c_v2|version2|client|nfs|all statistics about NFS client with protocol version 2

NFS v2 create link lookup mkdir read readdir readlnk remove rename rmdir symlnk write NFS v2 getattr null root setattr statfs wrcache

RPC statisitcs

-N cots_s|rpc|all statistics about RPC server with connection oriented protocol

RPCD(tcp) badcalls badlen calls dupchk dupreqs nullrcv xdrcall

RPC statisitcs

-N cots_c|rpc|all statistics about RPC client with connection oriented protocol

RPC(tcp) badcalls badverfs badxids calls cantconn intrpts newcreds nomem timeouts timers

RPC statisitcs

-N clts_s|rpc|all statistics about RPC server with connectionless protocol

RPCD(udp) badcalls badlen calls dupchk dupreqs nullrcv xdrcall

RPC statisitcs

-N clts_c|rpc|all statistics about RPC client with connectionless protocol

RPC(udp) badcalls badverfs badxids calls cantsend retrans newcreds nomem timeouts timers

Memory statistics

-M Statistics about memory usage. If there is more unix:0:system_pages:pageslocked than unix:0:system_pages:pp_kernel the kernel size is assume to be the size of locked page

Total Kernel Locked Avail

IP statistics

-R ip|all Statistics about IP

IP inRcvs/s inDlvrs/s noPorts/s outRqsts/s

TCP statistics

-R tcp|all Statistics about TCP (transmission control protocol)

TCP actvOpens/s atmptFails/s currEstab estabRsts/s hlfOpenDrp/s listenDrop/s listDropQ0/s passvOpens/s

rawip statistics

-R raw|all Statistics about RAWIP (all IP protocols except UDP, TCP and ICMP)

RAWIP inDgms/s inErrs/s outDgms/s outErrs/s CksErrs/s

udp statistics

-R udp|all Statistics about UDP (user datagram protocol)

UDP inDgms/s inErrs/s outDgms/s outErrs/s

paging statistics

-p Report paging activities

CPU atch/s pgin/s ppgin/s pflt/s vflt/s slock/s

paging statistisc

-g Report paging activities

CPU pgout/s ppgout/s pgfree/s pgscan/s %ufs_ipf

buffer statistics

-b Report buffer statistics

CPU bread/s lread/s %rcache bwrite/s lwrite/s %wcache phread/s phwrite/s

buffer statistics

-c Report of syscalls statistics

CPU scall/s sread/s swrit/s fork/s vfork/s exec/s rchar/s wchar/s intr/s trap/s

Queue statistics

-q Report Run and swap queue activities

runq-sz %runocc swpq-sz %swpocc

memory statistics

-r Report memory usage in kilobytes

freemem freeswap swpunalloc swpreserv swpalloc

TTY statistics

-y Report TTY statistics

CPU rawch/s canch/s outch/s rcvin/s xmtin/s mdmin/s

File access statistics

-a File and directory ccess statistics

CPU iget/s namei/s dirbk/s

CPU statistics

-u Report cpu usage (%w_io/%w_swap/%w_pio available only on solaris < 10)

CPU %usr %sys %wio %idle %w_io %w_swap %w_pio

memory statistics

-w report system swapping and switch activites

CPU swpin/s kbswin/s swpot/s kbswot/s pswch/s

semaphores statistics

-m Messages and semaphores statistics

CPU msg/s sema/s

interface traffic

-I Network interface statistics for packet,bytes and error. report also interface usage if available

interface ipacket/s opacket/s ibits/s obits/s ierror/s oerror/s %util

Interface misc

-B Network interface statistics for broadcast,multicast packets,collision and buffer exhaustion.

interface bcstrcv/s bcstxmt/s mcstrcv/s mcstxmt/s norcvbf/s noxmtbf/s coll/s

PSET load

-P Load Average and number of cpu in a pset at the time of collect

pset la1 la5 la15 ncpu

Disks statistics

-d Reports activity for each block device

device %busy read/s write/s kbr/s kbw/s avqr avqw avwait avserv

Load average

-L Load Average and number of process at the time of collect

la1 la5 la15 nproc