Nizozemská vláda ve snaze šetřit a zvyšovat efektivitu s využitím umělé inteligence (AI) hodlá zrušit asi 25.000 pracovních míst ve státní správě. Cílem je postupně dosáhnout ročních úspor až 3,5 miliardy eur (85,2 miliardy Kč). Na konci loňského roku ve státní správě pracovalo rekordních 160.000 lidí. „Nemůžeme pokračovat v tom, co jsme dělali dosud,“ uvedl státní tajemník pro efektivní fungování vlády Eric van den Burg. „Proto
… více »Příspěvek na blogu PRUSA 3D představuje fotoaparát CAIM1 (Counter Artificial Intelligence Machine 1). Uměle vytvořený obsah je každým dnem těžší rozeznat od skutečných záběrů či fotografií, což podrývá důvěryhodnost žurnalistiky, archivních materiálů i každodenní tvorby obsahu. Fotoaparát CAIM1 byl vyvinut právě k tomu, aby ověřoval původ fotografií a videí přímo během jejich pořizování. Uvnitř fotoaparátu se nachází hardwarová Web3 peněženka se zabezpečovacím čipem Tropic Square TROPIC01.
Jonathan Thomas oznámil vydání nové verze 4.1 video editoru OpenShot (Wikipedie). Zdrojové kódy OpenShotu jsou k dispozici na GitHubu. Ke stažení je i balíček ve formátu AppImage. Stačí jej stáhnout, nastavit právo na spouštění a spustit.
Při běžné migraci virtuálního stroje mezi hypervizory se jeho MAC adresa přesune na jiný leaf switch. EVPN tuto změnu distribuuje pomocí BGP Type-2 route a MAC mobility sequence number. Problém nastává, pokud útočník podvrhne zdrojovou MAC adresu jiného zařízení. Leaf může změnu interpretovat jako legitimní přesun MAC a rozšířit ji přes BGP do celé fabric. Výsledkem může být přesměrování provozu určeného původnímu zařízení. Autor článku rozebírá možnosti detekce pomocí sledování MAC moves, BGP route reflektorů a kontroly na přístupové vrstvě.
Vývojáři desktopového prostředí Enlightenment (Wikipedie) a souvisejících knihoven Enlightenment Foundation Libraries (EFL) vydali nové verze. Enlightenment byl vydán ve verzi 0.28.0 a Enlightenment Foundation Libraries ve verzi 1.29.
Cloudflare zjistil, že některé odpovědi modelu GLM-5.3 obsahovaly části dat z předchozích požadavků jiných zákazníků. Příčinou byla kombinace chybné konfigurace a chyby v inference enginu SGLang. Model podporoval kontextové okno 1 048 576 tokenů, ale GPU KV cache pool měl kapacitu pouze 681 280 tokenů. Při překročení kapacity docházelo k nesprávnému zpracování odmítnutého požadavku. Decode část systému následně pracovala se starými
… více »Vývojáři Knot Resolver vysvětlují, jak změnili rozhodování o tom, které DNS záznamy ponechat v cache a které odstranit. Článek obsahuje skutečná měření: devět hodin DNS provozu při 2 000 QPS, srovnání cache o velikosti 25 MB a 40 GB a také porovnání s BIND 9, kromě algoritmů obsahuje konkrétní doporučení pro konfiguraci a diagnostiku.
Největší kryptoměnová burza světa Binance se stala terčem útoku, při kterém podvodníci odcizili během několika minut kryptoměny v hodnotě přibližně 6,3 miliardy dolarů. Jedná se o největší kryptoměnovou krádež v historii, přibližně čtyřikrát větší než loňský útok na burzu Bybit. Binance se podařilo ve spolupráci s partnery zmrazit aspoň aktiva v hodnotě zhruba 3 miliard dolarů a slíbila, že veškeré ztráty pokryje z vlastních prostředků.
Zranitelnost CVE-2026-98432 s CVSS 9.8 odhalila AI od společnosti Anthropic. Jedná se o kritickou chybu v implementaci MPTCP (multipath TCP). Debian vydal patche 16.10. a 22.10., ale např. Ubuntu je zatím bez opravy. Více informací na The Hacker News.
Na Slovensku vznikla úplne nová rally hra, ktorá je zadarmo a funguje vo Windowse, Linuxe či na Macu. Greenie Rally má viac ako 50 tratí a vozidiel, šampionáty či turnaje. Má retro feeling a imituje automobilové hry z prelomu tisícročí. Vyskúšate prejsť všetky mapy na Škode 130RS?
Po nejakom čase znovu idem písať o panely conky. Odkazy na predchádzajúce blogy: Link1 Link2
V tomto zápise popíšem novší vzhľad panela conky a zverejním opravy staršej verzie.
Funkcie na získavanie informácii v paneli conky sú popísané v man stránke.Všetky funkcie použité sú v rámci zabudovaných súčasti panela conky.
V tejto časti sú k dispozícii údaje o čase, ktorý je systém spustený a informácia o názve PC
TEXT
${color grey}Uptime:$color $uptime_short
${color grey}Hostname:$color $nodename
Táto časť poskytuje informácie počte aktívnych procesov a záťaži v 1/5/15.
${color grey}Procesy
${color grey}Celkom: ${color} $processes \
${color grey}Beziace: ${color} $running_processes
${color grey}Zataz: ${loadavg}
Táto časť poskytuje informácie o teplote,otáčkach ventilátorov a stave napájania MB. V tejto sekcii sú definované aj farebné schémy na základe hodnôt teploty, otáčok a napätia.
${if_match ${hwmon temp 1} < 50}${color grey}CPUTEMP1:${color green}${hwmon temp 1}$else${if_match ${hwmon temp 1} < 60}${color yellow}CPUTEMP1:${hwmon temp 1}$else${color red}CPUTEMP1:${hwmon temp 1}$endif$endif
${if_match ${hwmon temp 1} < 69}${color green}CPU TEMP OK$else${color red}CPU TEMP PEAK$endif
${if_match ${hwmon temp 2} < 40}${color grey}MBTEMP1:${color green}${hwmon temp 2}$else${if_match ${hwmon temp 2} < 50 }${color yellow}MBTEMP1:${hwmon temp 2}$else${color red}MBTEMP:${hwmon temp 2}$endif$endif
${if_match ${hwmon temp 2} < 49}${color green}MB TEMP OK$else${color red}MB TEMP PEAK$endif
${if_match ${hwmon fan 1} > 600}${color grey}CPUFAN1:${color green}${hwmon fan 1}RPM$else${color red}CPUFAN1 FAILURE$endif
${if_match ${hwmon fan 2} > 600}${color grey}CHAFAN1:${color green}${hwmon fan 2}RPM$else${color red}MDFAN1 FAILURE$endif
${color grey}Vcore: ${hwmon vol 0}V
${color grey}+3.3V: ${hwmon vol 1}V
${color grey}+5 V: ${hwmon vol 2}V
${color grey}+12 V: ${hwmon vol 3}V
Časť indikácie využitia CPU.
${if_match ${cpu cpu1} <=60}${color green}CPU1:${cpubar cpu1 5,100}$else${if_match ${cpu cpu1} < 80}${color yellow}CPU1:${cpubar cpu1 5,100}$else${color red}CPU1:${cpubar cpu1 5,100}$endif$endif ${if_match ${cpu cpu1} == 0}${color}I$else${if_match ${cpu cpu1} <=60}${color green}L$else${if_match ${cpu cpu1} < 80}${color yellow}M$else${color red}H$endif$endif$endif
${if_match ${cpu cpu2} <=60}${color green}CPU2:${cpubar cpu2 5,100}$else${if_match ${cpu cpu2} < 80}${color yellow}CPU2:${cpubar cpu2 5,100}$else${color red}CPU2:${cpubar cpu2 5,100}$endif$endif ${if_match ${cpu cpu2} == 0}${color}I$else${if_match ${cpu cpu2} <=60}${color green}L$else${if_match ${cpu cpu2} < 80}${color yellow}M$else${color red}H$endif$endif$endif
${if_match ${cpu cpu3} <=60}${color green}CPU3:${cpubar cpu3 5,100}$else${if_match ${cpu cpu3} < 80}${color yellow}CPU3:${cpubar cpu3 5,100}$else${color red}CPU3:${cpubar cpu3 5,100}$endif$endif ${if_match ${cpu cpu3} == 0}${color}I$else${if_match ${cpu cpu3} <=60}${color green}L$else${if_match ${cpu cpu3} < 80}${color yellow}M$else${color red}H$endif$endif$endif
${if_match ${cpu cpu4} <=60}${color green}CPU4:${cpubar cpu4 5,100}$else${if_match ${cpu cpu4} < 80}${color yellow}CPU4:${cpubar cpu4 5,100}$else${color red}CPU4:${cpubar cpu4 5,100}$endif$endif ${if_match ${cpu cpu4} == 0}${color}I$else${if_match ${cpu cpu4} <=60}${color green}L$else${if_match ${cpu cpu4} < 80}${color yellow}M$else${color red}H$endif$endif$endif
${if_match ${cpu} < 50}${color green}TOTAL USAGE ${cpu}%$else${if_match ${cpu} < 60}${color yellow}TOTAL USAGE ${cpu}%$else${if_match ${cpu} < 75}${color orange}TOTAL USAGE ${cpu}%$else${color red}TOTAL USAGE ${cpu}%$endif$endif$endif ${if_match ${cpu} < 10}${color}IDLE$else${if_match ${cpu} < 50}${color green}LOW$else${if_match ${cpu} < 60}${color yellow}MEDIUM$else${color red}HIGH$endif$endif$endi
V tejto části sú indikátory využitia RAM
${if_match $memperc <= 60}${color grey}RAM: ${color}$memmax$else${if_match $memperc < 70}${color grey}RAM: ${color yellow}$memmax$else${color red}RAM :$memmax$endif$endif
${color grey}Pouzita: ${if_match $memperc <= 60}${color green}$mem - $memperc%$else${if_match $memperc < 70}${color yellow}$mem - $memperc%$else${color red}$mem - $memperc$endif$endif
${color grey}Volna:$color $memfree
${color grey}Buffers:$color $buffers
${color grey}Cached:$color $cached
${color grey}RAM: ${if_match $memperc <= 60}${color green}${membar 5,100}$else${if_match $memperc < 70}${color yellow}${membar 5,100}$else${color red}${membar 5,100}$endif$endif
${if_match $memperc <= 60}${color}$else${if_match $memperc < 70}${color yellow}RAM usage Warning$else${color red}RAM usage HIGH$endif$endi
Informácie o využiti SWAP priestoru.
${if_match $swapperc <= 60}${color grey}SWAP: ${color}$swapmax$else${if_match $swapperc < 70}${color grey}SWAP: ${color yellow}$swapmax$else${color red}SWAP: $swapmax$endif$endif
${color grey}Pouzity: ${if_match $swapperc <=60}${color green}$swap - $swapperc%$else${if_match $swapperc < 70}${color yellow}$swap - $swapperc%$else${color red}$swap - $swapperc$endif$endif
${color grey}Volny:$color $swapfree
${if_match $swapperc == 0 }${color green}SWAP USAGE 0%$else${color grey}SWAP: ${if_match $swapperc <=60}${color green}${swapbar 5,100}$else${if_match $swapperc <70}${color yellow}${swapbar 5,100}$else${color red}${swapbar 5,100}$endif$endif$endif
${if_match $swapperc <= 60}${color}$else${if_match $swapperc < 70}${color yellow}SWAP usage Warning$else${color red}SWAP usage HIGH.$endif$endif
${if_match $swapperc < 70}$color$else${color red} EXPECT OOM killer$endif
IO operácie blokových zariadení.
${color grey}I/O:
${if_match "${diskio_read}" == "0B"}${color grey}Read:$else${color grey}Read:$color${diskio_read}$endif ${if_match "${diskio_write}" == "0B"}${color grey}Write:$else${color grey}Write:$color${diskio_write}$endif
Informácia o využiti jednotlivých části filesystému.
${color grey}Filesystem:
${if_mounted /}${fs_size /} ${color grey}${if_match ${fs_used_perc /} < 75 }${color green}${fs_free /}$else${if_match ${fs_used_perc /} < 90 }$color${color yellow}${fs_free /}$else${color red}${fs_free /}$endif$endif${color grey} /$endif
${if_mounted /home}${fs_size /home} ${color grey}${if_match ${fs_used_perc /home} < 75 }${color green}${fs_free /home}$else${if_match ${fs_used_perc /home} < 90 }$color${color yellow}${fs_free /home}$else${color red}${fs_free /home}$endif$endif${color grey} /home$endif
${if_mounted /var}${fs_size /var} ${color grey}${if_match ${fs_used_perc /var} < 75 }${color green}${fs_free /var}$else${if_match ${fs_used_perc /var} < 90 }$color${color yellow}${fs_free /var}$else${color red}${fs_free /var}$endif$endif${color grey} /var$endif
${if_mounted /usr}${fs_size /usr} ${color grey}${if_match ${fs_used_perc /usr} < 75 }${color green}${fs_free /usr}$else${if_match ${fs_used_perc /usr} < 90 }$color${color yellow}${fs_free /usr}$else${color red}${fs_free /usr}$endif$endif${color grey} /usr$endif
${if_mounted /usr/src}${fs_size /usr/src} ${color grey}${if_match ${fs_used_perc /usr/src} < 75 }${color green}${fs_free /usr/src}$else${if_match ${fs_used_perc /usr/src} < 90 }$color${color yellow}${fs_free /usr/src}$else${color red}${fs_free /usr/src}$endif$endif${color grey} /usr/src$endif
${if_mounted /opt}${fs_size /opt} ${color grey}${if_match ${fs_used_perc /opt} < 75 }${color green}${fs_free /opt}$else${if_match ${fs_used_perc /opt} < 90 }$color${color yellow}${fs_free /opt}$else${color red}${fs_free /opt}$endif$endif${color grey} /opt$endif
Činnosť sieťového rozhrania.
${color grey}Networking:
${if_up eth0}${if_match "${upspeed eth0}" == "0B"}${color grey}Up:$else${color grey}Up:$color${upspeed eth0}$endif ${if_match "${downspeed eth0}" == "0B"}${color grey}Down:$else${color grey}Down:$color${downspeed eth0}$endif$endif
Na záver prikládam celé konfiguračné súbory pre blog moja configurácia conky 2 a 3. Predpokladám, že kód je dostatočne zrozumiteľný.
conky.conf pre moja configuracia conky 2
alignment bottom_right
background yes
border_width 1
default_color white
default_outline_color white
default_shade_color white
draw_borders no
draw_graph_borders yes
draw_outline no
draw_shades no
diskio_avg_samples 2
use_xft no
xftfont DejaVu Sans Mono:size=10
gap_x 10
gap_y 30
minimum_size 5 5
net_avg_samples 2
out_to_console no
out_to_stderr no
extra_newline no
own_window yes
own_window_class panel_1
own_window_type panel
stippled_borders 0
update_interval 1
uppercase no
use_spacer none
show_graph_scale no
show_graph_range no
double_buffer
TEXT
${color grey}Uptime:$color $uptime
${color grey}Hostname:$color $nodename
$hr
${color grey}Procesy
${color grey}Celkom: ${color} $processes \
${color grey}Beziace: ${color} $running_processes
${color grey}Zataz: ${loadavg}
$color\
$hr
${color grey}CPUTEMP: ${hwmon temp 1}
${color grey}MBTEMP: ${hwmon temp 2}
${color grey}CPUFAN1: ${hwmon fan 1}RPM
${color grey}CHAFAN1: ${hwmon fan 2}RPM
${color grey}Vcore: ${hwmon vol 0}V
${color grey}+3.3V: ${hwmon vol 1}V
${color grey}+5V: ${hwmon vol 2}V
${color grey}+12V: ${hwmon vol 3}V
$hr
${color}\
${if_match ${cpu cpu1} < 80}${color grey}CPU1$else${color red}CPU1$endif ${if_match ${cpu cpu2} < 80}${color grey}CPU2$else${color red}CPU2$endif ${if_match ${cpu cpu3} < 80}${color grey}CPU3$else${color red}CPU3$endif ${if_match ${cpu cpu4} < 80}${color grey}CPU4$else${color red}CPU4$endif
${if_match ${cpu cpu1} <= 50}${color green}${cpugauge cpu1 (10,10)}$else${if_match ${cpu cpu1} <= 80}${color yellow}${cpugauge cpu1 (10,10)}$else${color red}${cpugauge cpu1 (10,10)}$endif$endif${color} ${if_match ${cpu cpu2} <= 50}${color green}${cpugauge cpu2 (10,10)}$else${if_match ${cpu cpu2} <= 80}${color yellow}${cpugauge cpu2 (10,10)}$else${color red}${cpugauge cpu2 (10,10)}$endif$endif${color} ${if_match ${cpu cpu3} <= 50}${color green}${cpugauge cpu3 (10,10)}$else${if_match ${cpu cpu3} <= 80}${color yellow}${cpugauge cpu3 (10,10)}$else${color red}${cpugauge cpu3 (10,10)}$endif$endif${color} ${if_match ${cpu cpu4} <= 50}${color green}${cpugauge cpu4 (10,10)}$else${if_match ${cpu cpu4} <= 80}${color yellow}${cpugauge cpu4 (10,10)}$else${color red}${cpugauge cpu4 (10,10)}$endif$endif${color}
${if_match ${cpu cpu} <= 50}${color green}${cpubar cpu (100,10)}$else${if_match ${cpu cpu} <= 80}${color yellow}${cpubar cpu (100,10)}$else${color red}${cpubar cpu (10,100)}$endif$endif${color}
$hr
${if_match ${memperc} < 80}${color grey}RAM: $memmax$else${color red}RAM: $memmax $endif
${if_match ${memperc} <=60}${color grey}Pouzita: ${color green}$mem - $memperc%$else${if_match ${memperc} <=80}${color grey}Pouzita: ${color yellow}$mem - $memperc%$else${color red}Pouzita: ${color red}$mem - $memperc%$endif$endif
${if_match ${memperc} <=60}${color green}${membar (10,100)}$else${if_match ${memperc} <=80}${color yellow}${membar (10,100)}$else${color red}${membar (10,100)}$endif$endif
${color grey}Volna: ${color}$memfree
${color grey}Buffer: ${color}${buffers}
${color grey}Cached: ${color}${cached}
$hr
$color${if_match "${swap}" == "0B"}${color grey}Swap: $swapfree$else${if_match ${swapperc} < 70 }${color green}Swap: $swapfree$else${if_match {$swapperc} => 70}${color red}Swap: $swapfree$endif$endif
$color${if_match "${swap}" == "0B"}${color grey}Pouzite: $else${if_match ${swapperc} < 70}${color green}Pouzite: $else${if_match ${swapperc} => 70}${color red}Pouzite: $endif$endif$color${if_match "${swap}" == "0B"}${color grey}$swap $else${if_match ${swapperc} < 70}${color green}$swap $else${if_match ${swapperc} => 70}${color red}$swap $endif$endif$color - $swapperc %
$color${if_match ${swapperc} == 0}${color grey}NO SWAP$else${if_match ${swapperc} < 70}${color green}${swapbar (10,100)}$else${if_match ${swapperc} => 70}${color red}${swapbar (10,100)}$endif$endif$endif
$color$hr
${color grey}Disk:
${color grey}Pocet I/O citanie: ${color}${diskio_read sda}
${color grey}Pocet I/O zapis: ${color}${diskio_write sda}
${color grey}\
$hr
${color grey}Filesystem:
${color grey}/
${fs_size /} ${color grey}${if_match ${fs_used_perc /} < 75 }${color green}${fs_free /}$else${if_match ${fs_used_perc /} < 90 }$color${color yellow}${fs_free /}$else${color red}${fs_free /}$endif$endif
${color grey}/home
${fs_size /home} ${color grey}${if_match ${fs_used_perc /home} < 75 }${color green}${fs_free /home}$else${if_match ${fs_used_perc /home} < 90 }$color${color yellow}${fs_free /home}$else${color red}${fs_free /home}$endif$endif
${color grey}/var
${fs_size /var} ${color grey}${if_match ${fs_used_perc /var} < 75 }${color green}${fs_free /var}$else${if_match ${fs_used_perc /var} < 90 }$color${color yellow}${fs_free /var}$else${color red}${fs_free /var}$endif$endif
${color grey}/usr
${fs_size /usr} ${color grey}${if_match ${fs_used_perc /usr} < 75 }${color green}${fs_free /usr}$else${if_match ${fs_used_perc /usr} < 90 }$color${color yellow}${fs_free /usr}$else${color red}${fs_free /usr}$endif$endif
${color grey}/usr/src
${fs_size /usr/src} ${color grey}${if_match ${fs_used_perc /usr/src} < 75 }${color green}${fs_free /usr/src}$else${if_match ${fs_used_perc /usr/src} < 90 }$color${color yellow}${fs_free /usr/src}$else${color red}${fs_free /usr/src}$endif$endif
${color grey}/opt
${fs_size /opt} ${color grey}${if_match ${fs_used_perc /opt} < 75 }${color green}${fs_free /opt}$else${if_match ${fs_used_perc /opt} < 90 }$color${color yellow}${fs_free /opt}$else${color red}${fs_free /opt}$endif$endif
$color\
$hr
${color grey}Networking:
${color grey}Up:${color}${upspeed eth0}
${color grey}Down:${color}${downspeed eth0}
conky.conf pre moja configuracia conky 3
alignment bottom_right
background yes
border_width 1
default_color white
default_outline_color white
default_shade_color white
draw_borders no
draw_graph_borders yes
draw_outline no
draw_shades no
#diskio_avg_samples 2
use_xft no
xftfont DejaVu Sans Mono:size=10
gap_x 10
gap_y 30
minimum_size 5 5
#net_avg_samples 2
out_to_console no
out_to_stderr no
extra_newline no
own_window yes
own_window_class panel_1
own_window_type panel
stippled_borders 0
update_interval 1
uppercase no
use_spacer none
show_graph_scale no
show_graph_range no
double_buffer
short_units
TEXT
${color grey}Uptime:$color $uptime_short
${color grey}Hostname:$color $nodename
$hr
${color grey}Procesy
${color grey}Celkom: ${color} $processes \
${color grey}Beziace: ${color} $running_processes
${color grey}Zataz: ${loadavg}
$color\
$hr
${if_match ${hwmon temp 1} < 50}${color grey}CPUTEMP1:${color green}${hwmon temp 1}$else${if_match ${hwmon temp 1} < 60}${color yellow}CPUTEMP1:${hwmon temp 1}$else${color red}CPUTEMP1:${hwmon temp 1}$endif$endif
${if_match ${hwmon temp 1} < 69}${color green}CPU TEMP OK$else${color red}CPU TEMP PEAK$endif
${if_match ${hwmon temp 2} < 40}${color grey}MBTEMP1:${color green}${hwmon temp 2}$else${if_match ${hwmon temp 2} < 50 }${color yellow}MBTEMP1:${hwmon temp 2}$else${color red}MBTEMP:${hwmon temp 2}$endif$endif
${if_match ${hwmon temp 2} < 49}${color green}MB TEMP OK$else${color red}MB TEMP PEAK$endif
${if_match ${hwmon fan 1} > 600}${color grey}CPUFAN1:${color green}${hwmon fan 1}RPM$else${color red}CPUFAN1 FAILURE$endif
${if_match ${hwmon fan 2} > 600}${color grey}CHAFAN1:${color green}${hwmon fan 2}RPM$else${color red}MDFAN1 FAILURE$endif
${color grey}Vcore: ${hwmon vol 0}V
${color grey}+3.3V: ${hwmon vol 1}V
${color grey}+5 V: ${hwmon vol 2}V
${color grey}+12 V: ${hwmon vol 3}V
$hr
${color}\
${if_match ${cpu cpu1} <=60}${color green}CPU1:${cpubar cpu1 5,100}$else${if_match ${cpu cpu1} < 80}${color yellow}CPU1:${cpubar cpu1 5,100}$else${color red}CPU1:${cpubar cpu1 5,100}$endif$endif ${if_match ${cpu cpu1} == 0}${color}I$else${if_match ${cpu cpu1} <=60}${color green}L$else${if_match ${cpu cpu1} < 80}${color yellow}M$else${color red}H$endif$endif$endif
${if_match ${cpu cpu2} <=60}${color green}CPU2:${cpubar cpu2 5,100}$else${if_match ${cpu cpu2} < 80}${color yellow}CPU2:${cpubar cpu2 5,100}$else${color red}CPU2:${cpubar cpu2 5,100}$endif$endif ${if_match ${cpu cpu2} == 0}${color}I$else${if_match ${cpu cpu2} <=60}${color green}L$else${if_match ${cpu cpu2} < 80}${color yellow}M$else${color red}H$endif$endif$endif
${if_match ${cpu cpu3} <=60}${color green}CPU3:${cpubar cpu3 5,100}$else${if_match ${cpu cpu3} < 80}${color yellow}CPU3:${cpubar cpu3 5,100}$else${color red}CPU3:${cpubar cpu3 5,100}$endif$endif ${if_match ${cpu cpu3} == 0}${color}I$else${if_match ${cpu cpu3} <=60}${color green}L$else${if_match ${cpu cpu3} < 80}${color yellow}M$else${color red}H$endif$endif$endif
${if_match ${cpu cpu4} <=60}${color green}CPU4:${cpubar cpu4 5,100}$else${if_match ${cpu cpu4} < 80}${color yellow}CPU4:${cpubar cpu4 5,100}$else${color red}CPU4:${cpubar cpu4 5,100}$endif$endif ${if_match ${cpu cpu4} == 0}${color}I$else${if_match ${cpu cpu4} <=60}${color green}L$else${if_match ${cpu cpu4} < 80}${color yellow}M$else${color red}H$endif$endif$endif
${if_match ${cpu} < 50}${color green}TOTAL USAGE ${cpu}%$else${if_match ${cpu} < 60}${color yellow}TOTAL USAGE ${cpu}%$else${if_match ${cpu} < 75}${color orange}TOTAL USAGE ${cpu}%$else${color red}TOTAL USAGE ${cpu}%$endif$endif$endif ${if_match ${cpu} < 10}${color}IDLE$else${if_match ${cpu} < 50}${color green}LOW$else${if_match ${cpu} < 60}${color yellow}MEDIUM$else${color red}HIGH$endif$endif$endif
${color}\
$hr
${if_match $memperc <= 60}${color grey}RAM: ${color}$memmax$else${if_match $memperc < 70}${color grey}RAM: ${color yellow}$memmax$else${color red}RAM :$memmax$endif$endif
${color grey}Pouzita: ${if_match $memperc <= 60}${color green}$mem - $memperc%$else${if_match $memperc < 70}${color yellow}$mem - $memperc%$else${color red}$mem - $memperc$endif$endif
${color grey}Volna:$color $memfree
${color grey}Buffers:$color $buffers
${color grey}Cached:$color $cached
${color grey}RAM: ${if_match $memperc <= 60}${color green}${membar 5,100}$else${if_match $memperc < 70}${color yellow}${membar 5,100}$else${color red}${membar 5,100}$endif$endif
${if_match $memperc <= 60}${color}$else${if_match $memperc < 70}${color yellow}RAM usage Warning$else${color red}RAM usage HIGH$endif$endif
${color}\
$hr
${if_match $swapperc <= 60}${color grey}SWAP: ${color}$swapmax$else${if_match $swapperc < 70}${color grey}SWAP: ${color yellow}$swapmax$else${color red}SWAP: $swapmax$endif$endif
${color grey}Pouzity: ${if_match $swapperc <=60}${color green}$swap - $swapperc%$else${if_match $swapperc < 70}${color yellow}$swap - $swapperc%$else${color red}$swap - $swapperc$endif$endif
${color grey}Volny:$color $swapfree
${if_match $swapperc == 0 }${color green}SWAP USAGE 0%$else${color grey}SWAP: ${if_match $swapperc <=60}${color green}${swapbar 5,100}$else${if_match $swapperc <70}${color yellow}${swapbar 5,100}$else${color red}${swapbar 5,100}$endif$endif$endif
${if_match $swapperc <= 60}${color}$else${if_match $swapperc < 70}${color yellow}SWAP usage Warning$else${color red}SWAP usage HIGH.$endif$endif
${if_match $swapperc < 70}$color$else${color red} EXPECT OOM killer$endif
$color\
$hr
${color grey}I/O:
${if_match "${diskio_read}" == "0B"}${color grey}Read:$else${color grey}Read:$color${diskio_read}$endif ${if_match "${diskio_write}" == "0B"}${color grey}Write:$else${color grey}Write:$color${diskio_write}$endif
${color }\
$hr
${color grey}Filesystem:
${if_mounted /}${fs_size /} ${color grey}${if_match ${fs_used_perc /} < 75 }${color green}${fs_free /}$else${if_match ${fs_used_perc /} < 90 }$color${color yellow}${fs_free /}$else${color red}${fs_free /}$endif$endif${color grey} /$endif
${if_mounted /home}${fs_size /home} ${color grey}${if_match ${fs_used_perc /home} < 75 }${color green}${fs_free /home}$else${if_match ${fs_used_perc /home} < 90 }$color${color yellow}${fs_free /home}$else${color red}${fs_free /home}$endif$endif${color grey} /home$endif
${if_mounted /var}${fs_size /var} ${color grey}${if_match ${fs_used_perc /var} < 75 }${color green}${fs_free /var}$else${if_match ${fs_used_perc /var} < 90 }$color${color yellow}${fs_free /var}$else${color red}${fs_free /var}$endif$endif${color grey} /var$endif
${if_mounted /usr}${fs_size /usr} ${color grey}${if_match ${fs_used_perc /usr} < 75 }${color green}${fs_free /usr}$else${if_match ${fs_used_perc /usr} < 90 }$color${color yellow}${fs_free /usr}$else${color red}${fs_free /usr}$endif$endif${color grey} /usr$endif
${if_mounted /usr/src}${fs_size /usr/src} ${color grey}${if_match ${fs_used_perc /usr/src} < 75 }${color green}${fs_free /usr/src}$else${if_match ${fs_used_perc /usr/src} < 90 }$color${color yellow}${fs_free /usr/src}$else${color red}${fs_free /usr/src}$endif$endif${color grey} /usr/src$endif
${if_mounted /opt}${fs_size /opt} ${color grey}${if_match ${fs_used_perc /opt} < 75 }${color green}${fs_free /opt}$else${if_match ${fs_used_perc /opt} < 90 }$color${color yellow}${fs_free /opt}$else${color red}${fs_free /opt}$endif$endif${color grey} /opt$endif
$color\
$hr
${color grey}Networking:
${if_up eth0}${if_match "${upspeed eth0}" == "0B"}${color grey}Up:$else${color grey}Up:$color${upspeed eth0}$endif ${if_match "${downspeed eth0}" == "0B"}${color grey}Down:$else${color grey}Down:$color${downspeed eth0}$endif$endif
EDIT : Pridanie screenshotu pri idle.25122012 00:02
Tiskni
Sdílej: