|
|
|
|
||||||
| comp.unix.shell Using and programming the Unix shell. |
![]() |
|
|
LinkBack | Outils de la discussion |
|
|
#1 |
|
Messages: n/a
Hébergeur: |
I AM LOOKING FOR A WEBSITE OR SAMPLE SCRIPTS THAT WILL PROVIDE CPU, MEMORY, SWAP PERFOMANCE IN SOLARIS 10. THANKS |
|
|
|
#2 |
|
Messages: n/a
Hébergeur: |
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 |
|
|
|
#3 |
|
Messages: n/a
Hébergeur: |
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 |
|
![]() |
| Outils de la discussion | |
|
|