LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 03-28-2005, 12:11 PM   #1
evil_empire
Member
 
Registered: Mar 2005
Distribution: Fedora Core 3
Posts: 176

Rep: Reputation: 31
resource/sensor monitor


Hi guys,
I'm not sure where to start this thread!
I may sound dumb, but what to do I can't exactly remember which app it was.

I'm looking for an application that shows lm sensors values and cpu, ram, uptime etc resources in a small colourful window.
Not something heavy like KDE System Guard. Something light and small so that I can keep it running all the time without occupying the whole workspace.
I took a quick look through all the packages with FC3 couldn't find or guess one.
I see apps like this every now and then on screenshots people post, have no clue.

Plzzz suggest me a good one.
 
Old 03-28-2005, 12:35 PM   #2
__J
Senior Member
 
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973

Rep: Reputation: 46
gkrellm
 
Old 03-28-2005, 12:36 PM   #3
dping
Member
 
Registered: Dec 2004
Location: Oregon, USA
Distribution: Kubuntu 9.04
Posts: 181

Rep: Reputation: 30
Gkrellm is one. Superkaramba also has several very nice system monitor themes.

http://www.superkaramba.com/...
[ kde-look.org superkaramba themes ]
http://members.dslextreme.com/users/...m/gkrellm.html
 
Old 03-28-2005, 01:04 PM   #4
evil_empire
Member
 
Registered: Mar 2005
Distribution: Fedora Core 3
Posts: 176

Original Poster
Rep: Reputation: 31
Thanks guys!
gkrellm was what I couldn't remember.
 
Old 03-28-2005, 01:08 PM   #5
Mega Man X
LQ Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 65
I know this had been answered, but check out the Finnish torsmo:

http://torsmo.sourceforge.net/

I found it way better then gkrellm and way less resource intensive. The good thing about torsmo is that it runs on the root window (more or less like a background). It's very customizable as well and very sexy .

Regards!
 
Old 03-28-2005, 01:21 PM   #6
evil_empire
Member
 
Registered: Mar 2005
Distribution: Fedora Core 3
Posts: 176

Original Poster
Rep: Reputation: 31
Thanks Megaman,
BTW, I want all of the aboves to run on KDE. I hope they do.
 
Old 03-28-2005, 01:41 PM   #7
Mega Man X
LQ Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 65
You are most welcome . I got torsmo to run on KDE and SuSE 9.1 a while ago. Some users have been reporting problems with torsmo and Gnome because of nautilus, which covers the root window in order to display desktop icons. I think it's worthy a shot, and that little thing runs great

If you like the idea of monitoring things on your root window, check out also root-tail:

http://www.goof.com/pcg/marc/root-tail.html

works similar to torsmo, but instead of the system, it monitors your log files (usually at /var/log) so you get full control/monitoring of everything happening in your system without opening applications or switching to them (with alt+tab, for example).

Good luck!

Last edited by Mega Man X; 04-02-2005 at 12:01 AM.
 
Old 03-29-2005, 02:30 PM   #8
evil_empire
Member
 
Registered: Mar 2005
Distribution: Fedora Core 3
Posts: 176

Original Poster
Rep: Reputation: 31
hey MegaMan,
couldn't get root-tail running, compiled and installed fine but vouldn't get the log window.
I think I passed all the window log file parameters, gave no error but windows doesn't pop-up. Pretends its working though!
Any clue? And a few examples as well
Maybe I should RTFM.

BTW, I'm on FC3, KDE.
 
Old 03-31-2005, 02:44 AM   #9
Mega Man X
LQ Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 65
Hi again evil_empire!

I'm not sure if I understood your question. Sorry. But if you mean that root-tail is running fine (on the root window) but not displaying your logs correctly (or not at all) that might be because only root can see the logs on your system. You could modify the permissions with chmod so users can read your logs, but don't let them write into it

Regards!

Last edited by Mega Man X; 04-02-2005 at 12:02 AM.
 
Old 03-31-2005, 11:31 AM   #10
evil_empire
Member
 
Registered: Mar 2005
Distribution: Fedora Core 3
Posts: 176

Original Poster
Rep: Reputation: 31
Hi mega, I sorted out root-tail. Actually no output was produced, I had to give all the fonts and window geometry parameters correctly and then it worked.
But torsmo is giving a tiny problem, it displays everything well, but wouldn't display lm sensor values. Looks like its looking at the wrong place in the /proc. Theres no default configuration file that I can modify to correct it. And I have no idea how to write a config file for it from the scratch. I just know it uses ~/.torsmorc. Plzz shed some light if you have time.
And, BTW theres no problem with i2c & lm sensors, gkrellm & sensors both give the correct values.
 
