Personal computing discussed

Moderators: renee, SecretSquirrel, notfred

 
SlyFerret
Graphmaster Gerbil
Topic Author
Posts: 1041
Joined: Thu Feb 28, 2002 7:00 pm
Location: Delaware, Ohio
Contact:

Linux graphical system monitor

Wed Feb 25, 2004 2:30 pm

Hi folks,
I'm looking for a graphical system monitor that will display:

Total CPU %
Per Process CPU %
Total RAM %
Per Process RAM %
Network bandwidth
HDD bandwidth
HDD disk space usage (This one is not critical)

I've looked at GPS, and KTop, but they're not exactly what I have in mind. Others that look nice don't do per process statistics.

This is to keep an eye on the catalog/circulation server for a moderately sized public library. Also... It would be nice to find something free, but a comercial product would also be considered.

Anyone have any suggestions?
-SF
 
meanfriend
Gerbil Elite
Posts: 740
Joined: Tue Jan 28, 2003 2:46 pm
Location: Vancouver, BC Canada

Re: Linux graphical system monitor

Wed Feb 25, 2004 5:32 pm

A classic monitor is Gkrellm. Quite customizable and free. It can do everything you specified except maybe per-process stats. There are lots of plug-ins available for it so maybe you'll find something useful.
 
yarbo
Gerbil Elite
Posts: 687
Joined: Thu Jun 13, 2002 11:16 pm
Location: Southern California
Contact:

Fri Feb 27, 2004 2:25 am

gtop?
<a href=http://www.gentoo.org>Gentoo GNU/Linux</a>
 
slymaster
Gerbil XP
Posts: 462
Joined: Sat Mar 15, 2003 11:51 pm
Location: Toronto, ON

Mon Mar 01, 2004 12:52 pm

Does it have to be graphical ? I have found that the regular top utility is better than the all the graphical utilities I have tried, especially for a dual CPU system. I don't think that top has any info for disk usage however.

On my main Unix server, I use a command called iostat for monintoring disk activity. The command iostat dsk2 dsk3 dsk4 5 5 produces 5 iterations (one every 5 seconds) for the 3 devices (dsk2 dsk3 dsk4). If you try iostat 5 1000 > diskio.txt, you will have 1000 iterations written to the textfile of your choice. Below is a sample output - bps is bytes per second throughput (kbytes/sec on this server), tps is transfers per second. The server below has an enormous amount of ram, so the disk activity is very slight.

iostat dsk2 dsk3 dsk4 5 5
tty dsk2 dsk4 dsk3 cpu
tin tout bps tps bps tps bps tps us ni sy id
29 324 256 4 359 9 325 6 2 0 1 97
29 71 0 0 2 0 0 0 50 0 0 50
31 475 0 0 0 0 0 0 51 0 0 48
27 1256 2 0 16 2 0 0 51 0 1 48
37 753 3 0 34 2 0 0 50 0 1 49

My Linux server does not include iostat, but here is a link where you can read about it and download it:

http://www.icewalkers.com/Linux/Softwar ... sstat.html

It also talks about a utility called sar. I used sar when I was working at a different company several years ago, and I found it better overall than iostat and vmstat. You may want to check it out. If you need to do any serious performance tuning, you will eventually want something that writes to a file - you can have it run all day if you want, and and analyze it quickly when it finishes.

EDIT: The columns from the sample output (iostat) line up much better for real then what I pasted.
 
slymaster
Gerbil XP
Posts: 462
Joined: Sat Mar 15, 2003 11:51 pm
Location: Toronto, ON

Re: Linux graphical system monitor

Mon Mar 01, 2004 1:01 pm

meanfriend wrote:
A classic monitor is Gkrellm. Quite customizable and free. It can do everything you specified except maybe per-process stats. There are lots of plug-ins available for it so maybe you'll find something useful.

I checked out Gkrellm - it looks pretty slick. Does it allow the option to write data to disk ?

I plan to try it out, but will not have time to experiment for a few days.
 
meanfriend
Gerbil Elite
Posts: 740
Joined: Tue Jan 28, 2003 2:46 pm
Location: Vancouver, BC Canada

Re: Linux graphical system monitor

Mon Mar 01, 2004 1:38 pm

slymaster wrote:
I checked out Gkrellm - it looks pretty slick. Does it allow the option to write data to disk ?


It is a great little utility, but I'm not aware of any stats logging functions.
 
SlyFerret
Graphmaster Gerbil
Topic Author
Posts: 1041
Joined: Thu Feb 28, 2002 7:00 pm
Location: Delaware, Ohio
Contact:

Tue Mar 02, 2004 4:44 pm

Well, GPS seems to be the best one for our uses here, so that's the one I reccomended. I personally like gkrellm, so I'm running that on my workstation now. The F@H monitor is a nice little plugin.

-SF

Who is online

Users browsing this forum: No registered users and 1 guest
GZIP: On