Table of ContentsLibraryView in Frames

Example of the filestats command with no options specified

You can use the filestats command without any options to display information about a Snapshot copy, including a breakdown of files by size, age, user ID, and group ID, and the cumulative number of inodes for each value.

The following example shows sample output from the filestats command, without any options, for the hourly.1 Snapshot copy on vol0.

toaster> filestats volume vol0 snapshot hourly.1
VOL=vol0 SNAPSHOT=hourly.1
INODES=274528 COUNTED_INODES=875 TOTAL_BYTES=458354190 TOTAL_KB=143556


FILE SIZE         CUMULATIVE COUNT       CUMULATIVE TOTAL KB
1K                465                    1576
10K               832                    3356
100K              853                    3980
1M                856                    4660
10M               864                    32808
100M              875                    143524
1G                875                    143254
MAX               875                    143254

AGE(ATIME)        CUMULATIVE COUNT       CUMULATIVE TOTAL KB
0                 0                      0
30D               841                    132780
60D               850                    132932
90D               859                    143464
120D              875                    143528
MAX               875                    143528

UID               COUNT                  TOTAL KB
#0                873                    143528
#20041            2                      0

GID               COUNT                  TOTAL KB
#0                851                    41556
#30               21                     1972
#1                3                      0
Note: The # character preceding user IDs or group IDs in the UID and GID sections of the filestats command output indicates that the IDs cannot be found in the /etc/passwd and /etc/hosts files on the storage system.