Old 03-31-2005, 11:52 AM   #11
Mega Man X
LQ Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 65
Hi again . Well, you were pretty close . When you've downloaded torsmo, you actually got a sample rc file called "torsmorc.sample". You could simple copy to your home directory and rename it to .torsmorc and make the modifications necessary. I'm posting the config file here anyways

Code:
# torsmo configuration

# set to yes if you want tormo to be forked in the background
background no

# X font when Xft is disabled, you can pick one with program xfontsel
#font 5x7
#font 6x10
#font 7x13
#font 8x13
font 9x15
#font *mintsmild.se*
#font -*-*-*-*-*-*-34-*-*-*-*-*-*-*

# Use Xft?
use_xft no

# Xft font when Xft is enabled
xftfont courier-12

# Text alpha when using Xft
xftalpha 0.8

# mail spool
mail_spool $MAIL

# Update interval in seconds
update_interval 5.0

# Create own window instead of using desktop (required in nautilus)
own_window no

# Use double buffering (reduces flicker, may not work for everyone)
double_buffer no

# Minimum size of text area
minimum_size 280 5

# Draw shades?
draw_shades yes

# Draw outlines?
draw_outline no

# Draw borders around text
draw_borders yes

# Stippled borders?
stippled_borders 8

# border margins
border_margin 4

# border width
border_width 1

# Default colors and also border colors
default_color white
default_shade_color black
default_outline_color black

# Text alignment, other possible values are commented
#alignment top_left
#alignment top_right
alignment bottom_left
#alignment bottom_right

# Gap between borders of screen and text
gap_x 12
gap_y 12

# Subtract file system buffers from used memory?
no_buffers yes

# set to yes if you want all text to be in uppercase
uppercase no

# boinc (seti) dir
# seti_dir /opt/seti

# Possible variables to be used:
#
#      Variable         Arguments                  Description                
#  acpiacadapter                     ACPI ac adapter state.                   
#  acpifan                           ACPI fan state                           
#  acpitemp                          ACPI temperature.                        
#  adt746xcpu                        CPU temperature from therm_adt746x       
#  adt746xfan                        Fan speed from therm_adt746x             
#  battery           (num)           Remaining capasity in ACPI or APM        
#                                    battery. ACPI battery number can be      
#                                    given as argument (default is BAT0).     
#  buffers                           Amount of memory buffered                
#  cached                            Amount of memory cached                  
#  color             (color)         Change drawing color to color            
#  cpu                               CPU usage in percents                    
#  cpubar            (height)        Bar that shows CPU usage, height is      
#                                    bar's height in pixels                   
#  downspeed         net             Download speed in kilobytes              
#  downspeedf        net             Download speed in kilobytes with one     
#                                    decimal                                  
#  exec              shell command   Executes a shell command and displays    
#                                    the output in torsmo. warning: this      
#                                    takes a lot more resources than other    
#                                    variables. I'd recommend coding wanted   
#                                    behaviour in C and posting a patch :-).  
#  execi             interval, shell Same as exec but with specific interval. 
#                    command         Interval can't be less than              
#                                    update_interval in configuration.        
#  fs_bar            (height), (fs)  Bar that shows how much space is used on 
#                                    a file system. height is the height in   
#                                    pixels. fs is any file on that file      
#                                    system.                                  
#  fs_free           (fs)            Free space on a file system available    
#                                    for users.                               
#  fs_free_perc      (fs)            Free percentage of space on a file       
#                                    system available for users.              
#  fs_size           (fs)            File system size                         
#  fs_used           (fs)            File system used space                   
#  hr                (height)        Horizontal line, height is the height in 
#                                    pixels                                   
#  i2c               (dev), type, n  I2C sensor from sysfs (Linux 2.6). dev   
#                                    may be omitted if you have only one I2C  
#                                    device. type is either in (or vol)       
#                                    meaning voltage, fan meaning fan or temp 
#                                    meaning temperature. n is number of the  
#                                    sensor. See /sys/bus/i2c/devices/ on     
#                                    your local computer.                     
#  kernel                            Kernel version                           
#  loadavg           (1), (2), (3)   System load average, 1 is for past 1     
#                                    minute, 2 for past 5 minutes and 3 for   
#                                    past 15 minutes.                         
#  machine                           Machine, i686 for example                
#  mails                             Mail count in mail spool. You can use    
#                                    program like fetchmail to get mails from 
#                                    some server using your favourite         
#                                    protocol. See also new_mails.            
#  mem                               Amount of memory in use                  
#  membar            (height)        Bar that shows amount of memory in use   
#  memmax                            Total amount of memory                   
#  memperc                           Percentage of memory in use              
#  new_mails                         Unread mail count in mail spool.         
#  nodename                          Hostname                                 
#  outlinecolor      (color)         Change outline color                     
#  pre_exec          shell command   Executes a shell command one time before 
#                                    torsmo displays anything and puts output 
#                                    as text.                                 
#  processes                         Total processes (sleeping and running)   
#  running_processes                 Running processes (not sleeping),        
#                                    requires Linux 2.6                       
#  shadecolor        (color)         Change shading color                     
#  stippled_hr       (space),        Stippled (dashed) horizontal line        
#                    (height)        
#  swapbar           (height)        Bar that shows amount of swap in use     
#  swap                              Amount of swap in use                    
#  swapmax                           Total amount of swap                     
#  swapperc                          Percentage of swap in use                
#  sysname                           System name, Linux for example           
#  time              (format)        Local time, see man strftime to get more 
#                                    information about format                 
#  totaldown         net             Total download, overflows at 4 GB on     
#                                    Linux with 32-bit arch and there doesn't 
#                                    seem to be a way to know how many times  
#                                    it has already done that before torsmo   
#                                    has started.                             
#  totalup           net             Total upload, this one too, may overflow 
#  updates                           Number of updates (for debugging)        
#  upspeed           net             Upload speed in kilobytes                
#  upspeedf          net             Upload speed in kilobytes with one       
#                                    decimal                                  
#  uptime                            Uptime                                   
#  uptime_short                      Uptime in a shorter format               
#
#  seti_prog                         Seti@home current progress
#  seti_progbar      (height)        Seti@home current progress bar
#  seti_credit                       Seti@hoome total user credit


