You are not logged in.

#1 2009-06-20 01:31:28

jt512
Member
Registered: 2009-02-19
Posts: 262

Conky fs_free reporting wrong amount of free space

I just noticed that ever since version 1.7, Conky $fs_free has been reporting an amount of free space that is several GB too high, compared with df -h.  I had to revert all the way back to version 1.6.1-2 to find a version that reported the correct amount.  Anyone else notice this?  It can't just be me.

Jay

Offline

#2 2009-06-20 03:46:25

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: Conky fs_free reporting wrong amount of free space

I had noticed the same thing a couple of months back: I went so far as to post a question on the conky forum at SourceForge but it went unanswered. I just figured it was one of those annoyances that you had to live with: hadn't occurred to me to roll back that far...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2009-06-20 03:49:17

ralvez
Member
From: Canada
Registered: 2005-12-06
Posts: 1,694
Website

Re: Conky fs_free reporting wrong amount of free space

Mine is OK ... mostly. smile
I get the % correct but the actual size of the HD is off but  +/- 1 G.

R

Offline

#4 2009-06-21 20:18:07

reztho
Member
Registered: 2007-12-16
Posts: 42

Re: Conky fs_free reporting wrong amount of free space

I asked about this in the official irc channel months ago...

Well, what conky reports is correct. It's reporting the real free space. What you see with df -h is the free space without the root reserved free space which it's 5% of the partition by default. In my opinion it's unnecessary to keep this reserved space for a /home partition for example where processes which use /home are from non-priviliged users. You can tune the reservation percentage with tune2fs -m number /dev/device.

Last edited by reztho (2009-06-21 21:05:21)

Offline

#5 2009-06-21 20:57:36

jt512
Member
Registered: 2009-02-19
Posts: 262

Re: Conky fs_free reporting wrong amount of free space

Interesting.  Thanks.

Offline

Board footer

Powered by FluxBB