Mastering unix shell scripting phần 1 pdf
... vmstat 19 1 AIX 19 1 HP-UX 19 1 Linux 19 2 Solaris 19 2 What Is the Common Denominator? 19 2 Scripting the Solutions 19 3 Using uptime to Measure the System Load 19 4 Scripting with the uptime Command 19 4 Using ... shell 4 Chapter 1 Linux 18 7 Solaris 18 7 What Is the Common Denominator? 18 7 Syntax for sar 18 8 AIX 18 8 HP-UX 18 9 Linux 18 9 Solaris 19 0 What Is th...
Ngày tải lên: 09/08/2014, 16:20
... 7m20.48s user 0m 51. 01s sys 6m14.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 2 .17 Timing ... ‘trap_exit;exit 2’ 1 2 3 15 if (( $# != 1 )) then usage exit 1 fi # Test for a positive integer INT_STRING=$(test_string $1) if [[ $INT_STRING != ‘POS_INT’ ]] then echo “\nINV...
Ngày tải lên: 09/08/2014, 16:20
... PORT command successful. 15 0 ASCII data connection for auto_ftp_xfer.ksh (10 .10 .10 .1, 32787) (227 bytes). 226 ASCII Transfer complete. 246 bytes received in 0.0229 seconds (10 .49 Kbytes/s) local: ... combine the shell scripts in Listings 17 .1 and 17 .4. We are also going to add the functionality to add pre- and post-ftp events. Let’s start by looking at the shell script in Listi...
Ngày tải lên: 09/08/2014, 16:20
Mastering unix shell scripting phần 3 ppsx
... 96455 59 31 80879 7% /var swap 55 413 2 0 55 413 0% /var/run /dev/dsk/c0d0s5 47975 12 21 419 57 3% /opt swap 554428 296 55 413 2 1% /tmp /dev/dsk/c0d0s7 10 15542 1 954598 1% /export/home /dev/dsk/c0d0s1 375255 ... Output 10 24- MOUNTED FILESYSTEM BLOCKS FREE %USED IUSED %IUSED ON /dev/hd4 32768 16 376 51% 16 63 11 % / /dev/hd2 12 12 416 57592 96% 36386 13 % /usr /dev/hd9var 532...
Ngày tải lên: 09/08/2014, 16:20
Mastering unix shell scripting phần 4 ppsx
... output: SECS=30 INTERVAL =10 # sar $SECS $INTERVAL AIX yogi 1 5 00 012 5604800 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 ... w swpd free buff cache si so bi bo in cs us sy id 2 0 0 244 10 88 16 76 210 08 0 0 1 0 12 7 72 1 1 99 3 0 0 244 11 32 16 76 210 0...
Ngày tải lên: 09/08/2014, 16:20
Mastering unix shell scripting phần 5 doc
... /oradata ar_lv jfs 16 16 1 open/syncd /usr/ar remp_tmp 01 jfs 12 8 12 8 1 open/syncd /remd_tmp 01 export_lv jfs 10 0 10 0 1 open/syncd /export loglv00 jfslog 1 1 1 open/syncd N/A remp2_ctl 01 jfs 1 1 1 open/syncd ... /usr/remedy remp2_log1a jfs 1 1 1 open/syncd /remd_log1a remp2_log1b jfs 1 1 1 open/syncd /remd_log1b remp2_log2a jfs 1 1 1 open/syncd /remd_lo...
Ngày tải lên: 09/08/2014, 16:20
Mastering unix shell scripting phần 6 doc
... link#2 2.60.8c.2d.75.b1 11 2330 0 10 8697 0 0 en0 15 00 10 .10 yogi 11 2330 0 10 8697 0 0 lo0 16 896 link #1 28302 0 28304 0 0 lo0 16 896 12 7 loopback 28302 0 28304 0 0 lo0 16 896 : :1 28302 0 28304 0 0 ################################################# Filesystem ... rmt0.7 crw-rw 1 root system 10 , 0 Jul 26 20 01 rootvg crw-rw 1 root system 10 , 10 Jul 29 20 01 rscripts...
Ngày tải lên: 09/08/2014, 16:20
Mastering unix shell scripting phần 8 potx
... ls -al total 13 drwxrwx 2 bin cron 512 Feb 10 21: 36 . drwxr-xr-x 4 bin cron 512 Jul 26 20 01 -rw-r r 1 adm cron 2027 Feb 10 21: 36 adm -rw 1 root cron 11 25 Feb 10 21: 35 root -rw-r r 1 sys cron 864 ... 24-08-5B 91- 09-P SSA160 Physical Disk Drive pdisk9 Available 24-08-5B 91- 10-P SSA160 Physical Disk Drive pdisk10 Available 24-08-5B 91- 11- P SSA160 Physical Disk Drive pdisk...
Ngày tải lên: 09/08/2014, 16:20
Mastering unix shell scripting phần 9 docx
... /tmp/myfilename /tmp/myfilename .12 06 01. 1 315 07.03038 /tmp/myfilename .12 06 01. 1 315 07 .15 593 /tmp/myfilename .12 06 01. 1 315 07 .11 760 /tmp/myfilename .12 06 01. 1 315 08.08374 /tmp/myfilename .12 06 01. 1 315 08. 019 26 /tmp/myfilename .12 06 01. 1 315 08.07238 /tmp/myfilename .12 06 01. 1 315 09.07554 /tmp/myfilename .12 06 01. 1 315 09 .12 343 /tmp/myfilename .12 06 01. 1 315 10...
Ngày tải lên: 09/08/2014, 16:20
Mastering unix shell scripting phần 10 docx
... Control-D sent 13 bytes added interface ip =10 .10 .10 .1 bcast =10 .10 .255.255 nmask=255.255.0.0 Connected. Type your message, ending it with a Control-D sent 13 bytes added interface ip =10 .10 .10 .1 bcast =10 .10 .255.255 ... output: added interface ip =10 .10 .10 .1 bcast =10 .10 .255.255 nmask=255.255.0.0 Connected. Type your message, ending it with a Control-D sent 13 bytes adde...
Ngày tải lên: 09/08/2014, 16:20