Mastering Unix Shell Scripting phần 1 pps
... Common Denominator? 18 7 Syntax for sar 18 8 AIX 18 8 HP-UX 18 9 Linux 18 9 Solaris 19 0 What Is the Common Denominator? 19 0 Syntax for vmstat 19 1 AIX 19 1 HP-UX 19 1 Linux 19 2 Solaris 19 2 What Is the Common ... tty0 Jul 31 23:23 root ftp booboo Jul 31 21: 19 - 21: 19 (00:00) root ftp bambam Jul 31 21: 19 - 21: 19 (00:00) root ftp booboo Jul 31 20:42 - 20:42 (00:00) root f...
Ngày tải lên: 14/08/2014, 16:20
... 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
... 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 4 pps
... 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 ... ./proc_wait.ksh xcalc WAITING for xcalc to start Thu Sep 27 21: 11: 47 EDT 20 01 xcalc has Started Execution Thu Sep 27 21: 11: 55 EDT 20...
Ngày tải lên: 14/08/2014, 16:20
Mastering Unix Shell Scripting phần 6 pps
... rootvg crw-rw 1 root system 10 , 10 Jul 29 20 01 rscripts_lv crw-rw-rw- 1 root system 13 , 14 Jul 26 20 01 sad brw-rw 1 root system 10 , 10 Jul 29 20 01 scripts_lv crw-rw-rw- 1 root system 11 , 0 Jul 26 20 01 scsi0 crw-rw-rw- ... 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...
Ngày tải lên: 14/08/2014, 16:20
Mastering Unix Shell Scripting phần 7 pps
... $P done Listing 16 .13 Scripting the lpstat command using -a and -p. 430 Chapter 16 15 0 Binary data connection for get_ftp_files.ksh (10 .10 .10 .1, 32808) (15 67 bytes) . 226 Binary Transfer complete. 15 67 ... bytes received in 0.0 011 16 seconds (13 71 Kbytes/s) local: get_ftp_files.ksh remote: get_ftp_files.ksh 2 21 Goodbye. [root:yogi]@/scripts# Listing 17 .6 get_ftp_files.ks...
Ngày tải lên: 14/08/2014, 16:20
Mastering Unix Shell Scripting phần 9 pps
... BASE _16 _NUM variable to base 16 . # This step converts the base 2 number to a base 16 number. typeset -i16 BASE _16 _NUM # Display the resulting base 16 representation echo $BASE _16 _NUM Listing 23 .1 ... “\nEXAMPLE: $SCRIPT_NAME 11 0 010 110 1” echo “\nWill return the hexadecimal base 16 number 32d” echo “\n\t EXITING \n” } # Check for a single command-line argument if (($# != 1) )...
Ngày tải lên: 14/08/2014, 16:20
Mastering unix shell scripting phần 2 pdf
... 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
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