GlassMonitor - DynamicPartition

Karamba & Superkaramba

Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net

0
5.0
Description:

Modified version of GlassMonitor by VemeC with dynamic partiton list. See screenshots.
Last changelog:

14 years ago

Version 0.3.2:
- Added 'binfmt_misc' to partition ban list
- Fixes 'interval' variables for low CPU usage
- Change encoding to iso-8859-1 for correct degree symbol
Version 0.3.1:
- Fix maindata.xml and theme skz file
- Added 'securityfs' and 'debugfs' to partition ban list [robinp]
- Modified KDE version print [robinp]

thiemel

14 years ago

Hi, is there any possibility how to decrease CPU usage? I have 1,8GHz CPU and about 10% (and more) of CPU usage is too high for me :-(

Report

C

demitriusbelai

14 years ago

Yes. I checked CPU usage and really about 10%. I have forgotten 'interval' argument for many sensors. Now CPU usage is 3% for me (peak 11% each 10s). Thank you. Soon I release a new version.
Sorry for my bad English.

Report

offcenter77

14 years ago

Great work! But I have a question. My partition list is showing up with these two partitions:

/boot
/proc/sys/fs/binfmt_misc

I don't care to see either one. I tried to add boot and binfmt_misc to partition_fsban, but it still shows up. How do I get them off the list?

Report

C

demitriusbelai

14 years ago

Hi,
The partition_fsban variable is used for ban of a filesystem type. Then 'binfmt_misc' was to have been hided. For '/boot' it not work because it is ext2 or ext3 type. I will include 'binfmt_misc' into partition_fsban in next release, thank you.
Sorry for my bad English.

Report

bioe007

14 years ago

fyi-

if you change code:

line 62:

text x=129 y=100 sensor=program program="cat /proc/acpi/thermal_zone/THRM/temperature | grep 'temperature' | sed -e 's/.*: //'"

to:

text x=129 y=100 sensor=program program="cat /proc/acpi/thermal_zone/THM/temperature | grep 'temperature' | sed -e 's/.*: //'"

then P4 thermal zones are supported and the temp is reported correctly.

also- thanks for the great monitor!

Report

hacknup

14 years ago

super cool .. I downloaded and just double clicked it .. working right off the bat. :-)

Anyway .. I notice that from another monitor (gkrellm2) that the cpu goes from 0 and 1% to 62% .. pretty tasking for the cpu for some reason here.

Also I have in my linux server here multiple network cards .. it monitors the first one which is my lan here. Eth1 is the second and it's the connect to the net. I'm sure I'll have to find the way to config it but right now I dont see it.

It's a large monitor but it's monitoring a LOT of stuff and I love it!

Report

perylos

14 years ago

hi it is great theme...but i would like to add MAC address of my eth1 from "ifconfig" command...i have tried but couldnt get it..could u please write a sample line to capture it from ifconfig output..?my output is like this:
eth1 Link encap:Ethernet HWaddr 00:11:22:33:44:55
inet addr:192.168.1.22 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1
RX packets:7062 errors:0 dropped:4742 overruns:0 frame:0
TX packets:7772 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:5954509 (5.6 Mb) TX bytes:993828 (970.5 Kb)
Interrupt:169 Base address:0x4000 Memory:d8000000-d8000fff
Tia...

Report

perylos

14 years ago

ok ..i have done it..thx..so simple ehh?!
sensor=program program="/sbin/ifconfig eth1 | grep 'encap' | awk '{print $5}'"

Report

robinp

14 years ago

Hey this works quite nicely, but I have a couple of points to note:

1. It didn't work from the skz file, I had to unzip it first: I was getting the error "Could not read config file".
Actually I had to do this anyway because I needed a coupla tweaks...

2. Tweak 1 - I had a couple of strange looking partitions called /sys/kernel/debug and /sys/kernel/security which I wasn't interested in, so I added 'securityfs' and 'debufs' to the "don't display list" in glassmonitor.py called partition_fsban.

3. Tweak 2 - my KDE version is apparently '3.5.5 "release 45"', according to 'kde-config --version', so I changed the sed commands in glassmonitor.py from:

sed -e 's/.*: //'

to:

awk '{ print $2 }'

which works better in picking out just the main version number.

Report

C

demitriusbelai

14 years ago

Thank you!!
I make a update.

Report

higher

14 years ago

This is very nice, looks greate.

Could you make that it shows both cores of a double core processor?

Thanks

Report

ggo82

14 years ago

Compliment...
Nice work!

Report

14 years ago

Version 0.3.2:
- Added 'binfmt_misc' to partition ban list
- Fixes 'interval' variables for low CPU usage
- Change encoding to iso-8859-1 for correct degree symbol
Version 0.3.1:
- Fix maindata.xml and theme skz file
- Added 'securityfs' and 'debugfs' to partition ban list [robinp]
- Modified KDE version print [robinp]

12345678910
Be the first to comment
File (click to download) Version Description Downloads Date Filesize DL OCS-Install MD5SUM
*Needs pling-store or ocs-url to install things
Pling
0 Affiliates
Details
license
version
0.3.2
updated Feb 22 2007
added Jan 22 2007
downloads 24h
0
mediaviews 24h 0
pageviews 24h 2