Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: fs_size not updating #2087

Open
Tokariew opened this issue Nov 21, 2024 · 5 comments
Open

[Bug]: fs_size not updating #2087

Tokariew opened this issue Nov 21, 2024 · 5 comments
Labels
bug related to incorrect existing implementation of some functionality disk io related to disk I/O statistics text related to `conky.text` variables, their parsing or implementation

Comments

@Tokariew
Copy link

What happened?

After updating to new fedora release, and conky, the fs_size stop being updated on update_interval time. If i delete files the usage in df -h go down, but not in the conky

Version

1.21.7

Which OS/distro are you seeing the problem on?

Fedora

Conky config

conky.config = {
  background = true,
  double_buffer = true,
  no_buffers = true,
  xinerama_head = 2,
  cpu_avg_samples = 2,
  diskio_avg_samples = 10,
  net_avg_samples = 2,
  update_interval = 2,

  font = 'Fira Code:size=9',
  font1 = 'Fira Code:style=Bold:size=24',
  font2 = 'Fira Code:style=Bold:size=12',
  font3 = 'Fira Code:style=Bold:size=10',

  default_bar_width = 100,
  default_bar_height = 10,
  default_graph_height = 14,
  default_graph_width = 100,

  override_utf8_locale = true,
  use_xft = true,
  format_human_readable = true,
  max_text_width = 0,
  short_units = true,
  top_name_width = 21,
  top_name_verbose = false,
  uppercase = false,

  draw_borders = false,
  draw_graph_borders = false,

  default_color = '#FFCC00',
  color1 = '#CDD3DE',
  color2 = '#8BD649',
  color3 = '#EC5F67',
  color4 = '#89DDFF',
  color5 = '#82AAFF',
  color6 = '#80CBC4',
  own_window_colour = '#263238',

  own_window = true,
  own_window_argb_visual = true,
  own_window_argb_value = 217,
  own_window_type = 'override',

  alignment = 'top_right',
  border_inner_margin = 6,

  gap_x = 8 + 24,
  gap_y = 8 + 24,
};


conky.text = [[
${font1}${alignc}${color1}${time %H}:${time %M}${font}${color}
${font2}${alignc}${color1}${time %A} ${time %Y}-${time %m}-${time %d}${font}${color}
## System ##
${color3}${font3}${voffset 2}SYSTEM  ${hr 2}${font}${color}
${color2}${voffset 4}Hostname:${color}${alignr}${nodename}
${color2}Distro:${color}${alignr}${execi 6000 lsb_release -a | grep 'Description'| awk -F ":\t" {'print $2'} | awk {'print $1, $2, $3'}}
${color2}Kernel:${color}${alignr}${exec uname -r}
${color2}Uptime:${color}${alignr}${uptime}

## Drives ##
${color3}${font3}${voffset 2}DRIVES ${hr 2}${font}${color}
${color2}${voffset 4}Root - NVME:
${color2}${offset 8}Usage:${color}${alignr}${offset -10}${fs_used /}/${fs_size /}${alignr}${fs_bar /}
${color2}${offset 8}${voffset 1}I/O Read:${color}${alignr}${offset -10}${diskio_read partuuid:e1ea5836-7289-4b5f-bc9b-90813452cb88}/s${voffset 0}${alignr}${diskiograph_read partuuid:e1ea5836-7289-4b5f-bc9b-90813452cb88}
${color2}${offset 8}${voffset 1}I/O Write:${color}${alignr}${offset -10}${diskio_write partuuid:e1ea5836-7289-4b5f-bc9b-90813452cb88}/s${voffset 0}${alignr}${diskiograph_write partuuid:e1ea5836-7289-4b5f-bc9b-90813452cb88}
${color2}Data - NVME:
${color2}${offset 8}Usage:${color}${alignr}${offset -10}${fs_used /media/nvme}/${fs_size /media/nvme}${alignr}${fs_bar /media/nvme}
${color2}${offset 8}${voffset 1}I/O Read:${color}${alignr}${offset -10}${diskio_read label:data}/s${voffset 0}${alignr}${diskiograph_read label:data}
${color2}${offset 8}${voffset 1}I/O Write:${color}${alignr}${offset -10}${diskio_write label:data}/s${voffset 0}${alignr}${diskiograph_write label:data}
]];

Stack trace

No response

Relevant log output

No response

@Tokariew Tokariew added bug related to incorrect existing implementation of some functionality triage issue that hasn't been verified, categorized or acknowledged yet labels Nov 21, 2024
@Caellian Caellian added disk io related to disk I/O statistics text related to `conky.text` variables, their parsing or implementation bug related to incorrect existing implementation of some functionality and removed bug related to incorrect existing implementation of some functionality triage issue that hasn't been verified, categorized or acknowledged yet labels Nov 22, 2024
@Caellian
Copy link
Collaborator

Caellian commented Nov 22, 2024

  • Which FS are you using for paths that don't update properly?
  • What version of Fedora are you on?

@Caellian Caellian added the need details waiting for more details from reporter or community label Nov 22, 2024
@ssergey2018
Copy link

ssergey2018 commented Nov 22, 2024

I have the same problem on fedora 41 and XFS file system. I have not tried other file systems except FAT (ESP) partition. The behavior is the same. Conky v1.21.7

@Tokariew
Copy link
Author

Tokariew commented Nov 22, 2024 via email

@yandrey0
Copy link

#2033 fix it

@Caellian Caellian removed the need details waiting for more details from reporter or community label Nov 27, 2024
@ExecutorElassus
Copy link

Might this be related to a weird behavior I'm seeing in mine? I have the following lines in my config:

${goto 90}${font ubuntu:size=6}${color}used: ${fs_used /usr} /usr
${goto 90}${font ubuntu:size=6}${color}used: ${fs_used /boot} /boot

However, in the conky display, what I see is:

used: 62 MiB /usr
used 26.1 GiB /boot

Those values are swapped (ie, /boot, obviously, is the partition using 62MiB, and /usr is the one using 26 GiB).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug related to incorrect existing implementation of some functionality disk io related to disk I/O statistics text related to `conky.text` variables, their parsing or implementation
Projects
None yet
Development

No branches or pull requests

5 participants