Námořní drony používané elitními jednotkami britského královského námořnictva tajně posílaly údaje do Číny. Stroje vybavené čínskými komponenty měly být využívány pro vojenské operace na Blízkém východě. Kamery na dálkově řízených průzkumných člunech K3 Scout byly vybavené součástkami, které bez vědomí britského námořnictva odesílaly informace do spojeného zařízení v Číně. Britské námořní síly využívaly flotilu námořních dronů
… více »Alza.cz nabízí herní AlzaPC s předinstalovaným Linuxem (YouTube), konkrétně s linuxovou distribucí Bazzite (Wikipedie).
Squeak (Wikipedie), open source implementace programovacího jazyka a prostředí Smalltalk, byl vydán ve verzi 6.1. Přehled novinek v poznámkách k vydání.
V Linuxu v KVM byla nalezena a v upstreamu již byla opravena kritická zranitelnost Zapscape aneb CVE-2026-64561. Root na hostovaném počítači (virtuální stroj) může obejít izolaci a získat plnou kontrolu nad hostitelským systémem (DoS útok nebo vzdálené spuštění kódu s právy roota). Na obou hlavních architekturách – Intel i AMD. Zranitelnost v Linuxu existovala 6 let (od července 2020 do července 2026).
Počítačová hra Knytt napsaná v Multimedia Fusion 2 byla vydána před 20 lety. Při této příležitosti byl dnes představen moderní port (YouTube) této plošinovky na současné operační systémy pod názvem Knytt Classic. Je zdarma k dispozici na Steamu a GOG.com.
Americká technologická společnost Meta Platforms představila nový model umělé inteligence (AI) Muse Glimmer. Model je menší než přední modely AI od konkurence a má běžet přímo na počítačích uživatelů. Meta model zpřístupní jako open source, tedy otevřený software. Nový model je navržen tak, aby zvládal takzvané agentní úkoly na počítačích se spotřebitelskou grafickou kartou. Klade si tak za cíl uspokojit poptávku po systémech AI, které běží přímo na zařízeních uživatelů.
V pátek 28. srpna 2026 se v pražském Karlíně uskuteční již osmý Mobilní Hackday. Akce začne v 10:00 a potrvá až do večera. Setkání proběhne v prostorách SUSE Linux, s.r.o. na adrese Křižíkova 148/34, Praha 8 – Karlín. Nejbližší zastávkou je Křižíkova, kam se lze dostat tramvají i metrem. Na programu budou například novinky z posledních měsíců, možnosti, jak si zjednodušit práci s LLM/AI, a také nová linuxová distribuce BengalOS, včetně … více »
Jakub Vrána vydal Adminer ve verzi 6.0.0 s více než 130 změnami: "Většina změn vznikla s asistencí Claude Opus 5. Někteří lidi se bojí, že AI asistence může kód zamořit technickým dluhem. To je jistě pravda, pokud vývojář všechny změny bezduše odbouchne Enterem. Ale pokud si pořádně projde plán, vyjedná v něm změny a pak totéž udělá i s vygenerovaným kódem, kvalita kódu stoupne a technický dluh naopak klesne. Je to jako párové programování s
… více »Sam Aaron vydal novou major verzi 5.0.0 aplikace Sonic Pi (Wikipedie) určené také pro výuku programování pomocí skládání hudby. Přehled novinek na GitHubu. Instalovat lze také z Flathubu.
U příležitosti 30. výročí vydání počítačové hry Quake byla vydána nová epizoda s názvem Dawn of the Machine (Steam).
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: