rtop icon indicating copy to clipboard operation
rtop copied to clipboard

Support for ZFS filesystems?

Open ewwhite opened this issue 7 years ago • 1 comments

Is there any chance this tool can support ZFS filesystem mount points?

The rtop output is:
Filesystems:
           /:  18.02 GiB free of  18.56 GiB
       /boot: 411.04 MiB free of 451.22 MiB
        /tmp:   1.80 GiB free of   1.81 GiB
        /usr:   2.42 GiB free of   9.22 GiB
        /var:   4.23 GiB free of   5.48 GiB

A local file listing looks like this:
[root@xt ~]# ssh mdmarra df -h
Filesystem      Size  Used Avail Use% Mounted on
/dev/sda2        20G  558M   19G   3% /
tmpfs            24G   12K   24G   1% /dev/shm
/dev/sda1       477M   41M  412M   9% /boot
/dev/sda7       2.0G  3.1M  1.9G   1% /tmp
/dev/sda3       9.8G  6.8G  2.5G  74% /usr
/dev/sda6       5.8G  1.3G  4.3G  23% /var
vol1/images     292G  161G  132G  55% /images
vol1/ppro       202G   71G  132G  35% /ppro
vol1            133G  1.3G  132G   1% /vol1

ewwhite avatar Jan 06 '19 01:01 ewwhite

Try tweaking the code in stats.go function getFSInfo().

mdevan avatar Jan 06 '19 05:01 mdevan