Hello, XWEM hackers / users!
A little story: before XWEM I used sawfish and GKrellM for system status
monitoring. When XWEM came I felt that GKrellM (and other programs with
"small windows") are not compatible with the "XWEM-paradigm" so I left
them behind.
At first I missed GKrellM very much (OMG WHAT'S GOING ON BEHIND MY BACK,
etc), but then somehow I became more relaxed and focused, because
GKrellM was just spewing information at me all the time (which I watched
/ analysed subconsciously), without it there was definitely less
distraction.
For me, GKrellM had two important uses: seeing when CPU utilization was
100% for a long time (that probably meant a program had gone wild and
needed a healthy kill -9), and monitoring bandwidth utilization (has my
movie downloaded yet? has my movie downloaded yet? has my movie
downloaded yet? has my movie downloaded yet? ...).
I solved the second problem. XWEM watches bandwidth utilization, if it
is over 50 KiB/sec two consecutive checking times (checking every 5
minutes IIRC) then it knows I am downloading "something big", when the
bandwidth utilization falls under 50 KiB/s it puts I nice red box onto
the XWEM dock, so I can see "yes, it's finally here". I think maybe I
should do the same for CPU utilization monitoring.
OK, now for those who simply can't live without a GKrellM like
functionality, there is a solution too (which I am using right now):
,----
| -Mojojojo- ((freshmeat)) Xosview is a program which displays many system
| related statistics, such as CPU, memory, swap, and network
usage,
| interrupt and serial activity, and load average in an X
| window. http://xosview.sourceforge.net/
`----
The good thing about xosview that it is: small (fast & low memory
footprint), without fancy (fast, ugly), extremely customizeable (yeah).
So it is possible to put it on XWEM dock like on this screenshot:
http://ignotus.linuxforum.hu/tmp/xosview.jpg
To the left is a standard xosview so those of you who haven't seen it
yet can get a clue about what it is. On the dock that ugly little thing
with two grey bars on top of each other is my customized xosview, the
upper showing CPU usage, the lower showing bandwidth utilization (I am
downloading something with half of my max speed).
How to put xosview (on any program for the matter) onto the dock?
(xwem-execute-program-expecting "programname" 'systray)
So I start my xosview like this:
(xwem-execute-program-expecting
"xosview -geometry 162x40 -int -disk -page -swap -mem -load +net -network
170000 -caption -label"
'systray '(x-border-width 0))
(The "x-border-width 0" means that XWEM will not put a white border
around it.)
It is not all the config, I also have this in my .Xdefaults:
,----
| !xosview
| xosview*background: blue4
| xosview*borderwidth: 0
| xosview*graphNumCols: 56
|
| xosview*netBandwidth: 170000
| xosview*netIface: eth0
| xosview*netInColor: yellow3
| xosview*netOutColor: red2
| xosview*netBackground: #181f1f
| xosview*netDecay: True
| xosview*netUsedFormat: autoscale
|
| xosview*cpuUserColor: red
| xosview*cpuNiceColor: red3
| xosview*cpuSystemColor: white
| xosview*cpuFreeColor: #181f1f
`----
There are lot of other customizeable options (see man xosview for
details). Conclusion: if you would like to have a system monitor within
XWEM, xosview is the way to go!
--
Richard Klinda \/
/\ Show me your init.el and I'll you tell who you are.
|