Micro System Monitor

Karamba & Superkaramba

Source (required if based on other people's work):

1
Score 57%
Description:

unna

13 years ago

I ran the theme in a machine with HT enabled. Since the results of the commands for obtaining the information are different from the ones in a single CPU system, the strings in the theme got messed up.

This is the patch to consider only the results for the first processor:

--------------------------------
diff -urN micro_sys_mon_0-1.orig/microsysmon.theme micro_sys_mon_0-1/microsysmon.theme
--- micro_sys_mon_0-1.orig/microsysmon.theme 2005-04-29 13:07:45.000000000 -0500
+++ micro_sys_mon_0-1/microsysmon.theme 2005-05-10 16:21:53.000000000 -0500
@@ -27,12 +27,12 @@
#############

x=0 y=0
- text x=128 y=20 align="right" sensor=program program="echo `grep 'model name' /proc/cpuinfo| sed -n '/: /s/.............//p'`" align=center interval=1000
+ text x=128 y=20 align="right" sensor=program program="echo `grep -m 1 'model name' /proc/cpuinfo| sed -n '/: /s/.............//p'`" align=center interval=1000
image x=0 y=33 path="image/graph_grid.png"
bar x=1 y=34 vertical=false path="image/bar_multi-big.png" sensor=cpu interval=1000
text x=90 y=38 sensor=cpu format="%v %" align=right interval=1000
- text x=94 y=31 align= right sensor=program program="cat /proc/cpuinfo | grep 'cpu MHz' | sed -e 's/.*: //'| sed -e 's/\..../ MHz/'" interval=1000 interval=1000
- text x=94 y=44 sensor=program program="cat /proc/cpuinfo | grep 'cache size' | sed -e 's/.*: //'"
+ text x=94 y=31 align= right sensor=program program="cat /proc/cpuinfo | grep -m 1 'cpu MHz' | sed -e 's/.*: //'| sed -e 's/\..../ MHz/'" interval=1000 interval=1000
+ text x=94 y=44 sensor=program program="cat /proc/cpuinfo | grep -m 1 'cache size' | sed -e 's/.*: //'"
x=0 y=0

##############
--------------------------------

Report

darkarcher

13 years ago

It's very nice and practical. Thanks! ;-)

Report

unna

13 years ago

Just to let you know: I've been waiting for something like this for a long while.

I have, finally, a good pretext to run superkaramba once again.

Report

C

jpcohen

13 years ago

Thank you very much ;-)

Report

product-maker 14 20

File (click to download) Version Description Packagetype Architecture Downloads Date Filesize DL OCS-Install
Pling
Details
license
version
updated Apr 29 2005
added Apr 29 2005
downloads today
0
page views today 0