Mastering Unix Shell Scripting phần 5 doc

Mastering unix shell scripting phần 5 doc

Mastering unix shell scripting phần 5 doc

... /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 1 open/syncd /remd_rbs01 remp2_sys01 jfs 4 4 1 open/syncd /remd_sys01 arlogs_lv jfs 35 ... create the mk_passwd.ksh shell script. The entire shell script is shown in Listing 10. 15. Pay particular attention to the boldface text throughout the mk_passwd.ksh shell s...

Ngày tải lên: 09/08/2014, 16:20

70 575 0
Mastering Unix Shell Scripting phần 5 doc

Mastering Unix Shell Scripting phần 5 doc

... GROUP: appvg2 LV IDENTIFIER: 00011 151 b819f83a .5 PERMISSION: read/write VG STATE: active/complete LV STATE: opened/syncd TYPE: jfs WRITE VERIFY: off MAX LPs: 51 2 PP SIZE: 32 megabyte(s) COPIES: ... variable. For shell variables you must use the shell notation here, too. If the number of arguments on the command line exceeds three, then we display the usage function and exit the shel...

Ngày tải lên: 14/08/2014, 16:20

71 237 0
Mastering unix shell scripting phần 6 doc

Mastering unix shell scripting phần 6 doc

... Jun 26 20 :55 - 20 :56 (00:00) root pts/1 mrranger Jun 26 20 :55 - 20 :56 (00:00) . . . wtmp begins Jul 31 18:20 This report is saved in: /usr/local/reboot/sys_snapshot.yogi.07 250 2_094 658 Listing ... on /dev/hd4 32768 10924 67% 1 854 12% / /dev/hd2 1449984 61680 96% 40941 12% /usr /dev/hd9var 53 248 1 056 8 81% 673 6% /var /dev/hd3 106496 70184 35% 223 1% /tmp /dev/hd1 4096 3892 5% 55...

Ngày tải lên: 09/08/2014, 16:20

70 363 0
Mastering unix shell scripting phần 9 docx

Mastering unix shell scripting phần 9 docx

... 223 .54 5 332.00997 655 3 The sum of: 2 + 223 .54 5 + 332.00997 655 3 to a scale of 8 is 55 7 .55 497 655 3 Listing 22.3 float_add.ksh shell script in action. Floating-Point Math and the bc Utility 55 5 # ... /tmp/myfilename /tmp/myfilename.120601.13 150 7.03038 /tmp/myfilename.120601.13 150 7. 155 93 /tmp/myfilename.120601.13 150 7.11760 /tmp/myfilename.120601.13 150 8.08374 /tmp/myfilen...

Ngày tải lên: 09/08/2014, 16:20

70 370 0
Mastering unix shell scripting phần 10 docx

Mastering unix shell scripting phần 10 docx

... interface ip=10.10.10.1 bcast=10.10. 255 . 255 nmask= 255 . 255 .0.0 Connection to CindySue failed added interface ip=10.10.10.1 bcast=10.10. 255 . 255 nmask= 255 . 255 .0.0 Connection to Bubba failed added ... interface ip=10.10.10.1 bcast=10.10. 255 . 255 nmask= 255 . 255 .0.0 Connection to JonnyLee failed added interface ip=10.10.10.1 bcast=10.10. 255 . 255 nmask= 255 . 255 .0.0 Connection...

Ngày tải lên: 09/08/2014, 16:20

73 347 0
Mastering unix shell scripting phần 1 pdf

Mastering unix shell scripting phần 1 pdf

... xix Chapter 1 Scripting Quick Start and Review 1 Case Sensitivity 1 Unix Special Characters 2 Shells 2 Shell Scripts 2 Functions 2 A Function Has the Form 3 Running a Shell Script 3 Declare the Shell ... type of exit status 15 SIGTERM kill command’s default action 24 SIGSTOP Stop, usually CONTROL-z Scripting Quick Start and Review 21 Randal K. Michael Mastering Unix Shell...

Ngày tải lên: 09/08/2014, 16:20

71 390 0
Mastering unix shell scripting phần 2 pdf

Mastering unix shell scripting phần 2 pdf

... 0m51.87s sys 6m8 .54 s Method 5: function while_line_LINE real 6m50.79s user 0m36.65s sys 5m59.66s Method 6: function while_LINE_line_bottom real 7m20.48s user 0m51.01s sys 6m14 .57 s Method 7: function ... 0m5.89s 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.87s user 0m51.87s sys...

Ngày tải lên: 09/08/2014, 16:20

70 392 0
Mastering unix shell scripting phần 3 ppsx

Mastering unix shell scripting phần 3 ppsx

... /etc/mnttab /dev/dsk/c0d0s3 96 455 59 31 80879 7% /var swap 55 4132 0 55 413 0% /var/run /dev/dsk/c0d0s5 479 75 1221 41 957 3% /opt swap 55 4428 296 55 4132 1% /tmp /dev/dsk/c0d0s7 10 155 42 1 954 598 1% /export/home /dev/dsk/c0d0s1 ... /usr /dev/hd9var 53 248 30824 43% 54 0 5% /var /dev/hd3 106496 99932 7% 1 35 1% /tmp /dev/hd1 4096 3916 5% 25 % /home /proc /proc /dev/hd10opt 638...

Ngày tải lên: 09/08/2014, 16:20

70 340 0
Mastering unix shell scripting phần 4 ppsx

Mastering unix shell scripting phần 4 ppsx

... shell script listing. (continues) Monitoring System Load 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. # ... po fr de sr cd f0 s0 in sy cs us sy id 0 0 0 55 8316 33036 57 433 2 0 0 0 0 0 0 0 0 111 50 0 77 2 8 90 0 0 0 55 6192 29992 387 2928 0 0 0 0 0 1 0 0 0 155 2711 273 14 60 26 As with...

Ngày tải lên: 09/08/2014, 16:20

70 361 0
Mastering unix shell scripting phần 7 pdf

Mastering unix shell scripting phần 7 pdf

... entry is shown here: 5, 15, 25, 35, 45, 55 * * * * /usr/sbin/lpc up all >/dev/null 2>&1 This cron table entry enables all printing and queuing on all printers on the 5s, 24 hours a day, ... cron table to execute this command every 10 minutes. My cron table entry is shown here: 5, 15, 25, 35, 45, 55 * * * * /usr/sbin/lpc up all >/dev/null 2>&1 Table 16.4 Solaris lpc Co...

Ngày tải lên: 09/08/2014, 16:20

70 347 0
Từ khóa:
w