Performance issue in Solaris

 System performance  of CPU /Memory utilization

Prstat -Z  –> will show system performance with respect to All zones available in systems.

Unixplanetary:# prstat -Z
PID USERNAME SIZE RSS STATE PRI NICE TIME CPU PROCESS/NLWP
9911 oraq3m 17G 17G sleep 60 0 0:06:15 0.3% oracle/1
15041 oraq3m 17G 9266M cpu37 60 0 10:46:47 0.2% oracle/49
10006 oraq3m 17G 17G run 60 0 0:10:45 0.2% oracle/1
2478 oraq3m 17G 17G sleep 60 0 0:05:31 0.2% oracle/1
15166 oraq3m 17G 9267M cpu91 60 0 9:59:27 0.1% oracle/65
15000 oraq3m 17G 9265M sleep 59 0 10:55:00 0.1% oracle/45
15131 oraq3m 17G 9265M sleep 60 0 10:46:24 0.1% oracle/48
10353 oraq3m 17G 17G cpu138 0 0 0:00:13 0.1% oracle/1
15086 oraq3m 17G 9265M sleep 59 0 10:38:46 0.1% oracle/41
13779 oraq3m 17G 17G sleep 60 0 0:00:04 0.1% oracle/1
15151 oraq3m 17G 9265M sleep 59 0 11:32:46 0.0% oracle/46
8 root 0K 0K sleep 60 – 368:19:57 0.0% vmtasks/256
18279 root 10M 9656K cpu220 59 0 0:00:05 0.0% prstat/1
87 root 349M 312M sleep 0 0 383:37:06 0.0% vxconfigd/3
4610 oracle 2264K 1992K cpu119 0 2 0:00:03 0.0% cleanup_archive/1
1 root 3136K 2040K sleep 54 0 59:06:17 0.0% init/1
26586 oraq3m 17G 17G sleep 59 0 0:03:51 0.0% oracle/1
15024 oraq3m 17G 9265M sleep 59 0 12:42:20 0.0% oracle/45
11262 oracle 539M 474M sleep 59 0 1:33:59 0.0% java/261
4479 root 11M 8088K sleep 50 0 13:36:29 0.0% vxesd/7
8860 oracle 17G 17G sleep 59 0 0:00:03 0.0% oracle/1
24001 oraqj6 8121M 8097M sleep 59 0 0:52:45 0.0% oracle/1
24360 oraqo4 9469M 5200M sleep 49 0 7:56:58 0.0% oracle/1
20682 oraqu3 4126M 3974M sleep 59 0 6:33:23 0.0% oracle/1
18811 oraqc3 44G 44G sleep 49 0 7:57:38 0.0% oracle/1
20596 oraqu3 4125M 3973M sleep 59 0 7:52:54 0.0% oracle/1
29787 oraqe3 46G 46G sleep 59 0 36:12:27 0.0% oracle/1
ZONEID NPROC SWAP RSS MEMORY TIME CPU ZONE
0 2343 233G 227G 44% 2166:30:0 1.7% global
7 52 622M 595M 0.1% 14:26:48 0.0% Oracle_zone1  ———>First Zone
8 46 379M 326M 0.1% 13:09:34 0.0% Oracle_zone2
9 50 1440M 774M 0.1% 17:05:31 0.0% Oracle_zone3
1 45 529M 466M 0.1% 14:14:00 0.0%   Oracle_zone4
2 46 535M 462M 0.1% 15:15:03 0.0%   Oracle_zone5
4 45 584M 543M 0.1% 17:11:44 0.0%    Oracle_zone6
10 46 1397M 678M 0.1% 16:45:16 0.0%Oracle_zone7————->Seventh Zone
Total: 2824 processes, 42486 lwps, load averages: 11.87, 10.83, 9.61

 

Next Command is vmstat .

oraprd04:# vmstat 5 5
kthr memory page disk faults cpu
r b w swap free re mf pi po fr de sr lf s1 s2 s3 in sy cs us sy id
0 1 0 382096040 199690752 4202 10036 183 1863 1861 0 0 1 11 1 10 25701 79019 35360 1 1 97
0 0 0 380268888 246577984 4045 5892 0 16 16 0 0 0 0 0 1 91782 47845 250393 1 3 96
1 0 0 380216760 246524600 3787 5607 6 55 52 0 0 0 1 0 2 116685 49020 289345 1 2 96
0 0 0 380116984 246528680 4223 5626 0 14 14 0 0 0 23 0 17 129216 58660 316467 1 3 96
1 0 0 380434072 246739096 5372 6174 0 24 24 0 0 0 5 0 3 135430 56415 333904 1 3 95

How to Analyse Vmstat .

r – it indicate  run que length in the cpu  or how many process are  in que and waiting  for the cpu  time.

Run Que indicate that Total no of active process in the current Que for CPU .

b- its mean blocked process and they are actually started  running but somehow they have blocked because of some other resource purpose  they are waiting for i/o process or  memory operation

w-they are waiting for cpu admission

 

oraprd04:# echo ::memstat |mdb -k
Page Summary Pages MB %Tot
———— —————- —————- —-
Kernel 3558911 27803 5%
ZFS File Data 406120 3172 1%
Anon 30220448 236097 45%
Exec and libs 464719 3630 1%
Page cache 1546887 12085 2%
Free (cachelist) 3038332 23736 5%
Free (freelist) 27807911 217249 41%
Total 67043328 523776
oraprd04:#

 

Leave a Reply

Your email address will not be published. Required fields are marked *