Jump to content

pydf on FreeBSD


mudmanc4

Recommended Posts

FreeBSD 11.1 pydf reporting interesting disk usage.

Anyone see anything at all /maybe-not so much here?  {almost a litmus test} as in "Alex, I'll take what I would like to see rather than what I should see" for 500

 

root@bsd1:~ # pydf
Filesystem          Size  Used Avail  Use%                                    Mounted on
zroot/ROOT/default  111T   71T   40T  63.8 [####################............] /         
devfs              1024B 1024B     0 100.0 [################################] /dev      
zroot/tmp            40T   30M   40T   0.0 [................................] /tmp      
zroot/usr/home       40T   36M   40T   0.0 [................................] /usr/home 
zroot/usr/ports      40T  281G   40T   0.7 [................................] /usr/ports
zroot/usr/src        40T   22M   40T   0.0 [................................] /usr/src  
zroot/var/audit      40T   22M   40T   0.0 [................................] /var/audit
zroot/var/crash      40T   22M   40T   0.0 [................................] /var/crash
zroot/var/log        40T  114M   40T   0.0 [................................] /var/log  
zroot/var/mail       40T   31M   40T   0.0 [................................] /var/mail 
zroot/var/tmp        40T   24M   40T   0.0 [................................] /var/tmp  
zroot                40T   22M   40T   0.0 [................................] /zroot

 

bpc-bsd.png

Link to comment
Share on other sites

For comparison, here is a different BackupPC server, running Debian, which has been reporting correctly:

 

 

 

root@lime-bak:~# pydf
Filesystem  Size Used Avail Use%                                       Mounted on
/dev/dm-0  1802G 123G 1596G  6.8 [##.................................] /         
/dev/sda1   235M  33M  190M 13.9 [#####..............................] /boot

 

bpc-lime-bak.png

 

So it seems I've been elbow deep into the FreeBSD port, and will in time learn who the python script is getting their info from, and get it updated. Considering the following from the BSD box running df:

 

root@bsd1:~ # df -h
Filesystem            Size    Used   Avail Capacity  Mounted on
zroot/ROOT/default    445G    284G    160G    64%    /
devfs                 1.0K    1.0K      0B   100%    /dev
zroot/tmp             160G    120K    160G     0%    /tmp
zroot/usr/home        160G    144K    160G     0%    /usr/home
zroot/usr/ports       162G    1.1G    160G     1%    /usr/ports
zroot/usr/src         160G     88K    160G     0%    /usr/src
zroot/var/audit       160G     88K    160G     0%    /var/audit
zroot/var/crash       160G     88K    160G     0%    /var/crash
zroot/var/log         160G    480K    160G     0%    /var/log
zroot/var/mail        160G    128K    160G     0%    /var/mail
zroot/var/tmp         160G     96K    160G     0%    /var/tmp
zroot                 160G     88K    160G     0%    /zroot
zroot/usr/vmtest      160G     88K    160G     0%    /usr/vmtest

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...