> >>>G'Day Richard,
> >>>>>G'Day Folks,
> >>>>>I just wrote the following freeware Perl/Kstat script that you may find
> >>>>>useful,
> >>>>> $ sysperfstat 1
> >>>>> ------ Utilisation ------ ------ Saturation ------
> >>>>> Time %CPU %Mem %Disk %Net CPU Mem Disk Net
> >>>>> 23:41:01 3.00 79.41 0.00 0.00 0.00 0.00 0.00 0.00
> >>>>> 23:41:02 32.00 79.69 1.29 8.40 0.00 0.00 0.00 0.00
> >>>>> 23:41:03 55.00 80.12 25.15 65.40 0.00 0.00 0.01 0.00
> >>>[...]
> >>>>Hi Brendon,
> >>>>I have just downloaded your script an ran it on my 8 CPU E3500 but the
> >>>>CPU col is showing 100% which is not what sdtperfmeter or top show.
> >>>>rskelton: ./sysperfstat 5
> >>>> ------ Utilisation ------ ------ Saturation ------
> >>>> Time %CPU %Mem %Disk %Net CPU Mem Disk Net
> >>>>11:46:04 100.00 98.05 0.00 0.23 0.00 0.00 0.00 0.00
> >>>>11:46:09 100.00 98.02 0.00 0.57 0.00 0.00 0.00 0.00
> >>>>11:46:14 100.00 97.92 0.00 0.54 0.00 0.00 0.00 0.00
> >>>>11:46:19 100.00 98.10 0.00 1.53 0.00 0.00 0.00 0.00
> >>>>11:46:24 100.00 98.02 0.00 5.66 0.00 0.00 0.00 0.00
> >>>>11:46:29 100.00 98.05 0.00 7.99 0.00 0.00 0.00 0.00
> >>>>11:46:34 100.00 97.99 0.00 4.55 0.00 0.00 0.00 0.00
> >>>>11:46:39 100.00 97.93 0.00 5.76 0.00 0.00 0.00 0.00
> >>>>11:46:44 100.00 97.99 0.00 7.42 0.00 0.00 0.00 0.00
> >>>>load averages: 3.71, 3.58, 3.49
> >>>>4024 processes:3913 sleeping, 1 running, 69 zombie, 37 stopped, 4 on cpu
> >>>>CPU states: 48.2% idle, 25.0% user, 26.6% kernel, 0.2% iowait, 0.0% swap
> >>>>Memory: 8192M real, 119M free, 16G swap in use, 16G swap free
> >>>Ahh, thank you very much! I missed a CPU division, it's fixed now - check
> >>>the lastest version. :-)
> >>>thanks,
> >>>Brendan
> >>>[Sydney, Australia]
> >>Hi Brendon,
> >>Thats better thanks.
> >>root: ./sysperfstat 5
> >> ------ Utilisation ------ ------ Saturation ------
> >> Time %CPU %Mem %Disk %Net CPU Mem Disk Net
> >>23:27:40 68.47 97.83 0.00 0.16 0.80 0.00 0.00 0.00
> >>23:27:46 48.83 97.71 0.00 0.17 0.20 0.00 0.00 0.00
> >>23:27:51 35.00 97.39 0.00 1.48 0.33 0.00 0.00 0.00
> >>23:27:56 55.63 97.66 0.00 1.94 0.00 0.00 0.00 0.00
> >>23:28:01 56.97 97.60 0.00 0.26 0.80 0.00 0.00 0.00
> >>23:28:06 44.27 97.66 0.00 0.25 0.20 0.00 0.00 0.00
> >>23:28:11 67.90 97.78 0.00 0.22 0.80 0.00 0.00 0.00
> >>23:28:16 45.03 97.70 0.00 0.21 0.20 0.00 0.00 0.00
> >>23:28:21 35.23 97.78 0.00 0.13 0.00 0.00 0.00 0.00
> >>23:28:26 57.63 97.81 0.00 0.21 0.20 0.00 0.00 0.00
> >>23:28:31 38.07 97.79 0.00 0.17 0.00 0.00 0.00 0.00
> > Hi~ everyone
> > I am a new one, to join solaris family.
> > I really want use this tools, but still can't get it.
> > how to use it??? should i complier it first???
> > or some kind other special way???
> Hi JOE,
> It's whats know as a perl script.
> I have run it on Solaris 8, 9 and 10 as they all come with perl in /usr/bin
> Just download the script and make it executable :-
> chmod a+x sysperfstat
> and away you go :-)
Thanks, for your respond.
and i just try to use perl to complier this script
however the proglem requirement "kmstat" ???
what's this??? did i made worng command???
i use this #./perl sysperfstat