Unix administration - newbie question: shell script to monitor server performance

This is Interesting: Free IT Magazines  
Home > Archive > Unix administration > March 2007 > newbie question: shell script to monitor server performance





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author newbie question: shell script to monitor server performance
underh20.scubadiving@gmail.com

2007-03-12, 7:20 pm

I'm new to unix scripting. I need a script that to monitor our Solaris
8 server performance.
The script will run at an interval which captures:

1) CPU, disk, memory, swap usages, i/o stats. I need the information
to be simple and dispalyed like the disk usage and free available
space, memory usage and free memory space, etc.

2) Top 15 files or processes that is taking up the most CPU, disk and
memory space.

Thanks,

Bill

Grzegorz Rumatowski

2007-03-13, 7:24 am

On 12 Mar 2007 15:53:46 -0700, underh20.scubadiving@gmail.com wrote:

> I'm new to unix scripting. I need a script that to monitor our Solaris
> 8 server performance.
> The script will run at an interval which captures:
>
> 1) CPU, disk, memory, swap usages, i/o stats. I need the information
> to be simple and dispalyed like the disk usage and free available
> space, memory usage and free memory space, etc.


man:

vmstat,iostat,sar

> 2) Top 15 files or processes that is taking up the most CPU, disk and
> memory space.


man prstat

Gregory
Dave Hinz

2007-03-13, 7:24 am

On Tue, 13 Mar 2007 09:22:27 +0100, Grzegorz Rumatowski <grzechur@jabberpl.org> wrote:
> On 12 Mar 2007 15:53:46 -0700, underh20.scubadiving@gmail.com wrote:
>
>
> man:
> vmstat,iostat,sar


Or, find something like Nagios or Big Brother that takes monitoring
further. How many servers are you monitoring, what is the audience of
the tool?

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com