-
runxiyu
Is there any support for io_uring in linuxlator?
-
kerneldove
looks nice V_PauAmma_V
-
kerneldove
are all of the 'page' category infos in man vmstat referring to swap paging? like even flt/page faults?
-
kerneldove
in vmstat procs section, what does b mean? man page says blocked for resources, so does that mean the process wants to run but can't because another part of the system is bogged down?
-
ketas
i wonder if w could also be updated to avoid cursed hacks like env LC_TIME=de_DE.ISO8859-15 uptime
-
ketas
while this is like adding hell to hell:
-
ketas
env LANG=de_DE.ISO8859-15 uptime --libxo=json
-
ketas
"load-average-15": 0,47
-
ketas
endless joy
-
ketas
i'm surprised xo even outputs that
-
ketas
but it's piece-oriented lib and it outputs whatever you wish
-
ketas
i recall ps just went 24h clock
-
ketas
i guess noone complained either about ps being in "military" time
-
ketas
i can recall number of times the locales and charsets making my life hell :p
-
kerneldove
so i take it there's no way to make vmstat not repeat the headings every page or so? linux vmstat has an option for that why do we always get left out
-
ketas
kerneldove: i wonder what's exec overhead
-
ketas
vmstat queries the kernel
-
ketas
so if vmstat is cached already
-
kerneldove
dunno?
-
ketas
but broken json is bug
-
ketas
i bet if you are streaming vmstat every 1s then it should be looped within that program
-
ketas
yeah i don't know what's overhead of executing binary
-
ketas
i don't even know how it works actually
-
ketas
all the hardware and internals are too hard to learn
-
ketas
somehow
-
ketas
also where's that stats going?
-
kerneldove
i'm running vmstat once then parsing its output. just too bad i now have to detect when it's randomly a heading line instead of another data line. linux vmstat doesn't have that problem
-
ketas
that's some test setup?
-
kerneldove
system monitoring
-
kerneldove
i'm ingesting everything significant the collating it in my mgmt platform
-
ketas
every second?
-
kerneldove
nah
-
kerneldove
every 15s
-
ketas
still high, what's the usecase?
-
ketas
it's fast changing data for sure but
-
kerneldove
optimize workload. basically trying to get every drop of perf out of hardware i can
-
ketas
hmm
-
kerneldove
ya 15s is as frequent as i'll go. might up it to 60s, but for now 15 is where i'll start
-
ketas
what are those machines doing?
-
kerneldove
running network services
-
ketas
i wonder if i'm able to fix xo on my own
-
ketas
there
-
kerneldove
i bet you can
-
kerneldove
i was looking at the vmstat.c today
-
ketas
but i hate that style
-
kerneldove
-
ketas
if library functions are built like that, no wonder dev can't see what (s)he's doing
-
ketas
oh god
-
ketas
why did i even look
-
kerneldove
if you detect that multiple displays will take place, then above that line you run xo_open_container("display");, and same for close at end of the set of display objs
-
kerneldove
you don't know c?
-
ketas
more like xo book is missing in my head
-
ketas
more than c book
-
ketas
xo_close_container("processes"); xo_close_container("vmstat");
-
ketas
missing after a loop
-
ketas
and it needs to start again
-
ketas
basically you can fix it by
-
ketas
changing things so it works if runs==1
-
ketas
or runs==inf
-
ketas
i don't see where this even starts
-
ketas
but somewhere it does
-
ketas
if you do it all, both single and multi runs are correct
-
ketas
how about we move xo open con cmstat into dovmstat
-
ketas
and close too
-
ketas
wait it's wrong
-
ketas
but vmstat open/close is in main() and that's bad
-
ketas
if (reps > 1) { xo_close_container("vmstat"); xo_open_container("vmstat"); }
-
ketas
i hate it all
-
ketas
dointr needs it too
-
ketas
i can't understand anything anymore
-
kerneldove
why not?
-
ketas
somewhere there whole vmstat needs to close and reopen
-
ketas
how, no idea
-
ketas
and text mode needs to stay functional too
-
kerneldove
start by wrapping the display set in a "display" open and close container. then add a gate around those containers based on whether or not there's gonna be multiple displays
-
ketas
text mode runs headers every screenful
-
ketas
yeah but i'm already tired of that
-
ketas
oh and if you that, everyone's parser breaks
-
ketas
if (reps >= 0 && --reps <= 0) break;
-
ketas
here loop breaks if only one run
-
ketas
maybe put else here to repeat the close open
-
ketas
i bet everything that uses xo is filled with such bugs
-
ketas
it was simply missed that in loop, it can print the middle part again
-
ketas
and if somebody uses vmstat 1 --libxo=json
-
ketas
this fix breaks their parser hack
-
ketas
oh and how to fix the padding without breaking text?
-
ketas
maybe i would be better at putting -s into w.c while it's argv0==uptime
-
ketas
sadly w once had -s
-
ketas
or i can keep doing variant of time="`date +%s`"; boottime="`sysctl -n kern.boottime | cut -d , -f 1 | cut -d ' ' -f 4`"; uptime="$(($time - $boottime))"
-
cyric
ketas: w was imported back in 1994 with '-s is no longer supported'
-
cyric
so i wouldn't say it did ever :)
-
ketas
what did that ever do?
-
cyric
no idea
-
ketas
before 94
-
mosaid
Look like after deep search that even shrinking methods is impossible in my situation :(
-
mosaid
Only solution is having a third hard drive to dump /, then recreate the partition smaller, I will do it when I connect my drive
-
mosaid
In april; bec. the next months I will be so busy
-
darwin
what's the proper way to UEFI boot FreeBSD UNIX v14.3 with GRUB v2 either specifying everything or chainloading? Lately when I chainload, I see graphical FreeBSD boot-loader but then after pressing <ENTER|RETURN> and a second or two it just always reboots
-
darwin
it had installed okay, and I thought I was able to do this before. I've booted the installation before