Go to main content

Managing File Systems in Oracle® Solaris 11.4

Exit Print View

Updated: November 2020
 
 

Monitoring File System Performance Using fsstat

Starting with Oracle Solaris 11, you can use the fsstat command to report file system operations. You can report file system operations in multiple ways. For example, reports based on mount point or file system type.

For example, use the fsstat command to display all ZFS file system operations since the ZFS module is loaded:

$ fsstat zfs
new  name   name  attr  attr lookup rddir  read read  write write
file remov  chng   get   set    ops   ops   ops bytes   ops bytes
268K  145K 93.6K 28.0M 71.1K   186M 2.74M 12.9M 56.2G 1.61M 9.46G zfs

For example, use the fsstat command to display all file system operations since the /export/ws file system is mounted:

$ fsstat /export/ws
new  name   name  attr  attr lookup rddir  read read  write write
file remov  chng   get   set    ops   ops   ops bytes   ops bytes
0     0     0 18.1K     0  12.6M    52     0     0     0     0 /export/ws

The default form is to report statistical information in easy to understand values, such as GB, KB, and MB. For more information, see the fsstat(8) man page.