You are not logged in.

#1 2008-06-02 06:22:23

fukawi2
Ex-Administratorino
From: .vic.au
Registered: 2007-09-28
Posts: 6,224
Website

Conky - MiB vs GiB works in fs_used but not fs_size

My .conkyrc has the following line:

 ${color #0077ff}/boot       $color${fs_used /boot}/${fs_size /opt}${alignr}${color #0077ff}${fs_bar 5,120 /boot}

Which works, kind of... The fs_used part shows correctly as 13.50MiB, but the fs_size shows incorrectly as 145.01GiB. My /boot partition is NOT 145GiB, it's 145MiB!

How do I get Conky to display it correctly? Does fs_size properly support partitions under 1gb? Is it a bug for the devs?

I know I could hack around it using exec df -h | grep | awk blah blah blah but I get the feeling that it should "just work"...

Last edited by fukawi2 (2008-06-02 06:23:29)

Offline

#2 2008-06-02 06:38:34

Purch
Member
From: Finland
Registered: 2006-02-23
Posts: 229

Re: Conky - MiB vs GiB works in fs_used but not fs_size

Maybe your /opt is 145 GB? wink

Offline

#3 2008-06-02 06:40:52

fukawi2
Ex-Administratorino
From: .vic.au
Registered: 2007-09-28
Posts: 6,224
Website

Re: Conky - MiB vs GiB works in fs_used but not fs_size

Shite. Don't I feel like a nuffy. Thanks Purch!

Move along people, nothing to see here!

Offline

#4 2008-06-02 07:08:54

droog
Member
Registered: 2004-11-18
Posts: 877

Re: Conky - MiB vs GiB works in fs_used but not fs_size

145 gig? thats a big /opt you have there.

Offline

#5 2008-06-02 08:39:13

fukawi2
Ex-Administratorino
From: .vic.au
Registered: 2007-09-28
Posts: 6,224
Website

Re: Conky - MiB vs GiB works in fs_used but not fs_size

droog wrote:

145 gig? thats a big /opt you have there.

/opt isn't it's own partition, 145gb is my /

I had lots of space for the system after migrating my /home off the 160gb to it's own 200gb drive tongue

Offline

Board footer

Powered by FluxBB