Nuove funzioni di Solaris Express Developer Edition

Strumento di monitoraggio dei file system (fsstat)

È disponibile un nuovo strumento di monitoraggio dei file system, fsstat. L'attività può essere indicata in base al punto di attivazione o al tipo di file system.

Il seguente esempio del comando fsstat visualizza tutte le operazioni relative al file system ZFS.


$ fsstat zfs
 new  name   name  attr  attr lookup rddir  read read  write write
 file remov  chng   get   set    ops   ops   ops bytes   ops bytes
8.26K  240K 6.34K 4.03M 6.33K  12.6M  482K  204K 1.24G 13.4K  363M zfs

Il seguente esempio del comando fsstat visualizza tutte le operazioni relative al file system per il punto di attivazione /export/home.


$ fsstat /export/home
 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   972     0    224    22     0     0     0     0 /export/home

Il seguente esempio del comando fsstat visualizza tutte le operazioni relative a tutti i tipi di file system.


$ fsstat -F
 new  name   name  attr  attr lookup rddir  read read  write write
 file remov  chng   get   set    ops   ops   ops bytes   ops bytes
1.71K 1.16K    37  371K   562  1.90M 1.04K  151K  142M 21.9K 55.3M ufs
    0     0     0 1.60K     0  2.93K   344 1.30K  761K     0     0 proc
    0     0     0     0     0      0     0     0     0     0     0 nfs
8.31K  240K 6.37K 4.04M 6.48K  12.6M  482K  204K 1.25G 13.7K  365M zfs
   29    12    12 37.4K     8  22.5K    28 1.04K 2.34M   120 76.1K lofs
10.8K 4.72K 5.43K 54.6K    49  19.8K    28  173K  610M  513K  487M tmpfs
    0     0     0   338     0      0     0    44 12.2K     0     0 mntfs
    1     1     1   429     1  14.3K   115 1.34K 1002K     0     0 nfs3
   12     6     9   150     0    442    30    91 3.32M    12 69.2K nfs4
    1     0     1 20.8K     0  20.5K     0     0     0     0     0 autofs

Per maggiori informazioni, vedere la pagina man fsstat(1M).