SEARCH

Enter your search query in the box above ^, or use the forum search tool.

You are not logged in.

#1 2011-08-21 01:18:31

ruizlinux
#! Member
Registered: 2009-10-13
Posts: 74

fs_used_perc returning a fixed value in conky

it's stuck at 94% for both root and home

any ideas?

Offline

Be excellent to each other!

#2 2011-08-21 01:27:21

xeNULL
#! Pirate
From: The Internet
Registered: 2011-01-23
Posts: 811

Re: fs_used_perc returning a fixed value in conky

Post your config please =]

Are your arguments like this:

ROOT: ${fs_used_perc /}%
HOME: ${fs_used_perc /home/YourUsername/}%

and make sure your update_interval is set to 1.0

Last edited by xeNULL (2011-08-21 01:39:18)


AKA xii on #crunchbang #!WMFS2
dotshare | dA | 1 1 0 1 0 1 0 0 0

Offline

#3 2011-08-21 01:39:27

ruizlinux
#! Member
Registered: 2009-10-13
Posts: 74

Re: fs_used_perc returning a fixed value in conky

alignment top_right
background no
border_width 0
cpu_avg_samples 2
default_color white
default_outline_color white
default_shade_color black
draw_borders no
draw_graph_borders yes
draw_outline no
draw_shades no
use_xft yes
xftfont Lucida MAC:size=8
gap_x 0
gap_y 0
minimum_size 1280 5
maximum_width 1280
net_avg_samples 2
no_buffers yes
out_to_console no
out_to_stderr no
extra_newline no
own_window yes
own_window_transparent yes
own_window_type desktop
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
total_run_times 0
stippled_borders 0
update_interval 6.0
uppercase no
use_spacer none
show_graph_scale no
show_graph_range no
short_units yes
double_buffer yes

TEXT

${color black}          ${color grey}ram  ${color #E8E8E8}$memperc%    ${color black}|    ${color grey}swap  ${color #E8E8E8}$swapperc%    ${color black}|    ${color grey}root  ${color #E8E8E8}${fs_used_perc /}%    ${color black}|    ${color grey}home  ${color #E8E8E8}${fs_used_perc /home}%    ${color black}|    ${color grey}down  ${color #E8E8E8}${downspeed wlan0}    ${color black}|    ${color grey}up  ${color #E8E8E8}${upspeed wlan0}    ${color black}|    ${color grey}net  ${color #E8E8E8}${wireless_link_qual_perc wlan0}%    ${color black}|    ${color #E8E8E8}${addr wlan0}    ${color black}|    ${color grey}cpu  ${color #E8E8E8}${acpitemp}°    ${color black}|    ${color grey}hdd  ${color #E8E8E8}${execi 30 hddtemp /dev/sda | cut -c 36-37}°    ${color black}|    ${color grey}uptime  ${color #E8E8E8}${uptime_short}    ${color black}|    ${color grey}desktop  ${color #E8E8E8}${desktop}    ${color black}|    ${color #E8E8E8}${time %x} ${color grey}| ${color #E8E8E8}${time %B}

Offline

#4 2011-08-21 01:41:26

xeNULL
#! Pirate
From: The Internet
Registered: 2011-01-23
Posts: 811

Re: fs_used_perc returning a fixed value in conky

Its the update_interval set it to 1.0 instead of 6.0
and set your home fs perc to /home/YourUsername/ as I mentioned above

Last edited by xeNULL (2011-08-21 01:49:04)


AKA xii on #crunchbang #!WMFS2
dotshare | dA | 1 1 0 1 0 1 0 0 0

Offline

#5 2011-08-21 01:42:39

ruizlinux
#! Member
Registered: 2009-10-13
Posts: 74

Re: fs_used_perc returning a fixed value in conky

xeNULL wrote:

Post your config please =]

Are your arguments like this:

ROOT: ${fs_used_perc /}%
HOME: ${fs_used_perc /home/YourUsername/}%

and make sure your update_interval is set to 1.0


I already tried changing to /dev/sda1 etc

and the interval does nothing....

Offline

#6 2011-08-21 01:45:34

xeNULL
#! Pirate
From: The Internet
Registered: 2011-01-23
Posts: 811

Re: fs_used_perc returning a fixed value in conky

You don't need to change to /dev/sda1. Just change the things I mentioned and see if it works big_smile Also those values dont change often unless you are installing etc.

Last edited by xeNULL (2011-08-21 01:47:17)


AKA xii on #crunchbang #!WMFS2
dotshare | dA | 1 1 0 1 0 1 0 0 0

Offline

#7 2011-08-21 01:49:06

ruizlinux
#! Member
Registered: 2009-10-13
Posts: 74

Re: fs_used_perc returning a fixed value in conky

xeNULL wrote:

Also those values dont change often unless you are installing etc.

It's been stuck for many days now, and I have less than 1% on home currently.

