
Micro System Monitor
Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on git.opendesktop.org
unna
13 years ago
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
Report
unna
13 years ago
I have, finally, a good pretext to run superkaramba once again.
Report
jpcohen
13 years ago
Report