You are not logged in.

#1 2017-07-29 08:17:17

dockland
Member
From: Sweden
Registered: 2015-06-06
Posts: 861

[SOLVED] i3status - Indicator without source

Link to my i3statusbar image below, if you check the |0.09| E: 192.16... (that randomly changes between ~|0.03| to |0.12| every other second or so)

I can't find any related setting or where that indicator comes from when reading my i3status config file.
I've tried a major download to see if it's some speed indicator for current load on my Ethernet, nope.
I've done a major compile to see if it's some kind of CPU usage or so (even though i have the correct CPU_Usage in the bar itself, in a separate line that is working fine, so it's not related to neither CPU load or NET load, so I'm a bit curios 

1. What that "live" measuring "something" is?
2. Where in earth (or more precise in my i3status config) the value(s) come from?

2017_07_29_094218_1684x29_scrot.png

My i3status config:

general {
  output_format = "i3bar"
  colors = true
  interval = 5
        color_good = "#268bd2"
        color_bad = "#cb4b16"
        color_degraded = "#b58900"
}

order += "volume master"
order += "disk /"
order += "disk /home"
order += "load"
order += "ethernet eno1"
order += "cpu_usage"
order += "tztime local"

volume master {
  format = "♪: %volume"
  format_muted = "♪: muted (%volume)"
  device = "default"
  mixer = "Master"
  mixer_idx = 0
}

disk "/" {
  format = "/ %free (%avail)/ %total"
}

disk "/home" {
  format = "~/ %free (%avail)/ %total"
}

ethernet eno1 {
        # if you use %speed, i3status requires the cap_net_admin capability
        format_up = "E:%ip"
        format_down = "E: down"
}

cpu_usage {
  format = "CPU %usage"
}

tztime local {
  format = "%Y-%m-%d %H:%M:%S"
}

load {
        format = "%5min"
}

And for the sake of it, my running processes/applications

[arch@dome i3]$ ps -u
USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
arch       536  0.0  0.0  24636  5060 tty1     Ss   09:00   0:00 -bash
arch       587  0.0  0.0  15256  3352 tty1     S+   09:00   0:00 /bin/sh /usr/bin/startx
arch       609  0.0  0.0  15948   988 tty1     S+   09:00   0:00 xinit /home/arch/.xinitrc -- /etc/X11/xinit/xserverrc :0 vt1 -auth /tmp/serverauth.4mc8S5WqJd
arch       623  0.0  0.0 127088 13932 tty1     S    09:01   0:00 i3 -a --restart /run/user/1000/i3/restart-state.623
arch       672  0.0  0.0  24624  5376 pts/0    Ss   09:03   0:00 bash
arch      1042  0.0  0.0  31528  5944 pts/1    Ss   09:03   0:00 bash
arch      2134  0.0  0.0  24624  4996 pts/2    Ss   09:30   0:00 bash
arch      2552  0.0  0.0 113176 24304 pts/2    S+   09:42   0:00 /usr/bin/python -O /usr/bin/ranger
arch      2559  0.0  0.1 154104 73428 pts/2    S+   09:42   0:00 /usr/lib/w3m/w3mimgdisplay
arch      2711  0.0  0.0  15552  3704 pts/0    S+   09:43   0:00 nano
arch      3233  0.0  0.0  37248  3456 pts/1    R+   10:12   0:00 ps -u

Oh, please tell me it's not

order += "load"

Yes, it is... I'm so sorry. I can put generic indicators without any related "variables" just as "load" for example.
This is so solved.

Last edited by dockland (2017-07-29 08:30:39)


I possess a device, in my pocket, that is capable of accessing the entirety of information known to man.
I use it to look at funny pictures of cats and to argue with strangers.

Offline

#2 2017-07-29 08:36:06

ymihc
Member
Registered: 2016-02-03
Posts: 21

Re: [SOLVED] i3status - Indicator without source

It's the system load (number of processes waiting for CPU time, in your case in the last 5 minutes) which is in your i3status config file:

order += "load"
...
load {
        format = "%5min"
}

See also: https://i3wm.org/i3status/manpage.html#_load

EDIT: Problem was solved by the thread starter a couple of minutes before hitting the submit button ;-)

Last edited by ymihc (2017-07-29 08:37:29)

Offline

#3 2017-07-29 08:38:51

dockland
Member
From: Sweden
Registered: 2015-06-06
Posts: 861

Re: [SOLVED] i3status - Indicator without source

Thanks for clearing things out even more.
I have read the manpage several times, but obviously not that attentive on all parts.


I possess a device, in my pocket, that is capable of accessing the entirety of information known to man.
I use it to look at funny pictures of cats and to argue with strangers.

Offline

Board footer

Powered by FluxBB