Mastering unix shell scripting phần 4 ppsx
... 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
... /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
... 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 ... 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 11 .4 that we added notificatio...
Ngày tải lên: 09/08/2014, 16:20
Mastering unix shell scripting phần 6 doc
... 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% ... ./install-sh -c -O 0 -G 0 -M 044 0 ./sudoers /etc/sudoers /bin/sh ./install-sh -c -O 0 -G 0 -M 044 4 ./sudo.man /usr/local/man/man8/sudo.8 /bin/sh ./install-sh -c -O 0 -G 0 -M 044...
Ngày tải lên: 09/08/2014, 16:20
Mastering unix shell scripting phần 7 pdf
... the Printers Printing 40 7 # lpstat -W Queue Dev Status Job Files User PP % Blks Cp Rnk hp4 lp0 READY hp4-ps lp0 READY hp4-gl lp0 READY yogi_hp4_1 lp0 DOWN yogi_hp4_1ps lp0 DOWN Listing ... 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 extract the printe...
Ngày tải lên: 09/08/2014, 16:20
Mastering unix shell scripting phần 8 potx
... SSAidentify.ksh on hdisk36 pdisk 44 pdisk47 \nWill turn ON the lights to all of the associated pdisk#(s) that hdisk36 translates to and PDISKS pdisk 44 and pdisk47. \nNOTE: Can use all pdisks, ... Available 24- 08-5B91-12-P SSA160 Physical Disk Drive pdisk12 Available 34- 08-5B91-13-P SSA160 Physical Disk Drive pdisk13 Available 34- 08-5B91- 14- P SSA160 Physical Disk Drive pdisk 14 Availa...
Ngày tải lên: 09/08/2014, 16:20
Mastering unix shell scripting phần 9 docx
... on each loop iteration: ADD=”12” ADD=”12 + 45 3.766” ADD=”12 + 45 3.766 + 223.6” ADD=”12 + 45 3.766 + 223.6 + 3. 145 927” ADD=”12 + 45 3.766 + 223.6 + 3. 145 927 + 22” Using a Here Document When the ... 2 048 65536 42 .632 The difference of: 8.09838 - 2 048 - 65536 - 42 .632 to a scale of 4 is -67618.53362 Listing 22.5 float_subtract.ksh shell script in action. The float_subtract.ks...
Ngày tải lên: 09/08/2014, 16:20
Mastering unix shell scripting phần 10 docx
... base 10. Chapter 24 operations_menu.ksh: Shell script menu for an Operations staff. Chaper 25 broadcast.ksh: Shell script to send pop-up messages to Windows desktops. This shell script requires Samba ... 14 chpwd_menu.ksh: This shell script uses sudo to allow support personnel to change passwords. sudo-1.6.3p7.tar.gz: This is a tar ball of the sudo source code. Chapter 15 hgrep.ks...
Ngày tải lên: 09/08/2014, 16:20