We help IT Professionals succeed at work.

analysis tools

heanseng
heanseng asked
on
Medium Priority
397 Views
Last Modified: 2013-12-27
can any experts let me know is there any analysis utilities on solaris can analysis the load of the server, or the health of the server and where can get it? it is better if there is a free one
Comment
Watch Question

Commented:
I was experiencing performance problems and was given this by the techs at Sun:

#!/bin/ksh
# $RCSfile: depscript,v $
# $Revision: 1.4 $
# $Source: /ktools/performance/source/RCS/depscript,v $
# $Author: erikr $
# $Date: 1999/12/01 14:23:01 $
#
# The following can be placed in a file in its' own
# directory and invoked from cron every 15 minutes to
# help determine if the system is CPU bound, I/O bound,
# or memory bound.
#
# 1) copy this file to /tmp/deprivation
#
#       # chmod 700 /tmp/deprivation
#
#       2) Create a /tmp/files directory:
#
#               # mkdir /tmp/files
#
# 3) Run this as root from cron.
#
#       example crontab entry:
#       # EDITOR=vi
#       # export EDITOR
#       # crontab -e
#
#       insert this line:
#       0,15,30,45 * * * * /tmp/deprivation 2>/dev/null
#
#       save file, exit vi:
#       :wq!
#
#       4) When you are done collecting data:
#
# Remove the cron job.
#
# Please include a readme file which indicates the
# state of system during script execution. Please
# indicate _specific_ times of events.
#
# Please do not modify the files generated by this script.
#
# Put all the files generated into a tar file, compress the
# tar file, and return it via email your Sun TSE as a
# binary attachment or uuencoded text.
#
# Remove the /tmp/files directory.


FILES=/tmp/files

/bin/date >> $FILES/swap.out
/usr/sbin/swap -s >> $FILES/swap.out
/usr/sbin/swap -l >> $FILES/swap.out
/usr/bin/echo "" >> $FILES/swap.out

/bin/date >> $FILES/vmstat.out
/usr/bin/vmstat 30 10 >> $FILES/vmstat.out &

/bin/date >> $FILES/vmstat_i.out
/usr/bin/vmstat -i >> $FILES/vmstat_i.out &

/bin/date >> $FILES/vmstat_s.out
/usr/bin/vmstat -s >> $FILES/vmstat_s.out &

/bin/date >> $FILES/iostat.out
/usr/bin/iostat -xtc 30 10 >> $FILES/iostat.out &

/bin/date >> $FILES/ps.out
/usr/ucb/ps -aux >> $FILES/ps.out

/bin/date >> $FILES/pspcpu.out
/usr/bin/ps -eo pid,ppid,uid,pri,pcpu,vsz,rss,pmem,args \           >> $FILES/pspcpu.out

/bin/date >> $FILES/mpstat.out
/usr/bin/mpstat 30 10 >>$FILES/mpstat.out &

/bin/date >> $FILES/kmastat.out
/usr/bin/echo kmastat | crash >> $FILES/kmastat.out

/bin/date >> kernelmap.out
/usr/bin/echo "map kernelmap" | crash >> \
     $FILES/kernelmap.out

/bin/date >> $FILES/nfsstat.out
/usr/bin/nfsstat >> $FILES/nfsstat.out

Commented:
I personaly use the Bigbrother software. Easy to configure , can also monitor NT systems. (check bb4.com)

For watching CPU, disk usage, ... a derivate of rrdtool is put in place
Commented:
There is a package called "RICHPse" which contains
SYMB-EL and some great utilities (script based) that give all sorts of information. One in particular is called "Virtual Adrian" (written by Adrian Cockcroft- Solaris guru) is VERY GOOD and has custom rules in it to tell you when your disks/cpu/memory/kernel etc etc is not running to potential or has an issue.

Download the package and go into the examples directory.
you then need to execute the command like
<path to se binary>/se <path to examples>/virtual_adrian.se

if you want a gui version you cannot go past "zoom.se"
- really cool!!!

Explore More ContentExplore courses, solutions, and other research materials related to this topic.