Thursday, August 2, 2007

Unix Performance info commands.

The basic list of KEY tools historically available for monitoring
performance applies to nearly any Unix/Linux distribution, including the
following partial list of common utilities used ... following the basic
breakdown of computing subsystems :

** CPU / Kernel Utilization :

--> vmstat (vm system cpu and kernel utilization metrics ** a great
starting pt **)
--> mpstat (multi processor .. per cpu performance statistics)

** Memory / Kenel Utilization :

--> vmstat
--> swap
--> top

** I/O Performance

--> iostat (Standard IO.. ufs, .. IO performance utility)
--> vxstat (Veritas vxfs filesystem IO performance)

** Network Utilization

--> netstat
--> ping
--> traceroute

** Process / Kernel

--> ps
--> top
--> prstat

--> sar (provides most basic types of high level performance metrics,
assuming that __________system accounting is turned on)

** SETTING SOLARIS 10 Above and Beyond other Unix / Linux Distributions
... ** :

In addition to the basic toolsets available, there exist the following
key additions that Solaris 10 provides, which sets it apart from the
other Unix / Linux variants.

** DTrace (Dynamic Tracing via "D" language scripting and probe/providers)

__ Dtrace is the Electron microscope of performance analysis for a
Solaris 10 system

** Mdb (Modular Debugger)

___________________________________________________________________________________

SYS_DIAG :

Over the past several years, I have created a utility called "sys_diag"
that offers the capability of automatically capturing performance
statistics, using nearly all available system utilities.. and
aggregating the data, performing analysis and HTML report generation of
findings. Sys_diag creates a single .tar.Z compressed archive that can
be emailed/ftp'd.. for performing system configuration and/or
performance analysis off-site.. from virtually anywhere.. saving a LOT
of time.. not requiring any 3rd party tools or agents to be installed on
a system other than downloading the "sys_diag" ksh script itself (with a
color coded dashboard.. and links to detailed analysis findings).

Sys_diag can be used to also generate a detailed configuration snapshot
report, including OS, HW, Storage, SW, 3PP configuration attributes,
among several other capabilities that it provides.

** See the next blog entry for more details and examples on sys_diag **.
The published repository and high level description of sys_diag is
always available at BigAdmin using the following URL :
http://www.sun.com/bigadmin/jsp/descFile.jsp?url=descAll/sys_diag__solaris_c


sys_diad ksh script:

http://www.sun.com/bigadmin/scripts/submittedScripts/sys_diag.txt

1 comment:

Anonymous said...

Can anyone recommend the best Remote Management & Monitoring tool for a small IT service company like mine? Does anyone use Kaseya.com or GFI.com? How do they compare to these guys I found recently: [url=http://www.n-able.com] N-able N-central network manager
[/url] ? What is your best take in cost vs performance among those three? I need a good advice please... Thanks in advance!