tried interval=1 and the exact arguments.....nothing changed....

Last edited by ruizlinux (2011-08-21 01:51:24)

Offline

#8 2011-08-21 01:57:41

xeNULL
#! Pirate
From: The Internet
Registered: 2011-01-23
Posts: 811

Re: fs_used_perc returning a fixed value in conky

hmm not sure what else to suggest. I am sure one of the other guys will come to your aid =]


AKA xii on #crunchbang #!WMFS2
dotshare | dA | 1 1 0 1 0 1 0 0 0

Offline

#9 2011-08-21 02:48:48

Sector11
77345 ¡#
From: SR11 Cockpit
Registered: 2010-05-05
Posts: 13,407
Website

Re: fs_used_perc returning a fixed value in conky

Can you post the results of:

df -h

should look something like this:

  23:36:24 ~
         $ df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/sda1              19G  4.5G   13G  26% /
tmpfs                1007M     0 1007M   0% /lib/init/rw
udev                 1000M  168K  999M   1% /dev
tmpfs                1007M  4.0K 1007M   1% /dev/shm
/dev/sda2              37G  8.5G   27G  25% /home
/dev/sda5              92G   16G   72G  18% /media/5
/dev/sda6              81G  8.2G   69G  11% /media/6
tmpfs                1007M   24K 1007M   1% /tmp

  23:36:27 ~
         $ 

By the way running your conky here, I get:

root 30%  home 29%

slightly different than "df -h" but I believe it's because of the way it reports things.

Also if I add the commands as you have them in one of my conkys - I get the same:

├─┬─► Storage = root  ${fs_used_perc /}% | home  ${fs_used_perc /home}%
│ ├─ /ROOT     ${fs_used /}│${fs_free /}│${fs_size /}
│ ├─ /HOME     ${fs_used /home}│${fs_free /home}│${fs_size /home}
│ ├─ /media/5  ${fs_used /media/5}│${fs_free /media/5}│${fs_size /media/5}
│ └─ /media/6  ${fs_used /media/6}│${fs_free /media/6}│${fs_size /media/6}

full_fs-dh.png

Last edited by Sector11 (2011-09-12 15:46:15)

Offline

#10 2011-08-21 03:06:07

ruizlinux
#! Member
Registered: 2009-10-13
Posts: 74

Re: fs_used_perc returning a fixed value in conky

Filesystem            Size  Used Avail Use% Mounted on
/dev/sda1             9.2G  8.7G   53M 100% /
tmpfs                 738M     0  738M   0% /lib/init/rw
udev                  730M  216K  730M   1% /dev
tmpfs                 738M  1.2M  736M   1% /dev/shm
/dev/sda6             135G  127G 1016M 100% /home

Offline

#11 2011-08-21 03:13:11

ruizlinux
#! Member
Registered: 2009-10-13
Posts: 74

Re: fs_used_perc returning a fixed value in conky

I freed up 500mb on /

now it reports.....89%

/home still stuck, and it was stuck when i had 3-4gb free a few days back.

Last edited by ruizlinux (2011-08-21 03:14:27)

Offline

#12 2011-08-21 03:13:50

Sector11
77345 ¡#
From: SR11 Cockpit
Registered: 2010-05-05
Posts: 13,407
Website

Re: fs_used_perc returning a fixed value in conky

ruizlinux wrote:

Filesystem            Size  Used Avail Use% Mounted on
/dev/sda1             9.2G  8.7G   53M 100% /
tmpfs                 738M     0  738M   0% /lib/init/rw
udev                  730M  216K  730M   1% /dev
tmpfs                 738M  1.2M  736M   1% /dev/shm
/dev/sda6             135G  127G 1016M 100% /home

OH OH!!!!!!!!!!!!!!  That's not good ... try this:

du -sh *

To see what is taking up all your space if you are sure you really should not be at 100%

Offline

#13 2011-08-21 03:17:58

ruizlinux
#! Member
Registered: 2009-10-13
Posts: 74

Re: fs_used_perc returning a fixed value in conky

No, I really should be at 99% on home.....1G free on a 130G partition

as for / -- i didnt realise I was running so low....now i've freed up 500mb, it should be reporting 95%, but it's saying 89%....at least it changed...:)

Offline

#14 2011-08-21 03:35:51

Sector11
77345 ¡#
From: SR11 Cockpit
Registered: 2010-05-05
Posts: 13,407
Website

Re: fs_used_perc returning a fixed value in conky

ruizlinux wrote:

No, I really should be at 99% on home.....1G free on a 130G partition

as for / -- i didnt realise I was running so low....now i've freed up 500mb, it should be reporting 95%, but it's saying 89%....at least it changed...:)

WoW!  That's pretty close to loosing it.  Got another HDD?

That's exactly why I do not used my /home ... I let Linux use it, config files and such, but I use /media/5 for all my stuff.

Offline

Board footer

Powered by FluxBB

Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.

Debian Logo