Hello.. Iam running sco 5.0.7 on a compaq ml 370 g4 server.(4 gb mem+ 2X300 hd raid 1+0 )
Since know the system was working fine. Today i got complains, from my customer, that the system was very slow and it was getting slower all the time.
I run the sar commands and here is what i got
# sar 1 5
14:31:50 %usr %sys %wio %idle (-u)
Average 35 65 0 0
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
# ps -el |more
F S UID PID PPID C PRI NI ADDR SZ WCHAN TTY TIME CMD
71 S 0 0 0 0 95 20 fb117000 0 f056e6a4 ? 00:00:00 sched
20 S 0 1 0 0 66 20 fb117158 144 e0000000 ? 00:00:01 init
71 S 0 2 0 0 95 20 fb1172b0 0 f0204020 ? 00:00:00 vhand
... . . . . ... ...... . ...... . ...........
71 S 0 3 0 1 95 20 fb117408 0 f0022a64 ? 00:00:08 bdflush
... .. . . . ... ...... . . ..... . ..............
20 R 336 18531 864 21 43 20 fb124048 772 - ttyp7 00:02:34 run
.. .. .. .. . . . ...... ... ... ......
20 R 336 15054 9748 45 34 20 fb135920 772 - ttyp123 00:07:04 run
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
# w
2:42pm up 1:14, 73 users, load average: 0.11, 0.51, 0.57
User Tty Login@ Idle JCPU PCPU What
dimi ttyp5 2:28pm 4 - - runcobol runc -c /cobol8/terminfo
alexdr ttyp6 2:08pm 4 3 3 runcobol runc -c /cobol8/terminfo
markat ttyp7 1:50pm 2 13:10 -run bate1
thanda ttyp10 2:30pm 12 - - runcobol runc -c /cobol8/terminfo
..... .... .... .. .. .............................
dimi ttyp123 2:07pm 1 10:59 - run bate1
gt266 ttyp131 2:18pm 1 - - runcobol runc -c /cobol8/terminfo
gua348 ttyp133 2:18pm 16 - - runcobol runc -c /cobol8/terminfo
gu268 ttyp134 2:19pm 17 1 - runcobol runc -c /cobol8/terminfo
gu363 ttyp135 2:19pm - 2 1 runcobol runc -c /cobol8/terminfo
dimi ttyp17 1:50pm 2 13:36 15 runcobol runc -k -c /cobol8/terminfo
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
# sar -c 1 5
SCO_SV general 3.2v5.0.7 i80386 06/08/2007
14:53:14 scall/s sread/s swrit/s fork/s exec/s rchar/s wchar/s (-c)
14:53:15 3066 563 368 24.75 16.83 399621 220313
14:53:16 147 44 40 0.00 0.00 226949 3696
14:53:17 295 60 37 1.98 1.98 231638 5708
14:53:18 282 98 85 0.00 0.00 425282 5853
14:53:19 420 114 53 1.98 1.98 265796 91031
Average 842 176 117 5.74 4.16 309857 65320
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
# sar -j 1 5
SCO_SV general 3.2v5.0.7 i80386 06/08/2007
14:54:40 vector ints/s (MP only) (-j)
14:54:41
14:54:42
14:54:43
14:54:44
14:54:45
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
# sar -q 1 5
SCO_SV general 3.2v5.0.7 i80386 06/08/2007
14:55:58 runq-sz %runocc swpq-sz %swpocc (-q)
14:55:59
14:56:00
14:56:01
14:56:02
14:56:03
Average
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
# sar -r 1 5
SCO_SV general 3.2v5.0.7 i80386 06/08/2007
14:56:56 freemem freeswp availrmem availsmem (-r)
14:56:57 773001 8386560 802292 1808572
14:56:58 772950 8386560 802284 1808464
14:56:59 772892 8386560 802284 1808464
14:57:00 772892 8386560 802284 1808464
14:57:01 772892 8386560 802284 1808464
Average 772926 8386560 802286 1808486
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
# sar -b 1 5
SCO_SV general 3.2v5.0.7 i80386 06/08/2007
14:58:35 bread/s lread/s %rcache bwrit/s lwrit/s %wcache pread/s pwrit/s (-b)
14:58:36 0 242 100 1 54 99 0 0
14:58:38 1 2522 100 0 74 100 0 0
14:58:40 1 859 100 0 23 99 0 0
14:58:42 0 77 100 0 6 96 0 0
14:58:44 0 295 100 0 16 98 0 0
Average 0 861 100 0 32 100 0 0
#
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
# sar -d 1 5
SCO_SV general 3.2v5.0.7 i80386 06/08/2007
14:59:35 device %busy avque r+w/s blks/s avwait avserv (-d)
14:59:36 Sdsk-0 100.00 1.00 17.82 87.13 0.00 836.11
Sdsk-1 100.00 1.00 10.89 138.61 0.00 1433.64
Sdsk-2 100.00 6.60 515.84 1047.52 2675.85 478.10
14:59:37 Sdsk-2 100.00 8.96 515.84 1986.14 3972.74 499.19
14:59:38 Sdsk-0 100.00 1.00 5.94 11.88 0.00 848.33
Sdsk-1 100.00 1.00 39.60 1180.20 0.00 1127.25
Sdsk-2 100.00 2.89 479.21 1108.91 932.89 493.57
14:59:39 Sdsk-0 100.00 1.00 19.61 43.14 0.00 192.50
Sdsk-1 100.00 1.00 116.67 1401.96 0.00 44.79
Sdsk-2 100.00 4.47 349.02 1029.41 1848.54 532.67
14:59:40 Sdsk-0 5.94 1.00 1.98 3.96 0.00 30.00
Sdsk-1 100.00 1.00 364.36 3885.15 0.00 3.40
Sdsk-2 87.13 1.00 138.61 712.87 0.00 6.29
Average Sdsk-0 100.00 1.00 9.09 29.25 0.00 522.83
Sdsk-1 100.00 1.00 106.32 1321.34 0.00 125.35
Sdsk-2 100.00 5.87 399.60 1176.68 2261.88 464.18
Any idea, what is going on with it ? What do i have to look for ?.
Any help would be greatfull.. Thank you in advanced
Since know the system was working fine. Today i got complains, from my customer, that the system was very slow and it was getting slower all the time.
I run the sar commands and here is what i got
# sar 1 5
14:31:50 %usr %sys %wio %idle (-u)
Average 35 65 0 0
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
# ps -el |more
F S UID PID PPID C PRI NI ADDR SZ WCHAN TTY TIME CMD
71 S 0 0 0 0 95 20 fb117000 0 f056e6a4 ? 00:00:00 sched
20 S 0 1 0 0 66 20 fb117158 144 e0000000 ? 00:00:01 init
71 S 0 2 0 0 95 20 fb1172b0 0 f0204020 ? 00:00:00 vhand
... . . . . ... ...... . ...... . ...........
71 S 0 3 0 1 95 20 fb117408 0 f0022a64 ? 00:00:08 bdflush
... .. . . . ... ...... . . ..... . ..............
20 R 336 18531 864 21 43 20 fb124048 772 - ttyp7 00:02:34 run
.. .. .. .. . . . ...... ... ... ......
20 R 336 15054 9748 45 34 20 fb135920 772 - ttyp123 00:07:04 run
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
# w
2:42pm up 1:14, 73 users, load average: 0.11, 0.51, 0.57
User Tty Login@ Idle JCPU PCPU What
dimi ttyp5 2:28pm 4 - - runcobol runc -c /cobol8/terminfo
alexdr ttyp6 2:08pm 4 3 3 runcobol runc -c /cobol8/terminfo
markat ttyp7 1:50pm 2 13:10 -run bate1
thanda ttyp10 2:30pm 12 - - runcobol runc -c /cobol8/terminfo
..... .... .... .. .. .............................
dimi ttyp123 2:07pm 1 10:59 - run bate1
gt266 ttyp131 2:18pm 1 - - runcobol runc -c /cobol8/terminfo
gua348 ttyp133 2:18pm 16 - - runcobol runc -c /cobol8/terminfo
gu268 ttyp134 2:19pm 17 1 - runcobol runc -c /cobol8/terminfo
gu363 ttyp135 2:19pm - 2 1 runcobol runc -c /cobol8/terminfo
dimi ttyp17 1:50pm 2 13:36 15 runcobol runc -k -c /cobol8/terminfo
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
# sar -c 1 5
SCO_SV general 3.2v5.0.7 i80386 06/08/2007
14:53:14 scall/s sread/s swrit/s fork/s exec/s rchar/s wchar/s (-c)
14:53:15 3066 563 368 24.75 16.83 399621 220313
14:53:16 147 44 40 0.00 0.00 226949 3696
14:53:17 295 60 37 1.98 1.98 231638 5708
14:53:18 282 98 85 0.00 0.00 425282 5853
14:53:19 420 114 53 1.98 1.98 265796 91031
Average 842 176 117 5.74 4.16 309857 65320
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
# sar -j 1 5
SCO_SV general 3.2v5.0.7 i80386 06/08/2007
14:54:40 vector ints/s (MP only) (-j)
14:54:41
14:54:42
14:54:43
14:54:44
14:54:45
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
# sar -q 1 5
SCO_SV general 3.2v5.0.7 i80386 06/08/2007
14:55:58 runq-sz %runocc swpq-sz %swpocc (-q)
14:55:59
14:56:00
14:56:01
14:56:02
14:56:03
Average
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
# sar -r 1 5
SCO_SV general 3.2v5.0.7 i80386 06/08/2007
14:56:56 freemem freeswp availrmem availsmem (-r)
14:56:57 773001 8386560 802292 1808572
14:56:58 772950 8386560 802284 1808464
14:56:59 772892 8386560 802284 1808464
14:57:00 772892 8386560 802284 1808464
14:57:01 772892 8386560 802284 1808464
Average 772926 8386560 802286 1808486
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
# sar -b 1 5
SCO_SV general 3.2v5.0.7 i80386 06/08/2007
14:58:35 bread/s lread/s %rcache bwrit/s lwrit/s %wcache pread/s pwrit/s (-b)
14:58:36 0 242 100 1 54 99 0 0
14:58:38 1 2522 100 0 74 100 0 0
14:58:40 1 859 100 0 23 99 0 0
14:58:42 0 77 100 0 6 96 0 0
14:58:44 0 295 100 0 16 98 0 0
Average 0 861 100 0 32 100 0 0
#
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
# sar -d 1 5
SCO_SV general 3.2v5.0.7 i80386 06/08/2007
14:59:35 device %busy avque r+w/s blks/s avwait avserv (-d)
14:59:36 Sdsk-0 100.00 1.00 17.82 87.13 0.00 836.11
Sdsk-1 100.00 1.00 10.89 138.61 0.00 1433.64
Sdsk-2 100.00 6.60 515.84 1047.52 2675.85 478.10
14:59:37 Sdsk-2 100.00 8.96 515.84 1986.14 3972.74 499.19
14:59:38 Sdsk-0 100.00 1.00 5.94 11.88 0.00 848.33
Sdsk-1 100.00 1.00 39.60 1180.20 0.00 1127.25
Sdsk-2 100.00 2.89 479.21 1108.91 932.89 493.57
14:59:39 Sdsk-0 100.00 1.00 19.61 43.14 0.00 192.50
Sdsk-1 100.00 1.00 116.67 1401.96 0.00 44.79
Sdsk-2 100.00 4.47 349.02 1029.41 1848.54 532.67
14:59:40 Sdsk-0 5.94 1.00 1.98 3.96 0.00 30.00
Sdsk-1 100.00 1.00 364.36 3885.15 0.00 3.40
Sdsk-2 87.13 1.00 138.61 712.87 0.00 6.29
Average Sdsk-0 100.00 1.00 9.09 29.25 0.00 522.83
Sdsk-1 100.00 1.00 106.32 1321.34 0.00 125.35
Sdsk-2 100.00 5.87 399.60 1176.68 2261.88 464.18
Any idea, what is going on with it ? What do i have to look for ?.
Any help would be greatfull.. Thank you in advanced