# variable is given either in format $variable or in ${variable}. Latter
# allows characters right after the variable and must be used in network
# stuff because of an argument

# stuff after 'TEXT' will be formatted on screen

TEXT
$nodename - $sysname $kernel on $machine
$stippled_hr
${color grey}Uptime$color $uptime
${color grey}RAM Usage:$color $mem/$memmax - $memperc% ${membar 6}
${color grey}Swap Usage:$color $swap/$swapmax - $swapperc% ${swapbar 6}
${color grey}CPU Usage:$color $cpu% ${cpubar 6}
${color grey}Processes:$color $processes  ${color grey}Running:$color $running_processes
${color grey}Mails: ${color}$mails${color grey} New: ${color}$new_mails${color grey}
$color$stippled_hr
${color grey}Networking:
 Up:$color ${upspeed eth0} k/s${color grey} - Down:$color ${downspeed eth0} k/s
${color grey}File systems:
 / $color${fs_free /}/${fs_size /} ${fs_bar 6 /}
${color grey}Temperatures:
 CPU:$color ${i2c temp 1}°C${color grey} - MB:$color ${i2c temp 2}°C
On torsmo homepage, there's also a little explanation about the config file:

http://torsmo.sourceforge.net/readme.php

I'm not sure how sensors actually work though. The box I run torsmo has no temp control at all .

I wish you luck my friend!
 
Old 03-31-2005, 12:35 PM   #12
evil_empire
Member
 
Registered: Mar 2005
Distribution: Fedora Core 3
Posts: 176

Original Poster
Rep: Reputation: 31
Thanks a lot Megaman.
Luv ya!
 
Old 03-31-2005, 12:47 PM   #13
Mega Man X
LQ Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 65
You are welcome
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
gdesklets sensor SepitvaOra Linux - Software 3 04-06-2005 07:02 PM
resource monitor? acidjuice SUSE / openSUSE 1 02-13-2005 07:54 PM
offset on lm-sensor? bobbens Linux - Hardware 3 01-20-2005 03:34 PM
LM sensor help TuxFreak Linux - Hardware 0 10-24-2004 02:34 PM
Resource monitor Bilb Linux - Software 6 06-10-2003 08:58 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 03:27 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration