View Full Version : Tic-a-stat help!!!!
kirek
12th July 2001, 14:10
I tried using the Tic-a-stat like you recomended, dnar, and it's giving me problems.
When I start it up to tail my sensors log file I get this:
CPU temp = 37.000000000000000000000000
00000000000000000000000000000000000000
00000000000000000000000000000000000000
And it wil repeat forever unless I remove the applet.
Any ideas? I adjusted the way I write to my log to see if that would help, I adjusted the applet width 'cause I thought it might be a line wrap problem. :confused: I don't know, Maybe I have the whole thing screwed up.
Thanks,
dnar
12th July 2001, 14:23
Sheeeekkkssss!
If your tail -f your logfile, it looks ok???
Email me your script dude.
kirek
12th July 2001, 14:33
yea, if I run 'tail -f /var/log/sensor.log' from a terminal window the output is fine. In fact that's how I've been doing it until I tried the tic-a-stat.
It's very bizarre.
Oh well I will play more when I get home tonight. And I will email the script then too. I'm not set up to ssh into my home system, yet. :) But that's an easy one, I just have to prick a hole in my firewall... :D And away we go.
Allrighty then, Talk to you later.
kirek
12th July 2001, 14:35
LOL That's too funny!
I just noticed your location:
/dev/chair
Too funny. :cool:
dnar
12th July 2001, 14:36
10:4.
What happens if you click on the tick-a-stat window, how does the logfile look in the popup-window?
Later m8.
dnar
12th July 2001, 14:39
Originally posted by kirek
LOL That's too funny!
I just noticed your location:
/dev/chair
Too funny. :cool:
When I received Win4Lin in the mail, the re-seller tossed in some freebies, amoung which was a bumper sticker:
/dev/car
:D
kirek
12th July 2001, 14:40
Originally posted by dnar
10:4.
What happens if you click on the tick-a-stat window, how does the logfile look in the popup-window?
Later m8.
That looks like the logfile should. I just don't get it. :confused:
Oh well.
Later
dnar
12th July 2001, 14:53
Sounds like a Gnome / gtk / tick-a-stat problem. Try changing the type to "test module". Work Ok?
I'm using version 0.2.1. u? I did update my gnome-sensors package, so I am not using the RedHat distro supplied version........
kirek
12th July 2001, 23:15
I have version 0.2.1 also.
It is almost like it chokes on the degree symbol or something.
Wait that gives me an idea.
I'll be back... :cool:
kirek
13th July 2001, 00:06
Okay that's what it was, it does not like the degree symbol. I changed my logging to log fan speeds instead of temps and Tick-a-stat works just fine. :cool:
I guess I am playing with fonts tonight.
Later eh?
dnar
13th July 2001, 06:03
That's weird man????:confused:
I have no probs with the degree symbol....
Look here (http://members.iinet.net.au/~dnar/images/gah/clientmonitor.jpg)
kirek
14th July 2001, 03:42
I am still having probs with the degree symbol but I got the tic-a-stat doing what I wanted for now.
Here's a screenshot (137k) (http://www.geocities.com/kirek2112/1024x768.jpg)
It's in the top-right corner.
Thanks for your help with this.
take it easy.
dnar
14th July 2001, 03:50
Your server is not available.... I will try later.
Hows this for you kirek, use this script to perform all writes to your logfiles:
#!/bin/bash
#Script: append-smart-log
# Author: Wayne Osborn. DNA Research.
# $1 Text to append
# $2 File to append text to
# Text is only appended if it differs from the last line of the file
if [ ! -z $2 ]
then
LAST_LINE=`tail -n1 $2`
if [ "$1" != "$LAST_LINE" ]
then
echo "$1" >> $2
fi
fi
To use this script:
append-smart-log " $JOB $SEQ $PERCENT" $LOG_PATH/genome.log
in this example, $JOB, $SEQ and $PERCENT are variables to write, $LOG_PATH defines the logfile directory. "Bash" this as much as you like m8.
I think the script comments are self explanitry.... Reduces your logfile size and reduces the "lost CPU cycles" by tick-a-stat updating...... WHy update the display each minute if the figures are constant, as they are when running the processor @ 100% ????
kirek
14th July 2001, 04:03
My bad, I forgot geocities will not let you browse images directly.
Try this:
screenshot(137k) (http://www.geocities.com/kirek2112/screen.html)
Cool script, I will try it out. Thanks
dnar
14th July 2001, 04:28
Originally posted by kirek
My bad, I forgot geocities will not let you browse images directly.
Try this:
screenshot(137k) (http://www.geocities.com/kirek2112/screen.html)
Cool script, I will try it out. Thanks
Alright! It lives! Nice background m8 :cool:
Questions:
1. I see u use Gimp, try this: place the CPU/MEM aplet on your Gnome bar, watch your memory use, does the Gimp eat memory and not rlease it when you close the Gimp down????
2. What happens if you setup a another tick-a-stat to monitor whateverfile and do this several times: sensors >> whateverfile. Does it bauk at the degree symbol???
dnar
14th July 2001, 04:30
Originally posted by dnar
Alright! It lives! Nice background m8 :cool:
Questions:
1. I see u use Gimp, try this: place the CPU/MEM aplet on your Gnome bar, watch your memory use, does the Gimp eat memory and not rlease it when you close the Gimp down????
2. What happens if you setup a another tick-a-stat to monitor whateverfile and do this several times: sensors >> whateverfile. Does it bauk at the degree symbol???
PS Don't run top or gtop for too long! It eats processor cycles!
dnar
16th July 2001, 13:43
Kirek - check the "More fun problems for me" thread by mechCD.....
kirek
18th July 2001, 13:16
:lurkmodeoff:
Man is it hard to keep up with posts on this board. It is so freakin active. Not to mention if you miss a day of posting you have to lurk for a while just to get up to speed.
Anyways...
Yes, those tools from the 'More fun problems..." thread look kinda cool. I kinda like having the little applet up in the corner not taking up screen real estate though.
On the GIMP, I don't use it a whole lot but it seems to release the memory okay. I will watch it closer. Which version do you have? I have 1.2.1.
later :cool:
:lurkmodeon:
dnar
19th July 2001, 06:29
Originally posted by kirek
:lurkmodeoff:
Man is it hard to keep up with posts on this board. It is so freakin active. Not to mention if you miss a day of posting you have to lurk for a while just to get up to speed.
Anyways...
Yes, those tools from the 'More fun problems..." thread look kinda cool. I kinda like having the little applet up in the corner not taking up screen real estate though.
On the GIMP, I don't use it a whole lot but it seems to release the memory okay. I will watch it closer. Which version do you have? I have 1.2.1.
later :cool:
:lurkmodeon:
1.1.25
siggy
19th July 2001, 09:19
Originally posted by kirek
:lurkmodeoff:
Man is it hard to keep up with posts on this board. It is so freakin active. Not to mention if you miss a day of posting you have to lurk for a while just to get up to speed.
:lurkmodeon:
I have this same problem
dnar
21st July 2001, 06:41
kirek, check your email m8ee, I have sent you 3 x custom scripts. :D
vBulletin® v3.7.4, Copyright ©2000-2012, Jelsoft Enterprises Ltd.