PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Serveur - Sécurité et techniques > comp.unix.shell > performance shell scripts
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
comp.unix.shell Using and programming the Unix shell.

performance shell scripts

Réponse
 
LinkBack Outils de la discussion
Vieux 31/10/2007, 03h40   #1
vaede.n@gmail.com
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut performance shell scripts


I AM LOOKING FOR A WEBSITE OR SAMPLE SCRIPTS THAT WILL PROVIDE CPU,
MEMORY, SWAP
PERFOMANCE IN SOLARIS 10. THANKS

  Réponse avec citation
Vieux 01/11/2007, 02h39   #2
bsh
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: performance shell scripts

On Oct 30, 7:40 pm, vaed...@gmail.com wrote:
> I AM LOOKING FOR A WEBSITE OR SAMPLE SCRIPTS THAT WILL
> PROVIDE CPU, MEMORY, AND SWAP PERFOMANCE IN SOLARIS10.
> THANKS.


For your general needs, the following is a fine source of
administrative
scripts and tutorials for Solaris:

http://www.sun.com/bigadmin/scripts/

Look through their scripts for system monitoring:

http://www.sun.com/bigadmin/scripts/indexMon.html

.... and maybe even:

"sys_diag.ksh": configuration and performance snapshot, analysis, and
reporting utility
http://www.sun.com/bigadmin/jsp/desc...iag__solaris_c

"swap_space_check.ksh": check and report on swap space.

"Sysnoop.ksh": lots of system information.

.... and so on. Many URLs are stale, but may presumable found via
Google.

=Brian

  Réponse avec citation
Vieux 06/11/2007, 19h10   #3
BodySurfer119@yahoo.com
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: performance shell scripts

On Oct 30, 9:40 pm, vaed...@gmail.com wrote:
> I AM LOOKING FOR A WEBSITE OR SAMPLE SCRIPTS THAT WILL PROVIDE CPU,
> MEMORY, SWAP
> PERFOMANCE IN SOLARIS 10. THANKS


Definitely check out "sys_diag" .. it will do ALL the heavy lifting
for you,
and give you a single .HTML color coded dashboard atop of a full
system
detailed config and perf analysis report (though what gets done is
selectable via
command line options). :... for usage, type : ./sys_diag -? (or -
h)

It runs from S2.6 through the latest S11 (Solaris Express) builds..
and works the same
on x86 as well as for SPARC. It's great for as-built, certified
configuration snapshots, as
well as for performance anaylsis and benchmarking "snapshots"...

For high level performance analysis, (vmstat, mpstat, iostat, netstat,
etc..), run with "-g"
to "gather" performance data at a specified "interval" such as every
second "-I 1", and/or
include the Total duration for the snapshot in number of seconds such
as for 5mins with "-T 300".
(the defaults for interval and total duration of snapshot are -I 2 ..
2 sec samples, for 5 mins .. -T 300).

So, the following gives you the defaults of high level performance
snapshot and analysis,
creating an .html report with the findings (and all the data and
reports in a single .tar.Z) :
# ./sys_diag -g (gathers high level perf data at 2 second
intervals for 5 mins.. the defaults)
#./sys_diag -g -l (by adding "-l" , you also get a "long"
detailed system configuration report)
# ./sys_diag -g -I 1 -T180 (gathers high level perf data at 1
second intervals for 3 mins)

If you are running S10 and want a "DEEP" performance analysis report
with DTrace and lockstat
deep probing, run with "-G" instead of "-g". And for more verbosity
in the report/output data, add
either -v (basic verbosity) or -V (deep Verbosity). Note that with -
G, you will incur more % of CPU
when DTrace and lockstat, mdb, etc.. are probing the system, so
account for some overhead.

For version 7.04 :

The README is at : http://blogs.sun.com/toddjobson/reso...E_sys_diag.txt

Download it from Either BigAdmin :
http://www.sun.com/bigadmin/jsp/desc...iag__solaris_c
OR SunFreeware (packaged) :
http://www.sunfreeware.com/programli....html#sys_diag

Version 7.05 will be out in the next week or 2 at : http://blogs.sun.com/toddjobson
and then after final certification testing.. also to SunFreeware.com
and BigAdmin ..
(v.7.05 will add several RFE's.. among them LDOM info for new Sun HW,
an additional
verbosity level [-v|-V, moving the version to the output], adding/
enhancing cpustat/cputrack
statistics capture, Oracle RAC/CRS cfg and status info, Oracle alert
logs, several error msg fixes,
and the first portion of allowing performance comparative analysis
between snapshots... etc..

Cheers and hope it saves you as much time and effort as it has me !
Todd

  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 09h32.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,12794 seconds with 11 queries