Report Metrics

Hello, it's  me again..   it seems I really can't  get a hang of being a system administrator  and I need some really  good  advice.  At the momment  my boss is asking me to do report metrics on the performance of our servers and workstations.  Any suggestions what should I include and how will I get the data, for  example,   to report the disk space I need  to use  df -k,  and  vmstat data, In short,  what other stastics can I get out of the systems.  
and last thing  is  there any faster  way to  get the filesize  of a folder  than  du.  cause I also need to report the size of a particular  folder, weekly,  it's located in the T3 disk with the size of 250 GB.

thanks,
Michelle
LVL 7
manthaneinAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

wesly_chenCommented:
Hi,
 
> report metrics on the performance of our servers and workstations
You can try to use bigbrother to monitor
the CPU load (uptime),
Swap free,
disk free (df -k),
network connection (ping),
critical service (sendmail, httpd, java, etc).
Please check the following site (free):
http://quest.com/bigbrother/

Wesly
0
manthaneinAuthor Commented:
is there any way  I can  get those  metrics   myself
0
wesly_chenCommented:
Hi,

   As I mentioned, the commands are is the ().
------
CPU load  (uptime)
CPU idle (vmstat)
Swap free (vmstat, or swap -s)
Disk IO (iostat)
NFS IO (nfstat)
Disk free / partition usage (df -kl)
Directories usage (du -sk *)
Critical services (ps -elf | grep <service name> )
network connection (ping )
-------
    For details, you can do "man <command>"

    However, Bigbrother collect those information for you and generate very nice and neat report automatically.

Wesly
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Cloud Class® Course: CompTIA Healthcare IT Tech

This course will help prep you to earn the CompTIA Healthcare IT Technician certification showing that you have the knowledge and skills needed to succeed in installing, managing, and troubleshooting IT systems in medical and clinical settings.

manthaneinAuthor Commented:
how about  checking the  directory  usuage of  a directory that is over 150Gb in size  with many subdirectories..  is there  any way  to do this..  I mean  faster thatn   du
0
ahoffmannCommented:
>  how about  checking the  directory  usuage of  a directory that is over 150Gb in size
if you allready know that it is this size, what do you need to check then?

about all the metrics, do you probably mean something like http://bb4.com/
0
wesly_chenCommented:
Hi ahoffmann,

http://bb4.com
This page will redirect to http://quest.com/bigbrother/ automatically in 10 seconds.
The non-commerical URL is:
http://www.bb4.org/

   By the way, the reason why "du" take longer time on a big directory is not the size. It is the number of files under the big direcotry. If you set the quota on the direcoty, then you can check the direcoty size quickly by check the quota on it. But it
will slow down the disk IO.

Wesly
0
ahoffmannCommented:
wesly_chen, thanks for the hint (didn't check hence didn't realise this change)
0
yuzhCommented:
You can use "sar" to get system activity report.

man sar
to learn more details.

to enable sar to collect your system data,

you need to put something like the following in your crontab (it is ok to
put in root's crontab)

5,35 * * * * /usr/lib/sa/sa1 >/dev/null 2>&1

then you can use sar to get the reports.  (you can make the cronjob to run more often)

Also have a look at the other performance commands in:
http:Q_20906790.html#10513520

There is a toolkit called SE(symbol engine) available by Adrian Cockroft, performance engineer at Sun Microsystems, which provides you ''ALL AT THE SAME TIME" and a script also which gives you graphical user interface for system monitoring.

You can download the latest SE Toolkit (v3.3) from the following site: (FREE)

http://sunfreeware.com/

Other usefull reference:
~~~~~~~~~~~~~~~~~~~~~~

     Solaris Performance FAQ:

http://www.sun.com/sun-on-net/itworld/UIR010329cockcroftletters.html

http://sunsite.uakom.sk/sunworldonline/common/cockcroft.letters.html

http://www.itworld.com/Comp/3380/UIR010329cockcroftletters/

Kernel Tuning:
http://www.princeton.edu/~unix/Solaris/troubleshoot/kerntune.html


Performance tuning:
http://www.geocities.com/techdirectory/perftune.html

To check a dir size, you can use the following command:

du -sk /dirname


0
TroxaliasCommented:
One of the best utilities you can use on a Solaris box to get valuable info is the "Se Toolkit".
0
NukfrorCommented:
I heard Adrian no longer works for Sun - He's now at Google.

The SE Tool Kit was co-developed by Adrian but is technically owned (or was owned) by Richard Pettit.

The SE Tool Kit is now owned by Wundermoosen.  See http://www.wundermoosen.com/default.aspx?f=1&tab=Linux&nav=abCde&page=setoolkitpr
0
NukfrorCommented:
Ahhh - Clarification.

Rich Pettit still ownes the SE Tool Kit - Wundermoosen has simply licensed it.

<snip>
The Software is under exclusive license to WunderMoosen by Richard L. Pettit, Jr. and is protected by United States copyright laws and international treaty provisions. Therefore, you must treat the Software like any other copyrighted material (e.g., a book or musical recording).
<snip>
0
manthaneinAuthor Commented:
thanks  for all the information
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Unix OS

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.