Část údajů uživatelů internetového supermarketu Rohlík byla odcizena. Kyberútočníci napadli nástroj zákaznické podpory Rohlíku, odcizili tak jména, e-mailové adresy, v některých případech také telefonní čísla nebo přepisy komunikace mezi klienty a zákaznickou podporou. Rohlík incident nahlásil příslušným orgánům a přijal příslušné opatření, aby zamezil podobným případům v budoucnosti, uvedla firma.
Aplikace eDoklady fungovala v obou volebních dnech stabilně a prakticky bez front. Digitální a informační agentura (DIA) odhaduje, že se digitálním dokladem prokázalo více než 100.000 voličů. Aplikaci si před volbami či během nich aktualizovalo 247.517 uživatelů. Nových registrací bylo 19.431 a do aplikace se přihlásilo 357.879 lidí. Největší nápor přišel bezprostředně po otevření volebních místností mezi 14. a 16. hodinou, kdy si
… více »Začal semestr, začal i podzim a kromě hub rostou jako po dešti i veřejné dílny v Praze. Nedávno strahováci referovali o hackerspacu Bordel, nyní se otevřela dílna Dejvice Lab jen kousek od ČVUT. Na blížící Virtuální Bastlírně tak uslyšíte nejen report z návštěvy dílny HWLab, ale i řadu novinek, událostí a úsměvných momentů, které se za poslední měsíc ve světě techniky, ale i vědy udály. Připojte se tedy již v úterý 13.10. od 20:00 a zapojte se do
… více »Byl vydán LineageOS 24 (Mastodon). LineageOS (Wikipedie) je svobodný operační systém pro chytré telefony, tablety a set-top boxy založený na Androidu. Jedná se o nástupce CyanogenModu. LineageOS 24 je založený na Androidu 17.
Společnost Valve publikovala na svém GitLabu nákresy a schémata zapojení headsetu Steam Frame. Pro nekomerční účely.
Soutěž Pwn2Own Ireland 2026 skončila 9. října. Bezpečnostní výzkumníci získali celkem 1 262 000 dolarů na odměnách. Během soutěže bylo předvedeno zneužití 98 zero-day zranitelností. Testování zahrnovalo různé kategorie zařízení a software. Výzkumníci předváděli prakticky fungující útoky podle pravidel soutěže. Výsledky následně slouží výrobcům při přípravě oprav. Mezi pokořenými jsou: Samsung Galaxy S26, OpenAI Codex, Oracle Autonomous AI Database, Google Pixel 10, u iPhone 17 neuspěli.
Programovací jazyk Python byl vydán v nové verzi 3.15.0. Podrobný přehled novinek v aktualizované dokumentaci.
BIGWORDS.PAGE je open-source webová aplikace, která po otevření odkazu v prohlížeči vykreslí přes celou obrazovku jednoduché informační sdělení. Zpráva i její nastavení jsou uložené v části URL za znakem #, například odkaz https://bigwords.page/#abclinuxu zobrazí jako velký bílý nápis 'abclinuxu' na černém pozadí. Obsah odkazu lze upravovat i vestavěným editorem, ten umožňuje nastavovat formátování a vizuální efekty textu, časovače, QR kódy a obrázky. Zdrojový kód je dostupný pod licencí MIT na GitHubu.
V neděli 11. října proběhne rotace klíče kořenové zóny. Podruhé v historii. Ondřej Filip na blogu CZ.NIC: "Pokud je pro Vás DNS protokol spíše výzva, ale přesto spravujete nějakou síť či DNS resolver, zkuste si jednoduchý test, který připravila firma Cloudflare na této adrese. Obzvláště zbystřit byste měli, pokud uvidíte nějaká červená políčka."
Vláda Spojených států se rozhodla vyřadit americkou softwarovou společnost Microsoft a několik dalších velkých technologických podniků z programu, který umožňuje kvalifikovaným zahraničním pracovníkům získat povolení k trvalému pobytu. Oznámila to včera administrativa amerického prezidenta Donalda Trumpa. Opatření zdůvodnila rozsáhlým zneužíváním programu, který je dlouhodobě terčem kritiky ze strany Trumpových příznivců, neboť prý znevýhodňuje americké pracovníky.
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: