NodeWorx Disk Usage

How does NodeWorx get the current disk usage information?
I’ve noticed that the NodeWorx is different from what i see on my logwatch. Also, I just did a df from shell its reporting more than NodeWorx. Does NodeWorx only count SiteWorx account space used and not total space inculding files root or other admin account have stored?

Where are you looking, Justin? On the main NodeWorx page or on the total at the bottom of the SiteWorx page list?

Run df -h for the actual current info (this is what NodeWorx page outputs, but a quick comparison on my own box shows it’s not 100% the same)

From the shell:


[root@iworx ~]# df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/sda5              71G   50G   18G  74% /
/dev/sda1              99M  8.3M   86M   9% /boot
/dev/sda3            1012M   34M  927M   4% /tmp
none                 1014M     0 1014M   0% /dev/shm
/dev/sdb1             367G  6.1G  343G   2% /storage
/dev/sdc1              74G   85M   70G   1% /backups
[root@iworx ~]#

From NodeWorx:


 Mount Point Partition % Used Free Space 
/ /dev/sda5 70% 22.03 GB 
/boot /dev/sda1 8% 0.09 GB 
/tmp /dev/sda3 3% 1.00 GB 
/storage /dev/sdb1 2% 378.25 GB 
/backups                 /dev/sdc1                 0%                                  76.81 GB  

From LogWatch:


------------------ Disk Space --------------------

/dev/sda5              71G   50G   18G  74% /
/dev/sda1              99M  8.3M   86M   9% /boot
/dev/sda3            1012M   34M  927M   4% /tmp
/dev/sdb1             367G  6.1G  343G   2% /storage
/dev/sdc1              74G   85M   70G   1% /backups 

The total at the bottom of the SiteWorx list only shows the total disk space for all SiteWorx accounts and nothing else.

[root@server1 ~]# df
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/md1             113211632  90847444  16613324  85% /
/dev/md0                101018     16699     79103  18% /boot
none                    481028         0    481028   0% /dev/shm
Disk Usage:  	
Mount Point 	Partition 	% Used 	Free Space
/ 	             /dev/md1 	81% 	21.71 GB
/boot 	           /dev/md0 	17% 	0.08 GB