... 203 17 :45 : 14 25 75 0 0 17 :45 : 24 26 74 0 0 17 :45 : 34 25 75 0 0 Average 25 75 0 0 Now let’s look at the average of the samples directly. # sar 10 4 | grep Average Average 26 74 0 0 HP-UX # sar 10 4 HP-UX ... dino B.10.20 A 9000/715 07/29/102 22 :48 :10 %usr %sys %wio %idle 22 :48 :20 40 60 0 0 22 :48 :30 40 60 0 0 22 :48 :40 12 19 0 68 22 :48 :50 0 0 0 100 Average 23 35 0 42...
Ngày tải lên: 09/08/2014, 16:20
Mastering Unix Shell Scripting phần 4 pps
... 0001256 048 00 07/31/02 19: 24: 00 %usr %sys %wio %idle 19: 24: 30 0 1 1 98 19:25:00 4 15 13 68 19:25:30 26 28 40 6 19:26:00 13 12 11 64 19:26:30 16 44 0 39 19:27:00 27 73 0 0 19:27:30 20 48 2 30 19:28:00 ... positions $ 14, $15, $16, and $17. HP-UX # vmstat 30 2 procs memory page faults cpu r b w avm free re at pi po fr de sr in sy cs us sy id 0 39 0 8382 290 122 26 2 0 0 0 3 128 20 14...
Ngày tải lên: 14/08/2014, 16:20
... /etc/mnttab /dev/dsk/c0d0s3 9 645 5 5931 80879 7% /var swap 5 541 32 0 5 541 3 0% /var/run /dev/dsk/c0d0s5 47 975 1221 41 957 3% /opt swap 5 544 28 296 5 541 32 1% /tmp /dev/dsk/c0d0s7 1015 542 1 9 545 98 1% /export/home /dev/dsk/c0d0s1 ... ON /dev/vg13/lvol1 41 90208 1155095 2850597 29% /u2 /dev/vg00/lvol7 10 240 0 42 84 92256 4% /tmp /dev/vg00/lvol13 2039808 16 640 73 3522 94 83% /te...
Ngày tải lên: 09/08/2014, 16:20
Mastering Unix Shell Scripting phần 1 pps
... 43 9 Exceptions Capability 43 9 Maintenance 43 9 Scheduling 43 9 Summary 43 9 Contents xv Chapter 17 Automated FTP Stuff 44 1 Syntax 44 1 Automating File Transfers and Remote Directory Listings 44 4 Using FTP for ... Printer Subsystems 40 4 AIX Print Control Commands 40 4 Classic AIX Printer Subsystem 40 4 System V Printing on AIX 40 8 More System V Printer Commands 41 2 HP-UX Pr...
Ngày tải lên: 14/08/2014, 16:20
Mastering Unix Shell Scripting phần 6 pps
... Mounted on /dev/hd4 32768 109 24 67% 18 54 12% / /dev/hd2 144 99 84 61680 96% 40 941 12% /usr /dev/hd9var 53 248 10568 81% 673 6% /var /dev/hd3 10 649 6 701 84 35% 223 1% /tmp /dev/hd1 40 96 3892 5% 55 6% ... /usr/lib/errdemon root 3 140 1 0 Jul 23 - 2: 04 /usr/sbin/syncd 60 root 3 642 46 44 0 17:11:20 - 0:00 rpc.ttdbserver 100083 1 root 3882 1950 0 Jul 23 - 0: 04 sendmail: accep...
Ngày tải lên: 14/08/2014, 16:20
Mastering Unix Shell Scripting phần 7 pps
... the hp4_yogi_1 print queue. # disable hp4_yogi_1 printer “hp4_yogi_1” now disabled Now look at the output of the lpstat command: # lpstat printer queue for hp4_yogi_1 dino: Warning: hp4_yogi_1 ... Files User PP % Blks Cp Rnk hp4 lp0 READY hp4-ps lp0 READY hp4-gl lp0 READY yogi_hp lp0 DOWN yogi_hp lp0 DOWN Listing 16.1 Output using lpstat or enq -A. 40 4 Chapter 16 The awk command, .....
Ngày tải lên: 14/08/2014, 16:20
Mastering Unix Shell Scripting phần 9 pps
... output. [root:yogi]@/scripts# float_multiply.ksh -s 4 8.09838 2 048 65536 42 .632 The product of: 8.09838 * 2 048 * 65536 * 42 .632 is 46 338688867.085 84 Listing 22.8 float_multiply.ksh shell script in action. In the ... float _subtract.ksh shell script in action. [root:yogi]@/scripts# float_subtract.ksh -s 4 8.09838 2 048 65536 42 .632 The difference of: 8.09838 - 2 048 - 6553...
Ngày tải lên: 14/08/2014, 16:20
Mastering unix shell scripting phần 1 pdf
... Printer Subsystems 40 4 AIX Print Control Commands 40 4 Classic AIX Printer Subsystem 40 4 System V Printing on AIX 40 8 More System V Printer Commands 41 2 HP-UX Print Control Commands 41 4 Linux Print ... to Consider 143 Event Notification 143 Automated Execution 143 Modify the egrep Statement 144 Summary 144 Chapter 6 Monitoring Paging and Swap Space 145 Syntax 146 AIX lsps Co...
Ngày tải lên: 09/08/2014, 16:20
Mastering unix shell scripting phần 2 pdf
... while_LINE_line_bottom real 7m20 .48 s user 0m51.01s sys 6m 14. 57s Method 7: function while_LINE_line_cmdsub2 real 7m18.04s user 0m52.01s sys 6m10.94s Method 8: function while_LINE_line_bottom_cmdsub2 real 7m20.34s Listing ... $(command). Method 4: function cat_while_LINE_line real 7m16.87s user 0m51.87s sys 6m8.54s Method 7: function while_LINE_line_cmdsub2 real 7m18.04s user 0m52.01s sy...
Ngày tải lên: 09/08/2014, 16:20
Mastering unix shell scripting phần 5 doc
... /remd_log3b remp2_log4a jfs 1 1 1 open/syncd /remd_log4a remp2_log4b jfs 1 1 1 open/syncd /remd_log4b remp2_log5a jfs 1 1 1 open/syncd /remd_log5a remp2_log5b jfs 1 1 1 open/syncd /remd_log5b remp2_rbs01 jfs 47 47 ... 0)) then echo “\nNo stale PPs were found in any active LV EXITING \n” fi Listing 11 .4 stale_LV_mon.ksh shell script listing. (continued) Notice in the script in Listing...
Ngày tải lên: 09/08/2014, 16:20