Mastering unix shell scripting phần 8 potx
... 24- 08- 5B91-05-P SSA160 Physical Disk Drive pdisk5 Available 24- 08- 5B91-07-P SSA160 Physical Disk Drive pdisk6 Available 24- 08- 5B91-06-P SSA160 Physical Disk Drive pdisk7 Available 24- 08- 5B91- 08- P ... Available 34- 08- 5B91-01-P SSA160 Physical Disk Drive pdisk1 Available 34- 08- 5B91-02-P SSA160 Physical Disk Drive pdisk2 Available 34- 08- 5B91-03-P SSA160 Physical Disk Drive pdisk3...
Ngày tải lên: 09/08/2014, 16:20
... 179 Syntax 180 Syntax for uptime 180 AIX 180 HP-UX 181 Linux 182 Solaris 183 What Is the Common Denominator? 183 Scripting an uptime Field Test Solution 184 Syntax for iostat 186 AIX 186 HP-UX 186 xii ... #!/bin/bash Declares a Bourne-Again shell 4 Chapter 1 Linux 187 Solaris 187 What Is the Common Denominator? 187 Syntax for sar 188 AIX 188 HP-UX 189 Linux 189 Solaris 1...
Ngày tải lên: 09/08/2014, 16:20
... $(command). Method 4: function cat_while_LINE_line real 7m16 .87 s user 0m51 .87 s sys 6m8.54s Method 7: function while_LINE_line_cmdsub2 real 7m 18. 04s user 0m52.01s sys 6m10.94s Listing 2.22 Command substitution ... 0m5 .89 s user 0m5.62s sys 0m0.16s Method 3: function while_line_LINE_bottom real 6m53.71s user 0m36.62s sys 6m2.03s Method 4: function cat_while_LINE_line real 7m16 .87 s use...
Ngày tải lên: 09/08/2014, 16:20
Mastering unix shell scripting phần 3 ppsx
... MOUNTED ON /dev/vg13/lvol1 41902 08 1155095 285 0597 29% /u2 /dev/vg00/lvol7 102400 4 284 92256 4% /tmp /dev/vg00/lvol13 203 980 8 1664073 352294 83 % /test2 /dev/vg00/lvol6 72 089 6 531295 177953 75% /opt /dev/vg00/lvol5 ... 5 .8 HP-UX bdf Command Output FILESYSTEM KBYTES USED AVAIL %USED MOUNTED ON /dev/vg00/lvol3 151552 89 500 586 69 60% / /dev/vg00/lvol1 4 782 9 24109 189 37 56% /stan...
Ngày tải lên: 09/08/2014, 16:20
Mastering unix shell scripting phần 4 ppsx
... 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 Now let’s only look ... 00012560 480 0 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 2...
Ngày tải lên: 09/08/2014, 16:20
Mastering unix shell scripting phần 5 doc
... /usr/telalert oracle_lv jfs 1 28 1 28 1 open/syncd /oracle oradata_lv jfs 1 28 1 28 1 open/syncd /oradata ar_lv jfs 16 16 1 open/syncd /usr/ar remp_tmp01 jfs 1 28 1 28 1 open/syncd /remd_tmp01 export_lv ... POINT hd5 boot 1 2 2 closed/syncd N/A hd6 paging 80 160 2 open/syncd N/A hd8 jfslog 1 2 2 open/syncd N/A hd4 jfs 4 8 2 open/syncd / hd2 jfs 40 80 2 open/syncd /usr hd9var jfs 10...
Ngày tải lên: 09/08/2014, 16:20
Mastering unix shell scripting phần 6 doc
... 1 086 97 0 0 en0 1500 10.10 yogi 112330 0 1 086 97 0 0 lo0 1 689 6 link#1 283 02 0 283 04 0 0 lo0 1 689 6 127 loopback 283 02 0 283 04 0 0 lo0 1 689 6 ::1 283 02 0 283 04 0 0 ################################################# Filesystem ... on /dev/hd4 327 68 10924 67% 185 4 12% / /dev/hd2 1449 984 61 680 96% 40941 12% /usr /dev/hd9var 532 48 105 68 81% 673 6% /var /dev/hd3 106496 70 184 35...
Ngày tải lên: 09/08/2014, 16:20
Mastering unix shell scripting phần 7 pdf
... 429 You could also modify the shell script in Listing 16 .8 to add a command-line parame- ter to let you control queuing and printing individually from the same shell script. I am going to leave ... Together Now we need to combine the shell scripts for each of the different Unix flavors so that one script does it all. Please do not think that taking several shell scripts, making fu...
Ngày tải lên: 09/08/2014, 16:20
Mastering unix shell scripting phần 9 docx
... float _subtract.ksh shell script in action. [root:yogi]@/scripts# float_subtract.ksh -s 4 8. 0 983 8 20 48 65536 42.632 The difference of: 8. 0 983 8 - 20 48 - 65536 - 42.632 to a scale of 4 is -676 18. 53362 Listing ... float_average.ksh shell script is in action in Listing 22.14. [root:yogi]@/scripts# float_average.ksh -s 8 .22 389 65 -32.7 78 221 The average of: .22 389 65 -32...
Ngày tải lên: 09/08/2014, 16:20
Mastering unix shell scripting phần 10 docx
... 10. equate_base_10_to _8. ksh: Converts numbers from base 10 to base 8. equate_base _8_ to_10.ksh: Converts numbers from base 8 to base 10. Chapter 24 operations_menu.ksh: Shell script menu for ... 80 characters long, assuming a hostname of 8 characters. You may want to add some code to ensure that the title bar is always 80 characters. This is a little project for you to resolve....
Ngày tải lên: 09/08/2014, 16:20