home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / unix / volume11 / watcher / part02 < prev    next >
SHell self-extracting ARchive  |  1987-09-27  |  34.4 KB

view JSON data     |     view as text     |     open on a Mac     |     open on a PC

This file was processed as: SHell self-extracting ARchive (archive/shar).

You can browse this item here: part02

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert Newsgroup Content (archive/news) magic Supported
100% dexvert SHell self-extracting ARchive (archive/shar) magic Supported
100% dexvert Internet Message Format (text/imf) magic Supported
1% dexvert Text File (text/txt) fallback Supported
100% file news or mail, ASCII text default
100% checkBytes Printable ASCII default
100% perlTextCheck Likely Text (Perl) default
100% siegfried fmt/329 Shell Archive Format default
100% detectItEasy Format: plain text[LF] default (weak)
100% xdgMime message/rfc822 default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 53 75 62 6a 65 63 74 3a | 20 20 76 31 31 69 30 38 |Subject:| v11i08|
|00000010| 33 3a 20 20 57 61 74 63 | 68 65 72 20 73 79 73 74 |3: Watc|her syst|
|00000020| 65 6d 20 6d 6f 6e 69 74 | 6f 72 20 70 72 6f 67 72 |em monit|or progr|
|00000030| 61 6d 2c 20 50 61 72 74 | 30 32 2f 30 32 0a 4e 65 |am, Part|02/02.Ne|
|00000040| 77 73 67 72 6f 75 70 73 | 3a 20 63 6f 6d 70 2e 73 |wsgroups|: comp.s|
|00000050| 6f 75 72 63 65 73 2e 75 | 6e 69 78 0a 53 65 6e 64 |ources.u|nix.Send|
|00000060| 65 72 3a 20 73 6f 75 72 | 63 65 73 0a 41 70 70 72 |er: sour|ces.Appr|
|00000070| 6f 76 65 64 3a 20 72 73 | 40 75 75 6e 65 74 2e 55 |oved: rs|@uunet.U|
|00000080| 55 2e 4e 45 54 0a 0a 53 | 75 62 6d 69 74 74 65 64 |U.NET..S|ubmitted|
|00000090| 2d 62 79 3a 20 4b 65 6e | 6e 65 74 68 20 49 6e 67 |-by: Ken|neth Ing|
|000000a0| 68 61 6d 20 3c 69 6e 67 | 68 61 6d 40 63 68 61 72 |ham <ing|ham@char|
|000000b0| 6f 6e 2e 75 6e 6d 2e 65 | 64 75 3e 0a 50 6f 73 74 |on.unm.e|du>.Post|
|000000c0| 69 6e 67 2d 6e 75 6d 62 | 65 72 3a 20 56 6f 6c 75 |ing-numb|er: Volu|
|000000d0| 6d 65 20 31 31 2c 20 49 | 73 73 75 65 20 38 33 0a |me 11, I|ssue 83.|
|000000e0| 41 72 63 68 69 76 65 2d | 6e 61 6d 65 3a 20 77 61 |Archive-|name: wa|
|000000f0| 74 63 68 65 72 2f 70 61 | 72 74 30 32 0a 0a 23 21 |tcher/pa|rt02..#!|
|00000100| 20 2f 62 69 6e 2f 73 68 | 0a 23 20 54 68 69 73 20 | /bin/sh|.# This |
|00000110| 69 73 20 61 20 73 68 65 | 6c 6c 20 61 72 63 68 69 |is a she|ll archi|
|00000120| 76 65 2e 20 20 52 65 6d | 6f 76 65 20 61 6e 79 74 |ve. Rem|ove anyt|
|00000130| 68 69 6e 67 20 62 65 66 | 6f 72 65 20 74 68 69 73 |hing bef|ore this|
|00000140| 20 6c 69 6e 65 2c 20 74 | 68 65 6e 20 75 6e 70 61 | line, t|hen unpa|
|00000150| 63 6b 0a 23 20 69 74 20 | 62 79 20 73 61 76 69 6e |ck.# it |by savin|
|00000160| 67 20 69 74 20 69 6e 74 | 6f 20 61 20 66 69 6c 65 |g it int|o a file|
|00000170| 20 61 6e 64 20 74 79 70 | 69 6e 67 20 22 73 68 20 | and typ|ing "sh |
|00000180| 66 69 6c 65 22 2e 20 20 | 54 6f 20 6f 76 65 72 77 |file". |To overw|
|00000190| 72 69 74 65 20 65 78 69 | 73 74 69 6e 67 0a 23 20 |rite exi|sting.# |
|000001a0| 66 69 6c 65 73 2c 20 74 | 79 70 65 20 22 73 68 20 |files, t|ype "sh |
|000001b0| 66 69 6c 65 20 2d 63 22 | 2e 20 20 59 6f 75 20 63 |file -c"|. You c|
|000001c0| 61 6e 20 61 6c 73 6f 20 | 66 65 65 64 20 74 68 69 |an also |feed thi|
|000001d0| 73 20 61 73 20 73 74 61 | 6e 64 61 72 64 20 69 6e |s as sta|ndard in|
|000001e0| 70 75 74 20 76 69 61 0a | 23 20 75 6e 73 68 61 72 |put via.|# unshar|
|000001f0| 2c 20 6f 72 20 62 79 20 | 74 79 70 69 6e 67 20 22 |, or by |typing "|
|00000200| 73 68 20 3c 66 69 6c 65 | 22 2c 20 65 2e 67 2e 2e |sh <file|", e.g..|
|00000210| 20 20 49 66 20 74 68 69 | 73 20 61 72 63 68 69 76 | If thi|s archiv|
|00000220| 65 20 69 73 20 63 6f 6d | 70 6c 65 74 65 2c 20 79 |e is com|plete, y|
|00000230| 6f 75 0a 23 20 77 69 6c | 6c 20 73 65 65 20 74 68 |ou.# wil|l see th|
|00000240| 65 20 66 6f 6c 6c 6f 77 | 69 6e 67 20 6d 65 73 73 |e follow|ing mess|
|00000250| 61 67 65 20 61 74 20 74 | 68 65 20 65 6e 64 3a 0a |age at t|he end:.|
|00000260| 23 09 09 22 45 6e 64 20 | 6f 66 20 61 72 63 68 69 |#.."End |of archi|
|00000270| 76 65 20 32 20 28 6f 66 | 20 32 29 2e 22 0a 23 20 |ve 2 (of| 2).".# |
|00000280| 43 6f 6e 74 65 6e 74 73 | 3a 20 20 44 6f 63 73 2f |Contents|: Docs/|
|00000290| 50 61 70 65 72 20 44 6f | 63 73 2f 77 61 74 63 68 |Paper Do|cs/watch|
|000002a0| 65 72 2e 31 20 63 6f 6e | 74 72 6f 6c 2e 79 20 64 |er.1 con|trol.y d|
|000002b0| 65 66 73 2e 68 0a 50 41 | 54 48 3d 2f 62 69 6e 3a |efs.h.PA|TH=/bin:|
|000002c0| 2f 75 73 72 2f 62 69 6e | 3a 2f 75 73 72 2f 75 63 |/usr/bin|:/usr/uc|
|000002d0| 62 20 3b 20 65 78 70 6f | 72 74 20 50 41 54 48 0a |b ; expo|rt PATH.|
|000002e0| 69 66 20 74 65 73 74 20 | 2d 66 20 44 6f 63 73 2f |if test |-f Docs/|
|000002f0| 50 61 70 65 72 20 2d 61 | 20 22 24 7b 31 7d 22 20 |Paper -a| "${1}" |
|00000300| 21 3d 20 22 2d 63 22 20 | 3b 20 74 68 65 6e 20 0a |!= "-c" |; then .|
|00000310| 20 20 65 63 68 6f 20 73 | 68 61 72 3a 20 57 69 6c | echo s|har: Wil|
|00000320| 6c 20 6e 6f 74 20 6f 76 | 65 72 2d 77 72 69 74 65 |l not ov|er-write|
|00000330| 20 65 78 69 73 74 69 6e | 67 20 66 69 6c 65 20 5c | existin|g file \|
|00000340| 22 44 6f 63 73 2f 50 61 | 70 65 72 5c 22 0a 65 6c |"Docs/Pa|per\".el|
|00000350| 73 65 0a 65 63 68 6f 20 | 73 68 61 72 3a 20 45 78 |se.echo |shar: Ex|
|00000360| 74 72 61 63 74 69 6e 67 | 20 5c 22 44 6f 63 73 2f |tracting| \"Docs/|
|00000370| 50 61 70 65 72 5c 22 20 | 5c 28 31 33 38 32 31 20 |Paper\" |\(13821 |
|00000380| 63 68 61 72 61 63 74 65 | 72 73 5c 29 0a 73 65 64 |characte|rs\).sed|
|00000390| 20 22 73 2f 5e 58 2f 2f | 22 20 3e 44 6f 63 73 2f | "s/^X//|" >Docs/|
|000003a0| 50 61 70 65 72 20 3c 3c | 27 45 4e 44 5f 4f 46 5f |Paper <<|'END_OF_|
|000003b0| 44 6f 63 73 2f 50 61 70 | 65 72 27 0a 58 2e 54 49 |Docs/Pap|er'.X.TI|
|000003c0| 20 4b 65 65 70 69 6e 67 | 20 77 61 74 63 68 20 6f | Keeping| watch o|
|000003d0| 76 65 72 20 74 68 65 20 | 66 6c 6f 63 6b 73 0a 58 |ver the |flocks.X|
|000003e0| 2e 54 49 20 62 79 20 6e | 69 67 68 74 20 28 61 6e |.TI by n|ight (an|
|000003f0| 64 20 64 61 79 29 0a 58 | 2e 41 55 20 37 0a 58 4b |d day).X|.AU 7.XK|
|00000400| 65 6e 6e 65 74 68 20 49 | 6e 67 68 61 6d 0a 58 55 |enneth I|ngham.XU|
|00000410| 6e 69 76 65 72 73 69 74 | 79 20 6f 66 20 4e 65 77 |niversit|y of New|
|00000420| 20 4d 65 78 69 63 6f 20 | 43 6f 6d 70 75 74 69 6e | Mexico |Computin|
|00000430| 67 20 43 65 6e 74 65 72 | 0a 58 44 69 73 74 72 69 |g Center|.XDistri|
|00000440| 62 75 74 65 64 20 53 79 | 73 74 65 6d 73 20 47 72 |buted Sy|stems Gr|
|00000450| 6f 75 70 0a 58 32 37 30 | 31 20 43 61 6d 70 75 73 |oup.X270|1 Campus|
|00000460| 20 4e 45 0a 58 41 6c 62 | 75 71 75 65 72 71 75 65 | NE.XAlb|uquerque|
|00000470| 2c 20 4e 4d 20 38 37 31 | 33 31 0a 58 28 35 30 35 |, NM 871|31.X(505|
|00000480| 29 20 32 37 37 2d 38 30 | 34 34 0a 58 69 6e 67 68 |) 277-80|44.Xingh|
|00000490| 61 6d 40 63 68 61 72 6f | 6e 2e 75 6e 6d 2e 65 64 |am@charo|n.unm.ed|
|000004a0| 75 20 20 6f 72 20 75 63 | 62 76 61 78 21 75 6e 6d |u or uc|bvax!unm|
|000004b0| 76 61 78 21 63 68 61 72 | 6f 6e 21 69 6e 67 68 61 |vax!char|on!ingha|
|000004c0| 6d 0a 58 2e 41 42 0a 58 | 4f 76 65 72 20 74 68 65 |m.X.AB.X|Over the|
|000004d0| 20 6c 61 73 74 20 73 65 | 76 65 72 61 6c 20 79 65 | last se|veral ye|
|000004e0| 61 72 73 2c 20 74 68 65 | 20 6e 75 6d 62 65 72 20 |ars, the| number |
|000004f0| 6f 66 20 6d 61 63 68 69 | 6e 65 73 20 6d 61 69 6e |of machi|nes main|
|00000500| 74 61 69 6e 65 64 20 62 | 79 20 74 68 65 0a 58 55 |tained b|y the.XU|
|00000510| 6e 69 76 65 72 73 69 74 | 79 20 6f 66 20 4e 65 77 |niversit|y of New|
|00000520| 20 4d 65 78 69 63 6f 20 | 43 6f 6d 70 75 74 69 6e | Mexico |Computin|
|00000530| 67 20 43 65 6e 74 65 72 | 20 68 61 73 20 69 6e 63 |g Center| has inc|
|00000540| 72 65 61 73 65 64 20 72 | 61 70 69 64 6c 79 2c 20 |reased r|apidly, |
|00000550| 79 65 74 0a 58 74 68 65 | 20 6e 75 6d 62 65 72 20 |yet.Xthe| number |
|00000560| 6f 66 20 73 79 73 74 65 | 6d 20 6d 61 6e 61 67 65 |of syste|m manage|
|00000570| 72 73 20 6d 6f 6e 69 74 | 6f 72 69 6e 67 20 74 68 |rs monit|oring th|
|00000580| 65 73 65 20 73 79 73 74 | 65 6d 73 20 68 61 73 20 |ese syst|ems has |
|00000590| 72 65 6d 61 69 6e 65 64 | 0a 58 73 74 61 74 69 63 |remained|.Xstatic|
|000005a0| 2e 20 20 43 6f 6e 73 65 | 71 75 65 6e 74 6c 79 2c |. Conse|quently,|
|000005b0| 20 74 68 65 20 73 79 73 | 74 65 6d 20 6d 61 6e 61 | the sys|tem mana|
|000005c0| 67 65 72 73 20 77 65 72 | 65 20 66 61 63 65 64 20 |gers wer|e faced |
|000005d0| 77 69 74 68 20 74 68 65 | 20 74 61 73 6b 20 6f 66 |with the| task of|
|000005e0| 0a 58 77 61 74 63 68 69 | 6e 67 20 6d 6f 72 65 20 |.Xwatchi|ng more |
|000005f0| 61 6e 64 20 6d 6f 72 65 | 20 6d 61 63 68 69 6e 65 |and more| machine|
|00000600| 73 3b 20 73 69 6e 63 65 | 20 6f 6e 6c 79 20 6f 6e |s; since| only on|
|00000610| 65 20 73 79 73 74 65 6d | 20 6d 61 6e 61 67 65 72 |e system| manager|
|00000620| 20 69 73 20 6f 6e 0a 58 | 63 61 6c 6c 20 61 74 20 | is on.X|call at |
|00000630| 61 6e 79 20 74 69 6d 65 | 20 28 6b 6e 6f 77 6e 20 |any time| (known |
|00000640| 61 66 66 65 63 74 69 6f | 6e 61 74 65 6c 79 20 61 |affectio|nately a|
|00000650| 73 20 22 44 4f 43 22 29 | 2c 20 74 68 69 73 20 73 |s "DOC")|, this s|
|00000660| 6f 6f 6e 20 70 72 6f 76 | 65 64 20 74 6f 0a 58 62 |oon prov|ed to.Xb|
|00000670| 65 20 61 6e 20 75 6e 61 | 63 63 65 70 74 61 62 6c |e an una|cceptabl|
|00000680| 65 20 73 69 74 75 61 74 | 69 6f 6e 2e 20 20 53 68 |e situat|ion. Sh|
|00000690| 65 6c 6c 20 73 63 72 69 | 70 74 73 20 72 75 6e 6e |ell scri|pts runn|
|000006a0| 69 6e 67 20 65 76 65 72 | 79 20 73 69 78 20 68 6f |ing ever|y six ho|
|000006b0| 75 72 73 0a 58 67 61 76 | 65 20 73 6f 6d 65 20 61 |urs.Xgav|e some a|
|000006c0| 73 73 69 73 74 61 6e 63 | 65 3b 20 74 68 69 73 20 |ssistanc|e; this |
|000006d0| 77 61 73 20 6f 66 66 73 | 65 74 20 62 79 20 74 68 |was offs|et by th|
|000006e0| 65 20 66 61 63 74 20 74 | 68 61 74 20 74 68 65 20 |e fact t|hat the |
|000006f0| 73 63 72 69 70 74 73 0a | 58 67 65 6e 65 72 61 74 |scripts.|Xgenerat|
|00000700| 65 64 20 61 20 67 72 65 | 61 74 20 64 65 61 6c 20 |ed a gre|at deal |
|00000710| 6f 66 20 6f 75 74 70 75 | 74 20 69 6e 64 69 63 61 |of outpu|t indica|
|00000720| 74 69 6e 67 20 6e 6f 72 | 6d 61 6c 20 73 79 73 74 |ting nor|mal syst|
|00000730| 65 6d 20 6f 70 65 72 61 | 74 69 6f 6e 2c 0a 58 77 |em opera|tion,.Xw|
|00000740| 68 69 63 68 20 74 68 65 | 20 73 79 73 74 65 6d 20 |hich the| system |
|00000750| 6d 61 6e 61 67 65 72 20 | 73 74 69 6c 6c 20 68 61 |manager |still ha|
|00000760| 64 20 74 6f 20 73 63 61 | 6e 20 63 61 72 65 66 75 |d to sca|n carefu|
|00000770| 6c 6c 79 20 66 6f 72 20 | 73 69 67 6e 73 20 6f 66 |lly for |signs of|
|00000780| 0a 58 74 72 6f 75 62 6c | 65 2e 20 20 54 68 69 73 |.Xtroubl|e. This|
|00000790| 20 70 61 70 65 72 20 64 | 65 73 63 72 69 62 65 73 | paper d|escribes|
|000007a0| 20 5c 66 49 77 61 74 63 | 68 65 72 5c 66 52 2c 20 | \fIwatc|her\fR, |
|000007b0| 61 20 66 6c 65 78 69 62 | 6c 65 20 73 79 73 74 65 |a flexib|le syste|
|000007c0| 6d 20 6d 6f 6e 69 74 6f | 72 0a 58 77 68 69 63 68 |m monito|r.Xwhich|
|000007d0| 20 77 61 74 63 68 65 73 | 20 74 68 65 20 73 79 73 | watches| the sys|
|000007e0| 74 65 6d 20 6d 6f 72 65 | 20 63 6c 6f 73 65 6c 79 |tem more| closely|
|000007f0| 20 74 68 61 6e 20 74 68 | 65 20 68 75 6d 61 6e 20 | than th|e human |
|00000800| 73 79 73 74 65 6d 20 6d | 61 6e 61 67 65 72 0a 58 |system m|anager.X|
|00000810| 77 68 69 6c 65 20 67 65 | 6e 65 72 61 74 69 6e 67 |while ge|nerating|
|00000820| 20 6c 65 73 73 20 6f 75 | 74 70 75 74 20 66 6f 72 | less ou|tput for|
|00000830| 20 68 69 6d 20 74 6f 20 | 65 78 61 6d 69 6e 65 2e | him to |examine.|
|00000840| 0a 58 2e 73 70 0a 58 52 | 75 6e 6e 69 6e 67 20 6d |.X.sp.XR|unning m|
|00000850| 6f 72 65 20 6f 66 74 65 | 6e 20 74 68 61 6e 20 74 |ore ofte|n than t|
|00000860| 68 65 20 61 62 6f 76 65 | 20 6d 65 6e 74 69 6f 6e |he above| mention|
|00000870| 65 64 20 73 65 74 20 6f | 66 20 73 68 65 6c 6c 20 |ed set o|f shell |
|00000880| 73 63 72 69 70 74 73 2c | 0a 58 5c 66 49 77 61 74 |scripts,|.X\fIwat|
|00000890| 63 68 65 72 5c 66 52 20 | 69 73 20 61 62 6c 65 20 |cher\fR |is able |
|000008a0| 74 6f 20 6b 65 65 70 20 | 63 6c 6f 73 65 72 20 74 |to keep |closer t|
|000008b0| 61 62 73 20 6f 6e 20 74 | 68 65 20 73 79 73 74 65 |abs on t|he syste|
|000008c0| 6d 3b 20 73 69 6e 63 65 | 20 69 74 0a 58 64 65 6c |m; since| it.Xdel|
|000008d0| 69 76 65 72 73 20 6f 6e | 6c 79 20 61 20 6c 69 73 |ivers on|ly a lis|
|000008e0| 74 20 6f 66 20 70 6f 74 | 65 6e 74 69 61 6c 20 70 |t of pot|ential p|
|000008f0| 72 6f 62 6c 65 6d 73 2c | 20 68 6f 77 65 76 65 72 |roblems,| however|
|00000900| 2c 20 74 68 69 73 20 65 | 78 74 72 61 0a 58 6d 6f |, this e|xtra.Xmo|
|00000910| 6e 69 74 6f 72 69 6e 67 | 20 70 72 6f 64 75 63 65 |nitoring| produce|
|00000920| 73 20 5c 66 49 6e 6f 5c | 66 52 20 63 6f 72 72 65 |s \fIno\|fR corre|
|00000930| 73 70 6f 6e 64 69 6e 67 | 20 69 6e 63 72 65 61 73 |sponding| increas|
|00000940| 65 20 69 6e 20 74 68 65 | 20 64 65 6d 61 6e 64 20 |e in the| demand |
|00000950| 6f 6e 0a 58 44 4f 43 2e | 20 20 4e 6f 20 70 72 6f |on.XDOC.| No pro|
|00000960| 62 6c 65 6d 73 20 73 6c | 69 70 20 62 79 20 75 6e |blems sl|ip by un|
|00000970| 6e 6f 74 69 63 65 64 20 | 69 6e 20 74 68 65 20 6d |noticed |in the m|
|00000980| 6f 72 65 20 63 6f 6e 63 | 69 73 65 20 6f 75 74 70 |ore conc|ise outp|
|00000990| 75 74 2c 0a 58 6c 65 61 | 64 69 6e 67 20 74 6f 20 |ut,.Xlea|ding to |
|000009a0| 61 6e 20 69 6d 70 72 6f | 76 65 6d 65 6e 74 20 69 |an impro|vement i|
|000009b0| 6e 20 6f 76 65 72 61 6c | 6c 20 73 79 73 74 65 6d |n overal|l system|
|000009c0| 20 61 76 61 69 6c 61 62 | 69 6c 69 74 79 20 61 73 | availab|ility as|
|000009d0| 20 77 65 6c 6c 20 61 73 | 20 74 68 65 0a 58 6d 6f | well as| the.Xmo|
|000009e0| 72 65 20 65 66 66 65 63 | 74 69 76 65 20 75 74 69 |re effec|tive uti|
|000009f0| 6c 69 7a 61 74 69 6f 6e | 20 6f 66 20 74 68 65 20 |lization| of the |
|00000a00| 73 79 73 74 65 6d 20 6d | 61 6e 61 67 65 72 27 73 |system m|anager's|
|00000a10| 20 74 69 6d 65 2e 0a 58 | 2e 42 44 0a 58 2e 53 45 | time..X|.BD.X.SE|
|00000a20| 20 30 2e 20 41 63 6b 6e | 6f 77 6c 65 64 67 6d 65 | 0. Ackn|owledgme|
|00000a30| 6e 74 73 20 28 49 20 63 | 6f 75 6c 64 6e 27 74 20 |nts (I c|ouldn't |
|00000a40| 68 61 76 65 20 64 6f 6e | 65 20 69 74 20 77 69 74 |have don|e it wit|
|00000a50| 68 6f 75 74 20 79 6f 75 | 29 0a 58 49 20 77 6f 75 |hout you|).XI wou|
|00000a60| 6c 64 20 6c 69 6b 65 20 | 74 6f 20 74 68 61 6e 6b |ld like |to thank|
|00000a70| 20 4c 65 73 6c 69 65 20 | 47 6f 72 73 6c 69 6e 65 | Leslie |Gorsline|
|00000a80| 20 66 6f 72 20 68 65 72 | 20 61 73 73 69 73 74 61 | for her| assista|
|00000a90| 6e 63 65 20 69 6e 20 74 | 68 65 20 77 72 69 74 69 |nce in t|he writi|
|00000aa0| 6e 67 0a 58 6f 66 20 74 | 68 69 73 20 70 61 70 65 |ng.Xof t|his pape|
|00000ab0| 72 2e 20 20 57 69 74 68 | 6f 75 74 20 68 65 72 2c |r. With|out her,|
|00000ac0| 20 74 68 69 73 20 70 61 | 70 65 72 20 6d 69 67 68 | this pa|per migh|
|00000ad0| 74 20 6e 6f 74 20 68 61 | 76 65 20 62 65 65 6e 2e |t not ha|ve been.|
|00000ae0| 20 20 41 6c 73 6f 0a 58 | 74 68 61 6e 6b 73 20 74 | Also.X|thanks t|
|00000af0| 6f 20 74 68 65 20 55 4e | 4d 43 43 20 64 69 73 74 |o the UN|MCC dist|
|00000b00| 72 69 62 75 74 65 64 20 | 73 79 73 74 65 6d 73 20 |ributed |systems |
|00000b10| 67 72 6f 75 70 20 66 6f | 72 20 74 68 65 69 72 20 |group fo|r their |
|00000b20| 63 6f 6d 6d 65 6e 74 73 | 20 74 68 61 74 20 68 65 |comments| that he|
|00000b30| 6c 70 65 64 0a 58 69 6d | 70 72 6f 76 65 20 5c 66 |lped.Xim|prove \f|
|00000b40| 49 77 61 74 63 68 65 72 | 5c 66 52 2e 0a 58 2e 53 |Iwatcher|\fR..X.S|
|00000b50| 45 20 31 2e 20 42 61 63 | 6b 67 72 6f 75 6e 64 20 |E 1. Bac|kground |
|00000b60| 28 74 68 65 20 70 72 6f | 62 6c 65 6d 29 0a 58 54 |(the pro|blem).XT|
|00000b70| 68 65 20 63 6f 6d 70 75 | 74 69 6e 67 20 66 61 63 |he compu|ting fac|
|00000b80| 69 6c 69 74 69 65 73 20 | 6f 66 66 65 72 65 64 20 |ilities |offered |
|00000b90| 62 79 20 74 68 65 20 55 | 6e 69 76 65 72 73 69 74 |by the U|niversit|
|00000ba0| 79 20 6f 66 20 4e 65 77 | 20 4d 65 78 69 63 6f 0a |y of New| Mexico.|
|00000bb0| 58 43 6f 6d 70 75 74 69 | 6e 67 20 43 65 6e 74 65 |XComputi|ng Cente|
|00000bc0| 72 20 28 55 4e 4d 43 43 | 29 20 69 6e 63 6c 75 64 |r (UNMCC|) includ|
|00000bd0| 65 20 74 68 72 65 65 20 | 6d 69 63 72 6f 76 61 78 |e three |microvax|
|00000be0| 65 6e 2c 20 66 69 76 65 | 20 6c 61 72 67 65 20 76 |en, five| large v|
|00000bf0| 61 78 65 6e 0a 58 28 37 | 38 30 20 6f 72 20 62 69 |axen.X(7|80 or bi|
|00000c00| 67 67 65 72 29 2c 20 61 | 6e 64 20 61 20 53 65 71 |gger), a|nd a Seq|
|00000c10| 75 65 6e 74 20 42 38 30 | 30 30 2e 20 20 49 6e 20 |uent B80|00. In |
|00000c20| 61 64 64 69 74 69 6f 6e | 20 74 6f 20 74 68 65 73 |addition| to thes|
|00000c30| 65 20 55 6e 69 78 2f 56 | 4d 53 0a 58 6d 61 63 68 |e Unix/V|MS.Xmach|
|00000c40| 69 6e 65 73 2c 20 74 68 | 65 20 55 4e 4d 43 43 20 |ines, th|e UNMCC |
|00000c50| 44 69 73 74 72 69 62 75 | 74 65 64 20 53 79 73 74 |Distribu|ted Syst|
|00000c60| 65 6d 73 20 47 72 6f 75 | 70 20 28 44 53 47 29 20 |ems Grou|p (DSG) |
|00000c70| 6d 6f 6e 69 74 6f 72 73 | 20 61 20 6e 75 6d 62 65 |monitors| a numbe|
|00000c80| 72 0a 58 6f 66 20 74 68 | 65 20 76 61 72 69 6f 75 |r.Xof th|e variou|
|00000c90| 73 20 6d 69 63 72 6f 76 | 61 78 65 6e 20 61 6e 64 |s microv|axen and|
|00000ca0| 20 73 75 6e 20 77 6f 72 | 6b 73 74 61 74 69 6f 6e | sun wor|kstation|
|00000cb0| 73 20 73 63 61 74 74 65 | 72 65 64 20 61 63 72 6f |s scatte|red acro|
|00000cc0| 73 73 0a 58 63 61 6d 70 | 75 73 2e 20 20 54 68 69 |ss.Xcamp|us. Thi|
|00000cd0| 73 20 64 75 74 79 20 66 | 61 6c 6c 73 20 74 6f 20 |s duty f|alls to |
|00000ce0| 74 68 65 20 44 53 47 20 | 50 72 6f 67 72 61 6d 6d |the DSG |Programm|
|00000cf0| 65 72 20 64 65 73 69 67 | 6e 61 74 65 64 20 61 73 |er desig|nated as|
|00000d00| 20 22 44 4f 43 22 2c 20 | 6f 72 0a 58 22 44 53 47 | "DOC", |or.X"DSG|
|00000d10| 20 4f 6e 20 43 61 6c 6c | 22 2c 20 77 68 6f 20 72 | On Call|", who r|
|00000d20| 65 63 65 69 76 65 73 20 | 68 69 73 20 62 65 65 70 |eceives |his beep|
|00000d30| 65 72 20 62 61 73 65 64 | 20 6f 6e 20 61 20 6d 6f |er based| on a mo|
|00000d40| 6e 74 68 6c 79 20 72 6f | 74 61 74 69 6f 6e 0a 58 |nthly ro|tation.X|
|00000d50| 73 63 68 65 64 75 6c 65 | 2e 0a 58 2e 73 70 0a 58 |schedule|..X.sp.X|
|00000d60| 49 6e 20 74 68 65 20 70 | 61 73 74 2c 20 73 68 65 |In the p|ast, she|
|00000d70| 6c 6c 20 73 63 72 69 70 | 74 73 20 72 75 6e 6e 69 |ll scrip|ts runni|
|00000d80| 6e 67 20 65 76 65 72 79 | 20 73 69 78 20 68 6f 75 |ng every| six hou|
|00000d90| 72 73 20 72 65 70 6f 72 | 74 65 64 20 76 61 72 69 |rs repor|ted vari|
|00000da0| 6f 75 73 0a 58 73 79 73 | 74 65 6d 20 73 74 61 74 |ous.Xsys|tem stat|
|00000db0| 69 73 74 69 63 73 20 74 | 6f 20 44 4f 43 2c 20 77 |istics t|o DOC, w|
|00000dc0| 68 6f 20 74 68 65 6e 20 | 73 63 61 6e 6e 65 64 20 |ho then |scanned |
|00000dd0| 74 68 65 20 6f 75 74 70 | 75 74 20 66 6f 72 20 73 |the outp|ut for s|
|00000de0| 69 67 6e 73 20 6f 66 0a | 58 70 6f 73 73 69 62 6c |igns of.|Xpossibl|
|00000df0| 65 20 74 72 6f 75 62 6c | 65 2e 20 20 54 68 65 20 |e troubl|e. The |
|00000e00| 6f 75 74 70 75 74 20 6f | 66 20 74 68 65 73 65 20 |output o|f these |
|00000e10| 73 68 65 6c 6c 20 73 63 | 72 69 70 74 73 20 62 65 |shell sc|ripts be|
|00000e20| 63 61 6d 65 0a 58 6f 76 | 65 72 77 68 65 6c 6d 69 |came.Xov|erwhelmi|
|00000e30| 6e 67 20 61 73 20 74 68 | 65 20 6e 75 6d 62 65 72 |ng as th|e number|
|00000e40| 20 6f 66 20 6d 61 63 68 | 69 6e 65 73 20 61 6e 64 | of mach|ines and|
|00000e50| 20 70 6f 74 65 6e 74 69 | 61 6c 20 70 72 6f 62 6c | potenti|al probl|
|00000e60| 65 6d 73 20 67 72 65 77 | 3b 0a 58 63 6f 72 72 65 |ems grew|;.Xcorre|
|00000e70| 73 70 6f 6e 64 69 6e 67 | 20 74 6f 20 74 68 69 73 |sponding| to this|
|00000e80| 20 69 6e 63 72 65 61 73 | 65 20 69 6e 20 6f 75 74 | increas|e in out|
|00000e90| 70 75 74 20 77 61 73 20 | 61 6e 20 69 6e 63 72 65 |put was |an incre|
|00000ea0| 61 73 65 20 69 6e 20 74 | 68 65 20 61 6d 6f 75 6e |ase in t|he amoun|
|00000eb0| 74 0a 58 6f 66 20 74 69 | 6d 65 20 74 68 61 74 20 |t.Xof ti|me that |
|00000ec0| 44 4f 43 20 68 61 64 20 | 74 6f 20 73 70 65 6e 64 |DOC had |to spend|
|00000ed0| 20 72 65 61 64 69 6e 67 | 20 74 68 69 73 20 6f 75 | reading| this ou|
|00000ee0| 74 70 75 74 2e 20 20 49 | 6e 20 61 64 64 69 74 69 |tput. I|n additi|
|00000ef0| 6f 6e 2c 20 6d 6f 73 74 | 0a 58 6f 66 20 74 68 69 |on, most|.Xof thi|
|00000f00| 73 20 6f 75 74 70 75 74 | 20 6d 65 72 65 6c 79 20 |s output| merely |
|00000f10| 69 6e 64 69 63 61 74 65 | 64 20 6e 6f 72 6d 61 6c |indicate|d normal|
|00000f20| 20 73 79 73 74 65 6d 20 | 6f 70 65 72 61 74 69 6f | system |operatio|
|00000f30| 6e 3b 20 70 6f 74 65 6e | 74 69 61 6c 0a 58 70 72 |n; poten|tial.Xpr|
|00000f40| 6f 62 6c 65 6d 73 20 77 | 65 72 65 20 62 75 72 69 |oblems w|ere buri|
|00000f50| 65 64 20 61 6d 6f 6e 67 | 73 74 20 6e 6f 6e 2d 70 |ed among|st non-p|
|00000f60| 72 6f 62 6c 65 6d 73 2e | 20 20 42 65 63 61 75 73 |roblems.| Becaus|
|00000f70| 65 20 6f 66 20 74 68 69 | 73 2c 20 44 4f 43 20 63 |e of thi|s, DOC c|
|00000f80| 6f 75 6c 64 0a 58 6f 66 | 74 65 6e 20 77 61 73 74 |ould.Xof|ten wast|
|00000f90| 65 20 61 20 74 72 65 6d | 65 6e 64 6f 75 73 20 61 |e a trem|endous a|
|00000fa0| 6d 6f 75 6e 74 20 6f 66 | 20 74 69 6d 65 20 77 61 |mount of| time wa|
|00000fb0| 64 69 6e 67 20 74 68 72 | 6f 75 67 68 20 73 79 73 |ding thr|ough sys|
|00000fc0| 74 65 6d 20 73 74 61 74 | 75 73 0a 58 72 65 70 6f |tem stat|us.Xrepo|
|00000fd0| 72 74 73 2c 20 74 69 6d | 65 20 77 68 69 63 68 20 |rts, tim|e which |
|00000fe0| 63 61 6e 20 62 65 20 62 | 65 74 74 65 72 20 73 70 |can be b|etter sp|
|00000ff0| 65 6e 74 20 61 63 74 75 | 61 6c 6c 79 20 66 69 78 |ent actu|ally fix|
|00001000| 69 6e 67 20 73 79 73 74 | 65 6d 0a 58 70 72 6f 62 |ing syst|em.Xprob|
|00001010| 6c 65 6d 73 2e 0a 58 2e | 73 70 0a 58 55 6e 69 78 |lems..X.|sp.XUnix|
|00001020| 20 69 73 20 65 71 75 69 | 70 70 65 64 20 77 69 74 | is equi|pped wit|
|00001030| 68 20 6d 61 6e 79 20 70 | 6f 77 65 72 66 75 6c 20 |h many p|owerful |
|00001040| 74 6f 6f 6c 73 20 66 6f | 72 20 70 72 6f 67 72 61 |tools fo|r progra|
|00001050| 6d 20 64 65 76 65 6c 6f | 70 6d 65 6e 74 2c 20 62 |m develo|pment, b|
|00001060| 75 74 0a 58 6e 6f 6e 65 | 20 77 68 69 63 68 20 73 |ut.Xnone| which s|
|00001070| 69 6d 70 6c 79 20 77 61 | 74 63 68 20 74 68 65 20 |imply wa|tch the |
|00001080| 73 79 73 74 65 6d 20 66 | 6f 72 20 73 69 67 6e 73 |system f|or signs|
|00001090| 20 6f 66 20 74 72 6f 75 | 62 6c 65 2e 20 20 50 72 | of trou|ble. Pr|
|000010a0| 6f 67 72 61 6d 73 20 6c | 69 6b 65 0a 58 5c 66 49 |ograms l|ike.X\fI|
|000010b0| 70 73 5c 66 52 20 61 6e | 64 20 5c 66 49 64 66 5c |ps\fR an|d \fIdf\|
|000010c0| 66 52 20 70 72 6f 76 69 | 64 65 20 69 6e 66 6f 72 |fR provi|de infor|
|000010d0| 6d 61 74 69 6f 6e 20 72 | 65 67 61 72 64 69 6e 67 |mation r|egarding|
|000010e0| 20 74 68 65 20 63 75 72 | 72 65 6e 74 20 73 74 61 | the cur|rent sta|
|000010f0| 74 65 0a 58 6f 66 20 74 | 68 65 20 6d 61 63 68 69 |te.Xof t|he machi|
|00001100| 6e 65 2c 20 79 65 74 20 | 69 74 20 73 74 69 6c 6c |ne, yet |it still|
|00001110| 20 72 65 6d 61 69 6e 73 | 20 44 4f 43 27 73 20 72 | remains| DOC's r|
|00001120| 65 73 70 6f 6e 73 69 62 | 69 6c 69 74 79 20 74 6f |esponsib|ility to|
|00001130| 20 69 6e 74 65 72 70 72 | 65 74 0a 58 74 68 69 73 | interpr|et.Xthis|
|00001140| 20 69 6e 66 6f 72 6d 61 | 74 69 6f 6e 20 61 6e 64 | informa|tion and|
|00001150| 20 61 73 73 65 73 73 20 | 74 68 65 20 68 65 61 6c | assess |the heal|
|00001160| 74 68 20 6f 66 20 74 68 | 65 20 73 79 73 74 65 6d |th of th|e system|
|00001170| 20 61 74 20 61 6e 79 20 | 67 69 76 65 6e 0a 58 74 | at any |given.Xt|
|00001180| 69 6d 65 2e 20 20 54 68 | 69 73 20 64 65 66 69 63 |ime. Th|is defic|
|00001190| 69 65 6e 63 79 20 63 61 | 6e 20 62 65 20 72 65 63 |iency ca|n be rec|
|000011a0| 74 69 66 69 65 64 20 62 | 79 20 70 72 6f 76 69 64 |tified b|y provid|
|000011b0| 69 6e 67 20 74 68 65 0a | 58 73 79 73 74 65 6d 20 |ing the.|Xsystem |
|000011c0| 77 69 74 68 20 74 68 65 | 20 63 61 70 61 63 69 74 |with the| capacit|
|000011d0| 79 20 74 6f 20 64 65 74 | 65 72 6d 69 6e 65 20 69 |y to det|ermine i|
|000011e0| 74 73 20 6f 77 6e 20 73 | 74 61 74 65 20 6f 66 20 |ts own s|tate of |
|000011f0| 68 65 61 6c 74 68 2c 20 | 61 64 76 69 73 69 6e 67 |health, |advising|
|00001200| 0a 58 44 4f 43 20 77 68 | 65 6e 20 69 74 20 6e 6f |.XDOC wh|en it no|
|00001210| 74 69 63 65 73 20 61 20 | 70 72 6f 62 6c 65 6d 20 |tices a |problem |
|00001220| 77 68 69 63 68 20 72 65 | 71 75 69 72 65 73 20 44 |which re|quires D|
|00001230| 4f 43 27 73 20 69 6e 74 | 65 72 76 65 6e 74 69 6f |OC's int|erventio|
|00001240| 6e 2e 0a 58 2e 53 45 20 | 32 2e 20 44 65 73 69 67 |n..X.SE |2. Desig|
|00001250| 6e 20 47 6f 61 6c 73 20 | 28 64 65 76 69 73 69 6e |n Goals |(devisin|
|00001260| 67 20 74 68 65 20 73 6f | 6c 75 74 69 6f 6e 29 0a |g the so|lution).|
|00001270| 58 49 6e 20 64 65 73 69 | 67 6e 69 6e 67 20 5c 66 |XIn desi|gning \f|
|00001280| 49 77 61 74 63 68 65 72 | 5c 66 52 2c 20 74 68 65 |Iwatcher|\fR, the|
|00001290| 20 61 75 74 68 6f 72 20 | 63 6c 6f 73 65 6c 79 20 | author |closely |
|000012a0| 65 78 61 6d 69 6e 65 64 | 20 6a 75 73 74 20 77 68 |examined| just wh|
|000012b0| 61 74 20 44 4f 43 0a 58 | 64 6f 65 73 20 69 6e 20 |at DOC.X|does in |
|000012c0| 6d 6f 6e 69 74 6f 72 69 | 6e 67 20 74 68 65 20 73 |monitori|ng the s|
|000012d0| 79 73 74 65 6d 3b 20 6a | 75 73 74 20 68 6f 77 20 |ystem; j|ust how |
|000012e0| 5c 66 49 64 6f 65 73 5c | 66 52 20 44 4f 43 20 73 |\fIdoes\|fR DOC s|
|000012f0| 70 6f 74 20 70 6f 74 65 | 6e 74 69 61 6c 0a 58 74 |pot pote|ntial.Xt|
|00001300| 72 6f 75 62 6c 65 20 69 | 6e 20 74 68 65 20 44 4f |rouble i|n the DO|
|00001310| 43 20 72 65 70 6f 72 74 | 73 3f 20 20 54 68 65 73 |C report|s? Thes|
|00001320| 65 20 72 65 70 6f 72 74 | 73 20 63 6f 6e 73 69 73 |e report|s consis|
|00001330| 74 20 6f 66 20 6f 75 74 | 70 75 74 20 66 72 6f 6d |t of out|put from|
|00001340| 20 5c 66 49 64 66 0a 58 | 2d 69 5c 66 52 2c 20 5c | \fIdf.X|-i\fR, \|
|00001350| 66 49 72 75 70 74 69 6d | 65 5c 66 52 2c 20 5c 66 |fIruptim|e\fR, \f|
|00001360| 49 70 73 20 2d 61 75 78 | 20 7c 20 73 6f 72 74 5c |Ips -aux| | sort\|
|00001370| 66 52 2c 20 61 6e 64 20 | 74 68 65 20 74 61 69 6c |fR, and |the tail|
|00001380| 20 6f 66 0a 58 5c 66 49 | 63 72 6f 6e 6c 6f 67 5c | of.X\fI|cronlog\|
|00001390| 66 52 2c 20 77 68 69 63 | 68 20 75 73 75 61 6c 6c |fR, whic|h usuall|
|000013a0| 79 20 6f 6e 6c 79 20 63 | 68 61 6e 67 65 73 20 69 |y only c|hanges i|
|000013b0| 6e 20 74 68 65 20 6d 69 | 64 64 6c 65 20 6f 66 20 |n the mi|ddle of |
|000013c0| 74 68 65 20 6e 69 67 68 | 74 2e 0a 58 49 74 20 77 |the nigh|t..XIt w|
|000013d0| 61 73 20 64 65 74 65 72 | 6d 69 6e 65 64 20 74 68 |as deter|mined th|
|000013e0| 61 74 20 44 4f 43 27 73 | 20 74 61 73 6b 20 63 6f |at DOC's| task co|
|000013f0| 6e 73 69 73 74 65 64 20 | 70 72 69 6d 61 72 69 6c |nsisted |primaril|
|00001400| 79 20 6f 66 20 73 63 61 | 6e 6e 69 6e 67 0a 58 76 |y of sca|nning.Xv|
|00001410| 61 72 69 6f 75 73 20 6e | 75 6d 62 65 72 73 20 69 |arious n|umbers i|
|00001420| 6e 20 74 68 69 73 20 6f | 75 74 70 75 74 2c 20 64 |n this o|utput, d|
|00001430| 65 63 69 64 69 6e 67 20 | 77 68 65 74 68 65 72 20 |eciding |whether |
|00001440| 6f 72 20 6e 6f 74 20 74 | 68 65 79 20 68 61 64 0a |or not t|hey had.|
|00001450| 58 65 78 63 65 65 64 65 | 64 20 61 6e 20 61 6c 6c |Xexceede|d an all|
|00001460| 6f 77 61 62 6c 65 20 6d | 61 78 69 6d 75 6d 20 6f |owable m|aximum o|
|00001470| 72 20 6d 69 6e 69 6d 75 | 6d 2c 20 6f 72 20 69 66 |r minimu|m, or if|
|00001480| 20 74 68 65 20 76 61 6c | 75 65 73 20 68 61 64 20 | the val|ues had |
|00001490| 63 68 61 6e 67 65 64 0a | 58 74 6f 6f 20 6d 75 63 |changed.|Xtoo muc|
|000014a0| 68 20 66 72 6f 6d 20 74 | 68 65 20 6c 61 73 74 20 |h from t|he last |
|000014b0| 74 69 6d 65 20 74 68 65 | 20 63 6f 6d 6d 61 6e 64 |time the| command|
|000014c0| 20 77 61 73 20 72 75 6e | 2c 20 61 73 73 75 6d 69 | was run|, assumi|
|000014d0| 6e 67 20 74 68 65 20 6c | 61 73 74 0a 58 76 61 6c |ng the l|ast.Xval|
|000014e0| 75 65 20 69 73 20 65 76 | 65 6e 20 72 65 6d 65 6d |ue is ev|en remem|
|000014f0| 62 65 72 65 64 2e 20 20 | 47 65 74 74 69 6e 67 20 |bered. |Getting |
|00001500| 61 20 63 6f 6d 70 75 74 | 65 72 20 74 6f 20 64 6f |a comput|er to do|
|00001510| 20 74 68 69 73 20 69 73 | 20 6d 6f 72 65 0a 58 63 | this is| more.Xc|
|00001520| 6f 6d 70 6c 69 63 61 74 | 65 64 20 74 68 61 6e 20 |omplicat|ed than |
|00001530| 6d 69 67 68 74 20 73 65 | 65 6d 20 61 74 20 66 69 |might se|em at fi|
|00001540| 72 73 74 20 67 6c 61 6e | 63 65 2c 20 64 75 65 20 |rst glan|ce, due |
|00001550| 74 6f 20 69 6e 63 6f 6e | 73 69 73 74 65 6e 63 69 |to incon|sistenci|
|00001560| 65 73 20 69 6e 0a 58 74 | 68 65 20 6c 6f 63 61 74 |es in.Xt|he locat|
|00001570| 69 6f 6e 20 6f 66 20 70 | 65 72 74 69 6e 65 6e 74 |ion of p|ertinent|
|00001580| 20 69 6e 66 6f 72 6d 61 | 74 69 6f 6e 20 62 65 74 | informa|tion bet|
|00001590| 77 65 65 6e 20 72 75 6e | 73 20 6f 66 20 74 68 65 |ween run|s of the|
|000015a0| 73 65 20 63 6f 6d 6d 61 | 6e 64 73 2e 0a 58 46 6f |se comma|nds..XFo|
|000015b0| 72 20 69 6e 73 74 61 6e | 63 65 2c 20 74 68 65 20 |r instan|ce, the |
|000015c0| 70 72 6f 63 65 73 73 20 | 6f 63 63 75 70 79 69 6e |process |occupyin|
|000015d0| 67 20 74 68 65 20 66 69 | 66 74 68 20 6c 69 6e 65 |g the fi|fth line|
|000015e0| 20 6f 66 20 5c 66 49 70 | 73 20 2d 61 78 5c 66 52 | of \fIp|s -ax\fR|
|000015f0| 0a 58 6d 69 67 68 74 20 | 6e 65 78 74 20 74 69 6d |.Xmight |next tim|
|00001600| 65 20 61 70 70 65 61 72 | 20 6f 6e 20 74 68 65 20 |e appear| on the |
|00001610| 65 69 67 68 74 68 20 6c | 69 6e 65 3b 20 73 69 6d |eighth l|ine; sim|
|00001620| 69 6c 61 72 6c 79 2c 20 | 5c 66 49 75 70 74 69 6d |ilarly, |\fIuptim|
|00001630| 65 5c 66 52 20 64 6f 65 | 73 0a 58 6e 6f 74 20 63 |e\fR doe|s.Xnot c|
|00001640| 6f 6e 73 69 73 74 65 6e | 74 6c 79 20 70 75 74 20 |onsisten|tly put |
|00001650| 67 65 72 6d 61 6e 65 20 | 69 6e 66 6f 72 6d 61 74 |germane |informat|
|00001660| 69 6f 6e 20 69 6e 20 74 | 68 65 20 73 61 6d 65 20 |ion in t|he same |
|00001670| 70 6c 61 63 65 20 6f 6e | 20 74 68 65 20 6c 69 6e |place on| the lin|
|00001680| 65 2e 0a 58 2e 73 70 0a | 58 57 68 69 6c 65 20 66 |e..X.sp.|XWhile f|
|00001690| 6c 65 78 69 62 69 6c 69 | 74 79 20 69 73 20 63 65 |lexibili|ty is ce|
|000016a0| 72 74 61 69 6e 6c 79 20 | 61 20 70 72 69 6d 61 72 |rtainly |a primar|
|000016b0| 79 20 64 65 73 69 67 6e | 20 63 6f 6e 73 69 64 65 |y design| conside|
|000016c0| 72 61 74 69 6f 6e 2c 20 | 69 74 20 69 73 0a 58 6e |ration, |it is.Xn|
|000016d0| 6f 74 20 74 68 65 20 77 | 68 6f 6c 65 20 73 74 6f |ot the w|hole sto|
|000016e0| 72 79 2e 20 20 49 6e 20 | 6f 72 64 65 72 20 74 6f |ry. In |order to|
|000016f0| 20 69 6d 70 72 6f 76 65 | 20 44 4f 43 27 73 20 65 | improve| DOC's e|
|00001700| 66 66 65 63 74 69 76 65 | 6e 65 73 73 2c 20 74 68 |ffective|ness, th|
|00001710| 65 0a 58 70 72 6f 67 72 | 61 6d 20 73 68 6f 75 6c |e.Xprogr|am shoul|
|00001720| 64 20 72 75 6e 20 66 72 | 65 71 75 65 6e 74 6c 79 |d run fr|equently|
|00001730| 2c 20 72 6f 75 67 68 6c | 79 20 65 76 65 72 79 20 |, roughl|y every |
|00001740| 74 77 6f 20 6f 72 20 74 | 68 72 65 65 20 68 6f 75 |two or t|hree hou|
|00001750| 72 73 2c 0a 58 63 61 74 | 63 68 69 6e 67 20 70 72 |rs,.Xcat|ching pr|
|00001760| 6f 62 6c 65 6d 73 20 65 | 61 72 6c 79 20 28 68 6f |oblems e|arly (ho|
|00001770| 70 65 66 75 6c 6c 79 20 | 62 65 66 6f 72 65 20 74 |pefully |before t|
|00001780| 68 65 79 20 68 61 76 65 | 20 61 66 66 65 63 74 65 |hey have| affecte|
|00001790| 64 0a 58 74 68 65 20 75 | 73 65 72 73 29 2e 20 20 |d.Xthe u|sers). |
|000017a0| 54 68 75 73 2c 20 74 68 | 65 20 70 72 6f 67 72 61 |Thus, th|e progra|
|000017b0| 6d 20 73 68 6f 75 6c 64 | 20 61 6c 73 6f 20 62 65 |m should| also be|
|000017c0| 20 61 73 20 73 69 6c 65 | 6e 74 20 61 73 20 70 6f | as sile|nt as po|
|000017d0| 73 73 69 62 6c 65 0a 58 | 65 78 63 65 70 74 20 77 |ssible.X|except w|
|000017e0| 68 65 6e 20 69 74 20 64 | 65 74 65 63 74 73 20 61 |hen it d|etects a|
|000017f0| 20 70 6f 74 65 6e 74 69 | 61 6c 20 70 72 6f 62 6c | potenti|al probl|
|00001800| 65 6d 3b 20 61 6e 79 20 | 61 64 76 61 6e 74 61 67 |em; any |advantag|
|00001810| 65 20 44 4f 43 20 67 61 | 69 6e 73 20 69 6e 0a 58 |e DOC ga|ins in.X|
|00001820| 75 73 69 6e 67 20 5c 66 | 49 77 61 74 63 68 65 72 |using \f|Iwatcher|
|00001830| 5c 66 52 20 77 6f 75 6c | 64 20 62 65 20 65 6c 69 |\fR woul|d be eli|
|00001840| 6d 69 6e 61 74 65 64 20 | 69 66 20 74 68 65 20 70 |minated |if the p|
|00001850| 72 6f 67 72 61 6d 20 64 | 65 6c 69 76 65 72 65 64 |rogram d|elivered|
|00001860| 20 61 6e 0a 58 65 78 63 | 65 65 64 69 6e 67 6c 79 | an.Xexc|eedingly|
|00001870| 20 76 65 72 62 6f 73 65 | 20 73 74 61 74 75 73 20 | verbose| status |
|00001880| 72 65 70 6f 72 74 20 65 | 76 65 72 79 20 74 77 6f |report e|very two|
|00001890| 20 68 6f 75 72 73 2e 20 | 20 5c 66 49 77 61 74 63 | hours. | \fIwatc|
|000018a0| 68 65 72 5c 66 52 27 73 | 0a 58 70 72 6f 62 6c 65 |her\fR's|.Xproble|
|000018b0| 6d 20 72 65 70 6f 72 74 | 73 20 73 68 6f 75 6c 64 |m report|s should|
|000018c0| 20 62 65 20 65 78 61 63 | 74 20 61 6e 64 20 63 6f | be exac|t and co|
|000018d0| 6e 63 69 73 65 2c 20 6c | 65 61 64 69 6e 67 20 44 |ncise, l|eading D|
|000018e0| 4f 43 20 69 6d 6d 65 64 | 69 61 74 65 6c 79 20 74 |OC immed|iately t|
|000018f0| 6f 0a 58 74 68 65 20 74 | 72 6f 75 62 6c 65 2e 0a |o.Xthe t|rouble..|
|00001900| 58 2e 73 70 0a 58 54 68 | 65 20 70 72 6f 62 6c 65 |X.sp.XTh|e proble|
|00001910| 6d 20 6f 66 20 72 65 64 | 75 63 69 6e 67 20 74 68 |m of red|ucing th|
|00001920| 65 20 61 6d 6f 75 6e 74 | 20 6f 66 20 6f 75 74 70 |e amount| of outp|
|00001930| 75 74 20 44 4f 43 20 6d | 75 73 74 20 70 72 6f 63 |ut DOC m|ust proc|
|00001940| 65 73 73 20 63 61 6e 20 | 62 65 0a 58 61 70 70 72 |ess can |be.Xappr|
|00001950| 6f 61 63 68 65 64 20 69 | 6e 20 64 69 66 66 65 72 |oached i|n differ|
|00001960| 65 6e 74 20 77 61 79 73 | 2c 20 69 6e 63 6c 75 64 |ent ways|, includ|
|00001970| 69 6e 67 20 74 68 65 20 | 72 65 64 65 73 69 67 6e |ing the |redesign|
|00001980| 20 6f 66 20 74 68 65 20 | 63 75 72 72 65 6e 74 0a | of the |current.|
|00001990| 58 73 68 65 6c 6c 20 73 | 63 72 69 70 74 73 2e 20 |Xshell s|cripts. |
|000019a0| 20 41 20 73 69 6d 70 6c | 65 20 5c 66 49 61 77 6b | A simpl|e \fIawk|
|000019b0| 5c 66 52 20 73 63 72 69 | 70 74 20 63 61 6e 20 77 |\fR scri|pt can w|
|000019c0| 61 74 63 68 20 74 68 65 | 20 6f 75 74 70 75 74 20 |atch the| output |
|000019d0| 66 72 6f 6d 0a 58 5c 66 | 49 64 66 5c 66 52 20 5b |from.X\f|Idf\fR [|
|000019e0| 31 5d 2e 20 20 48 6f 77 | 65 76 65 72 2c 20 65 61 |1]. How|ever, ea|
|000019f0| 63 68 20 63 6f 6d 6d 61 | 6e 64 20 77 6f 75 6c 64 |ch comma|nd would|
|00001a00| 20 72 65 71 75 69 72 65 | 20 61 20 63 75 73 74 6f | require| a custo|
|00001a10| 6d 20 74 61 69 6c 6f 72 | 65 64 0a 58 5c 66 49 61 |m tailor|ed.X\fIa|
|00001a20| 77 6b 5c 66 52 20 73 63 | 72 69 70 74 20 74 6f 20 |wk\fR sc|ript to |
|00001a30| 6c 6f 6f 6b 20 61 74 20 | 69 74 2e 20 20 54 68 69 |look at |it. Thi|
|00001a40| 73 20 74 61 73 6b 20 67 | 72 6f 77 73 20 6d 6f 72 |s task g|rows mor|
|00001a50| 65 20 63 6f 6d 70 6c 69 | 63 61 74 65 64 20 61 73 |e compli|cated as|
|00001a60| 20 74 68 65 0a 58 6e 75 | 6d 62 65 72 20 6f 66 20 | the.Xnu|mber of |
|00001a70| 70 72 6f 67 72 61 6d 73 | 20 72 75 6e 6e 69 6e 67 |programs| running|
|00001a80| 20 69 6e 63 72 65 61 73 | 65 73 2e 0a 58 57 68 69 | increas|es..XWhi|
|00001a90| 6c 65 20 61 20 70 72 6f | 67 72 61 6d 20 63 6f 75 |le a pro|gram cou|
|00001aa0| 6c 64 20 62 65 20 77 72 | 69 74 74 65 6e 20 74 6f |ld be wr|itten to|
|00001ab0| 0a 58 67 65 6e 65 72 61 | 74 65 20 74 68 65 73 65 |.Xgenera|te these|
|00001ac0| 20 5c 66 49 61 77 6b 5c | 66 52 20 73 63 72 69 70 | \fIawk\|fR scrip|
|00001ad0| 74 73 2c 20 74 68 69 73 | 20 70 72 6f 63 65 73 73 |ts, this| process|
|00001ae0| 20 69 73 20 6e 65 65 64 | 6c 65 73 73 6c 79 20 63 | is need|lessly c|
|00001af0| 6f 6d 70 6c 65 78 3b 0a | 58 66 6f 72 20 6f 6e 6c |omplex;.|Xfor onl|
|00001b00| 79 20 61 20 62 69 74 20 | 6d 6f 72 65 20 77 6f 72 |y a bit |more wor|
|00001b10| 6b 2c 20 61 6e 20 65 66 | 66 69 63 69 65 6e 74 20 |k, an ef|ficient |
|00001b20| 43 20 70 72 6f 67 72 61 | 6d 20 73 75 63 68 20 61 |C progra|m such a|
|00001b30| 73 0a 58 5c 66 49 77 61 | 74 63 68 65 72 5c 66 52 |s.X\fIwa|tcher\fR|
|00001b40| 20 63 61 6e 20 62 65 20 | 64 65 76 65 6c 6f 70 65 | can be |develope|
|00001b50| 64 2e 20 20 0a 58 2e 53 | 45 20 33 2e 20 44 65 73 |d. .X.S|E 3. Des|
|00001b60| 69 67 6e 20 28 61 63 74 | 75 61 6c 20 69 6d 70 6c |ign (act|ual impl|
|00001b70| 65 6d 65 6e 74 61 74 69 | 6f 6e 20 6f 66 20 74 68 |ementati|on of th|
|00001b80| 65 20 73 6f 6c 75 74 69 | 6f 6e 29 0a 58 52 75 6e |e soluti|on).XRun|
|00001b90| 20 61 74 20 69 6e 74 65 | 72 76 61 6c 73 20 73 70 | at inte|rvals sp|
|00001ba0| 65 63 69 66 69 65 64 20 | 69 6e 20 5c 66 49 63 72 |ecified |in \fIcr|
|00001bb0| 6f 6e 74 61 62 5c 66 52 | 2c 20 5c 66 49 77 61 74 |ontab\fR|, \fIwat|
|00001bc0| 63 68 65 72 5c 66 52 20 | 70 61 72 73 65 73 20 61 |cher\fR |parses a|
|00001bd0| 0a 58 63 6f 6e 74 72 6f | 6c 20 66 69 6c 65 20 28 |.Xcontro|l file (|
|00001be0| 2e 2f 5c 66 49 77 61 74 | 63 68 65 72 66 69 6c 65 |./\fIwat|cherfile|
|00001bf0| 5c 66 52 20 62 79 20 64 | 65 66 61 75 6c 74 29 0a |\fR by d|efault).|
|00001c00| 58 77 69 74 68 20 61 20 | 5c 66 49 79 61 63 63 5c |Xwith a |\fIyacc\|
|00001c10| 66 52 20 67 65 6e 65 72 | 61 74 65 64 20 70 61 72 |fR gener|ated par|
|00001c20| 73 65 72 2c 20 62 75 69 | 6c 64 69 6e 67 20 61 20 |ser, bui|lding a |
|00001c30| 64 61 74 61 20 73 74 72 | 75 63 74 75 72 65 0a 58 |data str|ucture.X|
|00001c40| 63 6f 6e 74 61 69 6e 69 | 6e 67 20 61 6c 6c 20 6f |containi|ng all o|
|00001c50| 66 20 74 68 65 20 69 6e | 66 6f 72 6d 61 74 69 6f |f the in|formatio|
|00001c60| 6e 20 66 72 6f 6d 20 74 | 68 65 20 66 69 6c 65 2e |n from t|he file.|
|00001c70| 20 20 54 68 65 20 66 69 | 6c 65 20 63 6f 6e 74 61 | The fi|le conta|
|00001c80| 69 6e 73 20 74 68 65 0a | 58 6c 69 73 74 20 6f 66 |ins the.|Xlist of|
|00001c90| 20 63 6f 6d 6d 61 6e 64 | 73 20 5c 66 49 77 61 74 | command|s \fIwat|
|00001ca0| 63 68 65 72 5c 66 52 0a | 58 73 68 6f 75 6c 64 20 |cher\fR.|Xshould |
|00001cb0| 72 75 6e 20 28 74 68 65 | 20 70 69 70 65 6c 69 6e |run (the| pipelin|
|00001cc0| 65 29 2c 20 6f 75 74 70 | 75 74 20 73 70 65 63 69 |e), outp|ut speci|
|00001cd0| 66 69 63 61 74 69 6f 6e | 73 0a 58 66 6f 72 20 65 |fication|s.Xfor e|
|00001ce0| 61 63 68 20 63 6f 6d 6d | 61 6e 64 20 28 74 68 65 |ach comm|and (the|
|00001cf0| 20 6f 75 74 70 75 74 20 | 66 6f 72 6d 61 74 29 2c | output |format),|
|00001d00| 20 61 6e 64 20 74 68 65 | 20 67 75 69 64 65 6c 69 | and the| guideli|
|00001d10| 6e 65 73 20 75 73 65 64 | 20 69 6e 0a 58 64 65 74 |nes used| in.Xdet|
|00001d20| 65 72 6d 69 6e 69 6e 67 | 20 69 66 20 73 6f 6d 65 |ermining| if some|
|00001d30| 74 68 69 6e 67 20 69 73 | 20 61 6d 69 73 73 20 61 |thing is| amiss a|
|00001d40| 6e 64 20 73 68 6f 75 6c | 64 20 62 65 20 72 65 70 |nd shoul|d be rep|
|00001d50| 6f 72 74 65 64 20 74 6f | 20 44 4f 43 20 28 74 68 |orted to| DOC (th|
|00001d60| 65 0a 58 63 68 61 6e 67 | 65 20 66 6f 72 6d 61 74 |e.Xchang|e format|
|00001d70| 29 2e 20 20 41 20 73 61 | 6d 70 6c 65 20 5c 66 49 |). A sa|mple \fI|
|00001d80| 77 61 74 63 68 65 72 5c | 66 52 20 63 6f 6e 74 72 |watcher\|fR contr|
|00001d90| 6f 6c 20 66 69 6c 65 20 | 77 6f 75 6c 64 20 6c 6f |ol file |would lo|
|00001da0| 6f 6b 0a 58 73 6f 6d 65 | 74 68 69 6e 67 20 6c 69 |ok.Xsome|thing li|
|00001db0| 6b 65 20 74 68 69 73 20 | 28 63 6f 6d 6d 65 6e 74 |ke this |(comment|
|00001dc0| 20 6c 69 6e 65 73 20 62 | 65 67 69 6e 20 77 69 74 | lines b|egin wit|
|00001dd0| 68 20 61 20 27 23 27 29 | 3a 0a 58 2e 45 58 0a 58 |h a '#')|:.X.EX.X|
|00001de0| 23 20 48 65 72 65 20 69 | 73 20 74 68 65 20 70 69 |# Here i|s the pi|
|00001df0| 70 65 6c 69 6e 65 20 61 | 6e 64 20 69 74 73 20 61 |peline a|nd its a|
|00001e00| 6c 69 61 73 3a 0a 58 28 | 64 66 20 2d 69 20 7c 20 |lias:.X(|df -i | |
|00001e10| 2f 75 73 72 2f 75 63 62 | 2f 74 61 69 6c 20 2b 32 |/usr/ucb|/tail +2|
|00001e20| 29 20 7b 20 64 66 20 7d | 0a 58 23 20 74 68 65 20 |) { df }|.X# the |
|00001e30| 6f 75 74 70 75 74 20 66 | 6f 72 6d 61 74 3b 20 74 |output f|ormat; t|
|00001e40| 68 69 73 20 69 73 20 61 | 20 63 6f 6c 75 6d 6e 20 |his is a| column |
|00001e50| 6f 75 74 70 75 74 20 66 | 6f 72 6d 61 74 3a 0a 58 |output f|ormat:.X|
|00001e60| 09 24 31 2d 39 20 64 65 | 76 69 63 65 25 6b 20 24 |.$1-9 de|vice%k $|
|00001e70| 34 31 2d 34 32 20 73 70 | 61 63 65 75 73 65 64 25 |41-42 sp|aceused%|
|00001e80| 64 20 24 36 34 2d 36 35 | 20 69 6e 6f 64 65 73 75 |d $64-65| inodesu|
|00001e90| 73 65 64 25 64 3a 0a 58 | 23 20 61 6e 64 20 74 68 |sed%d:.X|# and th|
|00001ea0| 65 20 63 68 61 6e 67 65 | 20 66 6f 72 6d 61 74 3a |e change| format:|
|00001eb0| 0a 58 09 09 73 70 61 63 | 65 75 73 65 64 20 31 35 |.X..spac|eused 15|
|00001ec0| 25 3b 0a 58 09 09 73 70 | 61 63 65 75 73 65 64 20 |%;.X..sp|aceused |
|00001ed0| 30 20 38 39 3b 0a 58 09 | 09 69 6e 6f 64 65 73 75 |0 89;.X.|.inodesu|
|00001ee0| 73 65 64 20 31 35 25 3b | 0a 58 09 09 69 6e 6f 64 |sed 15%;|.X..inod|
|00001ef0| 65 73 75 73 65 64 20 30 | 20 34 39 2e 0a 58 0a 58 |esused 0| 49..X.X|
|00001f00| 23 20 61 6e 6f 74 68 65 | 72 20 63 6f 6d 6d 61 6e |# anothe|r comman|
|00001f10| 64 20 65 78 61 6d 70 6c | 65 3a 0a 58 28 2f 75 73 |d exampl|e:.X(/us|
|00001f20| 72 2f 75 63 62 2f 72 75 | 70 74 69 6d 65 20 7c 20 |r/ucb/ru|ptime | |
|00001f30| 66 67 72 65 70 20 2d 66 | 20 55 6e 6d 48 6f 73 74 |fgrep -f| UnmHost|
|00001f40| 73 29 20 7b 20 72 75 70 | 74 69 6d 65 20 7d 0a 58 |s) { rup|time }.X|
|00001f50| 23 20 74 68 69 73 20 69 | 73 20 61 20 72 65 6c 61 |# this i|s a rela|
|00001f60| 74 69 76 65 20 6f 75 74 | 70 75 74 20 66 6f 72 6d |tive out|put form|
|00001f70| 61 74 0a 58 09 32 20 73 | 74 61 74 75 73 25 73 20 |at.X.2 s|tatus%s |
|00001f80| 31 20 6d 61 63 68 69 6e | 65 25 6b 20 37 20 6c 6f |1 machin|e%k 7 lo|
|00001f90| 61 64 61 76 25 64 3a 0a | 58 23 20 61 6e 64 20 61 |adav%d:.|X# and a|
|00001fa0| 6e 6f 74 68 65 72 20 63 | 68 61 6e 67 65 20 66 6f |nother c|hange fo|
|00001fb0| 72 6d 61 74 3a 0a 58 09 | 09 6c 6f 61 64 61 76 20 |rmat:.X.|.loadav |
|00001fc0| 30 20 31 30 3b 0a 58 09 | 09 73 74 61 74 75 73 20 |0 10;.X.|.status |
|00001fd0| 22 75 70 22 2e 0a 58 2e | 4e 58 0a 58 54 68 65 20 |"up"..X.|NX.XThe |
|00001fe0| 66 69 72 73 74 20 65 6e | 74 72 79 20 63 61 75 73 |first en|try caus|
|00001ff0| 65 73 20 5c 66 49 77 61 | 74 63 68 65 72 5c 66 52 |es \fIwa|tcher\fR|
|00002000| 20 74 6f 20 72 75 6e 20 | 74 68 65 20 5c 66 49 64 | to run |the \fId|
|00002010| 66 5c 66 52 20 70 69 70 | 65 6c 69 6e 65 0a 58 6c |f\fR pip|eline.Xl|
|00002020| 69 73 74 65 64 20 69 6e | 20 70 61 72 65 6e 74 68 |isted in| parenth|
|00002030| 65 73 65 73 2e 20 20 57 | 68 65 6e 20 72 65 70 6f |eses. W|hen repo|
|00002040| 72 74 69 6e 67 20 70 72 | 6f 62 6c 65 6d 73 2c 20 |rting pr|oblems, |
|00002050| 5c 66 49 77 61 74 63 68 | 65 72 5c 66 52 20 72 65 |\fIwatch|er\fR re|
|00002060| 66 65 72 73 0a 58 74 6f | 20 74 68 69 73 20 63 6f |fers.Xto| this co|
|00002070| 6d 6d 61 6e 64 20 62 79 | 20 74 68 65 20 61 6c 69 |mmand by| the ali|
|00002080| 61 73 20 70 72 6f 76 69 | 64 65 64 20 69 6e 20 74 |as provi|ded in t|
|00002090| 68 65 20 62 72 61 63 65 | 73 3b 20 69 66 20 6e 6f |he brace|s; if no|
|000020a0| 20 61 6c 69 61 73 0a 58 | 61 70 70 65 61 72 73 2c | alias.X|appears,|
|000020b0| 20 5c 66 49 77 61 74 63 | 68 65 72 5c 66 52 20 75 | \fIwatc|her\fR u|
|000020c0| 73 65 73 20 74 68 65 20 | 65 6e 74 69 72 65 20 70 |ses the |entire p|
|000020d0| 69 70 65 6c 69 6e 65 2e | 20 20 0a 58 2e 73 70 0a |ipeline.| .X.sp.|
|000020e0| 58 54 68 65 20 6f 75 74 | 70 75 74 20 66 6f 72 6d |XThe out|put form|
|000020f0| 61 74 0a 58 69 6e 73 74 | 72 75 63 74 73 20 5c 66 |at.Xinst|ructs \f|
|00002100| 49 77 61 74 63 68 65 72 | 5c 66 52 20 68 6f 77 20 |Iwatcher|\fR how |
|00002110| 74 6f 20 70 61 72 73 65 | 20 74 68 65 20 6f 75 74 |to parse| the out|
|00002120| 70 75 74 3b 0a 58 63 6f | 6c 75 6d 6e 20 66 6f 72 |put;.Xco|lumn for|
|00002130| 6d 61 74 2c 20 69 6e 64 | 69 63 61 74 65 64 20 69 |mat, ind|icated i|
|00002140| 6e 20 74 68 65 20 6f 75 | 74 70 75 74 20 66 6f 72 |n the ou|tput for|
|00002150| 6d 61 74 20 62 79 20 5c | 66 42 6e 75 6d 2d 6e 75 |mat by \|fBnum-nu|
|00002160| 6d 5c 66 52 2c 0a 58 69 | 6e 73 74 72 75 63 74 73 |m\fR,.Xi|nstructs|
|00002170| 20 5c 66 49 77 61 74 63 | 68 65 72 5c 66 52 20 74 | \fIwatc|her\fR t|
|00002180| 68 61 74 20 74 68 65 20 | 6f 75 74 70 75 74 20 73 |hat the |output s|
|00002190| 68 6f 75 6c 64 20 62 65 | 20 70 61 72 73 65 64 0a |hould be| parsed.|
|000021a0| 58 62 79 20 63 6f 6c 75 | 6d 6e 73 2c 20 77 68 69 |Xby colu|mns, whi|
|000021b0| 6c 65 20 72 65 6c 61 74 | 69 76 65 20 66 6f 72 6d |le relat|ive form|
|000021c0| 61 74 2c 20 64 65 6e 6f | 74 65 64 20 62 79 20 61 |at, deno|ted by a|
|000021d0| 20 73 69 6e 67 6c 65 20 | 69 6e 74 65 67 65 72 2c | single |integer,|
|000021e0| 20 73 68 6f 77 73 0a 58 | 74 68 61 74 20 74 68 65 | shows.X|that the|
|000021f0| 20 6f 75 74 70 75 74 20 | 73 68 6f 75 6c 64 20 62 | output |should b|
|00002200| 65 20 62 72 6f 6b 65 6e | 20 75 70 20 62 79 20 77 |e broken| up by w|
|00002210| 68 69 74 65 73 70 61 63 | 65 73 2e 0a 58 54 68 72 |hitespac|es..XThr|
|00002220| 6f 75 67 68 20 74 68 65 | 20 63 6f 6e 76 65 6e 74 |ough the| convent|
|00002230| 69 6f 6e 20 5c 66 42 6e | 61 6d 65 25 74 79 70 65 |ion \fBn|ame%type|
|00002240| 5c 66 52 2c 20 74 68 65 | 20 6f 75 74 70 75 74 20 |\fR, the| output |
|00002250| 66 6f 72 6d 61 74 20 61 | 6c 73 6f 20 6e 61 6d 65 |format a|lso name|
|00002260| 73 20 65 61 63 68 0a 58 | 66 69 65 6c 64 2c 20 69 |s each.X|field, i|
|00002270| 6e 64 69 63 61 74 69 6e | 67 20 77 68 65 74 68 65 |ndicatin|g whethe|
|00002280| 72 20 74 68 65 20 66 69 | 65 6c 64 20 69 73 20 6e |r the fi|eld is n|
|00002290| 75 6d 65 72 69 63 2c 20 | 73 74 72 69 6e 67 2c 20 |umeric, |string, |
|000022a0| 6f 72 0a 58 6b 65 79 77 | 6f 72 64 2c 20 73 70 65 |or.Xkeyw|ord, spe|
|000022b0| 63 69 66 69 65 64 20 62 | 79 20 5c 66 42 64 5c 66 |cified b|y \fBd\f|
|000022c0| 52 2c 20 5c 66 42 73 5c | 66 52 2c 20 6f 72 20 5c |R, \fBs\|fR, or \|
|000022d0| 66 42 6b 5c 66 52 20 72 | 65 73 70 65 63 74 69 76 |fBk\fR r|espectiv|
|000022e0| 65 6c 79 2e 0a 58 4b 65 | 79 77 6f 72 64 20 66 69 |ely..XKe|yword fi|
|000022f0| 65 6c 64 73 20 61 72 65 | 0a 58 75 73 65 64 20 74 |elds are|.Xused t|
|00002300| 6f 20 6d 61 74 63 68 20 | 75 70 20 63 6f 72 72 65 |o match |up corre|
|00002310| 73 70 6f 6e 64 69 6e 67 | 20 6f 75 74 70 75 74 20 |sponding| output |
|00002320| 6c 69 6e 65 73 20 62 65 | 74 77 65 65 6e 20 72 75 |lines be|tween ru|
|00002330| 6e 73 2e 20 20 54 68 75 | 73 0a 58 2e 45 58 0a 58 |ns. Thu|s.X.EX.X|
|00002340| 09 34 31 2d 34 32 20 73 | 70 61 63 65 75 73 65 64 |.41-42 s|paceused|
|00002350| 25 64 0a 58 2e 4e 58 0a | 58 69 6e 64 69 63 61 74 |%d.X.NX.|Xindicat|
|00002360| 65 73 20 74 68 61 74 20 | 74 68 69 73 20 66 69 65 |es that |this fie|
|00002370| 6c 64 2c 20 6e 61 6d 65 | 64 20 5c 66 42 73 70 61 |ld, name|d \fBspa|
|00002380| 63 65 75 73 65 64 5c 66 | 52 2c 20 63 6f 6e 74 61 |ceused\f|R, conta|
|00002390| 69 6e 73 20 6e 75 6d 65 | 72 69 63 20 0a 58 69 6e |ins nume|ric .Xin|
|000023a0| 66 6f 72 6d 61 74 69 6f | 6e 20 69 6e 20 63 6f 6c |formatio|n in col|
|000023b0| 75 6d 6e 73 20 34 31 2d | 34 32 2c 20 77 68 69 6c |umns 41-|42, whil|
|000023c0| 65 0a 58 2e 45 58 0a 58 | 09 32 20 73 74 61 74 75 |e.X.EX.X|.2 statu|
|000023d0| 73 25 73 0a 58 2e 4e 58 | 0a 58 69 6e 66 6f 72 6d |s%s.X.NX|.Xinform|
|000023e0| 73 20 5c 66 49 77 61 74 | 63 68 65 72 5c 66 52 20 |s \fIwat|cher\fR |
|000023f0| 74 68 61 74 20 74 68 65 | 20 73 65 63 6f 6e 64 20 |that the| second |
|00002400| 77 6f 72 64 20 28 67 72 | 6f 75 70 20 6f 66 20 6e |word (gr|oup of n|
|00002410| 6f 6e 2d 77 68 69 74 65 | 73 70 61 63 65 0a 58 63 |on-white|space.Xc|
|00002420| 68 61 72 61 63 74 65 72 | 73 29 20 6f 6e 20 74 68 |haracter|s) on th|
|00002430| 65 20 6c 69 6e 65 20 69 | 73 20 61 20 73 74 72 69 |e line i|s a stri|
|00002440| 6e 67 20 66 69 65 6c 64 | 20 6e 61 6d 65 64 20 5c |ng field| named \|
|00002450| 66 42 73 74 61 74 75 73 | 5c 66 52 2e 0a 58 46 6f |fBstatus|\fR..XFo|
|00002460| 72 20 74 68 65 20 5c 66 | 49 64 66 5c 66 52 20 65 |r the \f|Idf\fR e|
|00002470| 78 61 6d 70 6c 65 20 67 | 69 76 65 6e 20 61 62 6f |xample g|iven abo|
|00002480| 76 65 2c 0a 58 2e 45 58 | 0a 58 46 69 6c 65 73 79 |ve,.X.EX|.XFilesy|
|00002490| 73 74 65 6d 20 20 20 20 | 6b 62 79 74 65 73 20 20 |stem |kbytes |
|000024a0| 20 20 75 73 65 64 20 20 | 20 61 76 61 69 6c 20 20 | used | avail |
|000024b0| 63 61 70 61 63 69 74 79 | 20 20 20 69 75 73 65 64 |capacity| iused|
|000024c0| 20 20 20 69 66 72 65 65 | 20 20 25 69 75 73 65 64 | ifree| %iused|
|000024d0| 20 20 4d 6f 75 6e 74 65 | 64 20 6f 6e 0a 58 2f 64 | Mounte|d on.X/d|
|000024e0| 65 76 2f 68 70 31 66 20 | 20 20 20 20 20 35 32 34 |ev/hp1f | 524|
|000024f0| 33 31 20 20 20 33 39 37 | 36 33 20 20 20 20 37 34 |31 397|63 74|
|00002500| 32 34 20 20 20 20 38 34 | 25 20 20 20 20 36 39 33 |24 84|% 693|
|00002510| 37 20 20 20 20 39 34 34 | 37 20 20 20 20 34 32 25 |7 944|7 42%|
|00002520| 20 20 20 2f 64 65 76 65 | 6c 6f 70 0a 58 2e 4e 58 | /deve|lop.X.NX|
|00002530| 0a 58 5c 66 42 64 65 76 | 69 63 65 5c 66 52 20 77 |.X\fBdev|ice\fR w|
|00002540| 6f 75 6c 64 20 62 65 20 | 5c 66 49 2f 64 65 76 2f |ould be |\fI/dev/|
|00002550| 68 70 31 66 5c 66 52 2c | 20 5c 66 42 73 70 61 63 |hp1f\fR,| \fBspac|
|00002560| 65 75 73 65 64 5c 66 52 | 20 77 6f 75 6c 64 20 62 |eused\fR| would b|
|00002570| 65 20 38 34 2c 0a 58 61 | 6e 64 20 5c 66 42 69 6e |e 84,.Xa|nd \fBin|
|00002580| 6f 64 65 73 75 73 65 64 | 5c 66 52 20 77 6f 75 6c |odesused|\fR woul|
|00002590| 64 20 62 65 20 34 32 2e | 20 20 53 69 6d 69 6c 61 |d be 42.| Simila|
|000025a0| 72 6c 79 2c 20 74 68 65 | 20 6f 75 74 70 75 74 20 |rly, the| output |
|000025b0| 66 72 6f 6d 20 74 68 65 | 0a 58 5c 66 49 72 75 70 |from the|.X\fIrup|
|000025c0| 74 69 6d 65 5c 66 52 20 | 65 78 61 6d 70 6c 65 2c |time\fR |example,|
|000025d0| 20 77 68 69 63 68 20 6c | 6f 6f 6b 73 20 6c 69 6b | which l|ooks lik|
|000025e0| 65 20 74 68 69 73 0a 58 | 2e 45 58 0a 58 63 68 61 |e this.X|.EX.Xcha|
|000025f0| 72 6f 6e 20 20 20 20 20 | 20 20 20 75 70 20 32 36 |ron | up 26|
|00002600| 2b 30 37 3a 35 33 2c 20 | 20 20 20 31 37 20 75 73 |+07:53, | 17 us|
|00002610| 65 72 73 2c 20 20 6c 6f | 61 64 20 33 2e 31 32 2c |ers, lo|ad 3.12,|
|00002620| 20 32 2e 39 30 2c 20 32 | 2e 36 36 0a 58 2e 4e 58 | 2.90, 2|.66.X.NX|
|00002630| 0a 58 77 6f 75 6c 64 20 | 62 65 20 62 72 6f 6b 65 |.Xwould |be broke|
|00002640| 6e 20 61 74 20 74 68 65 | 20 66 6f 6c 6c 6f 77 69 |n at the| followi|
|00002650| 6e 67 20 70 6c 61 63 65 | 73 3a 0a 58 2e 45 58 0a |ng place|s:.X.EX.|
|00002660| 58 63 68 61 72 6f 6e 20 | 7c 20 75 70 20 7c 20 32 |Xcharon || up | 2|
|00002670| 36 2b 30 37 3a 35 33 2c | 20 7c 20 31 37 20 7c 20 |6+07:53,| | 17 | |
|00002680| 75 73 65 72 73 2c 20 7c | 20 6c 6f 61 64 20 7c 20 |users, || load | |
|00002690| 33 2e 31 32 2c 20 7c 20 | 32 2e 39 30 2c 20 7c 20 |3.12, | |2.90, | |
|000026a0| 32 2e 36 36 2c 0a 58 2e | 4e 58 0a 58 61 73 73 69 |2.66,.X.|NX.Xassi|
|000026b0| 67 6e 69 6e 67 20 22 75 | 70 22 20 74 6f 20 5c 66 |gning "u|p" to \f|
|000026c0| 42 73 74 61 74 75 73 5c | 66 52 2c 20 61 6e 64 20 |Bstatus\|fR, and |
|000026d0| 33 2e 31 32 20 74 6f 20 | 5c 66 42 6c 6f 61 64 61 |3.12 to |\fBloada|
|000026e0| 76 5c 66 52 2e 0a 58 2e | 73 70 0a 58 54 68 65 20 |v\fR..X.|sp.XThe |
|000026f0| 6e 61 6d 65 20 66 69 65 | 6c 64 20 61 6c 73 6f 20 |name fie|ld also |
|00002700| 61 70 70 65 61 72 73 20 | 69 6e 20 74 68 65 20 63 |appears |in the c|
|00002710| 68 61 6e 67 65 20 66 6f | 72 6d 61 74 2c 20 64 65 |hange fo|rmat, de|
|00002720| 73 69 67 6e 61 74 69 6e | 67 20 61 6c 6c 6f 77 61 |signatin|g allowa|
|00002730| 62 6c 65 0a 58 76 61 6c | 75 65 73 20 66 6f 72 20 |ble.Xval|ues for |
|00002740| 74 68 69 73 20 66 69 65 | 6c 64 20 74 6f 20 68 61 |this fie|ld to ha|
|00002750| 76 65 2e 20 20 54 68 65 | 73 65 20 76 61 6c 75 65 |ve. The|se value|
|00002760| 73 20 63 61 6e 20 62 65 | 20 73 70 65 63 69 66 69 |s can be| specifi|
|00002770| 65 64 20 61 73 20 0a 58 | 73 69 6e 67 6c 65 20 63 |ed as .X|single c|
|00002780| 68 61 72 61 63 74 65 72 | 20 73 74 72 69 6e 67 73 |haracter| strings|
|00002790| 20 69 6e 20 74 68 65 20 | 63 61 73 65 20 6f 66 20 | in the |case of |
|000027a0| 73 74 72 69 6e 67 20 66 | 69 65 6c 64 73 3b 20 69 |string f|ields; i|
|000027b0| 6e 20 74 68 65 20 63 61 | 73 65 20 6f 66 0a 58 6e |n the ca|se of.Xn|
|000027c0| 75 6d 65 72 69 63 20 66 | 69 65 6c 64 73 2c 20 74 |umeric f|ields, t|
|000027d0| 68 65 20 76 61 6c 75 65 | 73 20 74 61 6b 65 20 74 |he value|s take t|
|000027e0| 68 65 20 66 6f 72 6d 20 | 6f 66 20 65 69 74 68 65 |he form |of eithe|
|000027f0| 72 0a 58 70 65 72 63 65 | 6e 74 61 67 65 20 6f 72 |r.Xperce|ntage or|
|00002800| 20 61 62 73 6f 6c 75 74 | 65 20 63 68 61 6e 67 65 | absolut|e change|
|00002810| 73 2c 20 6f 72 20 61 20 | 6d 69 6e 69 6d 75 6d 20 |s, or a |minimum |
|00002820| 61 6e 64 20 6d 61 78 69 | 6d 75 6d 20 77 68 69 63 |and maxi|mum whic|
|00002830| 68 20 64 65 6c 69 6e 65 | 61 74 65 0a 58 61 6e 20 |h deline|ate.Xan |
|00002840| 61 63 63 65 70 74 61 62 | 6c 65 20 72 61 6e 67 65 |acceptab|le range|
|00002850| 2e 0a 58 54 68 75 73 0a | 58 2e 45 58 0a 58 09 69 |..XThus.|X.EX.X.i|
|00002860| 6e 6f 64 65 73 75 73 65 | 64 20 31 35 25 3b 0a 58 |nodesuse|d 15%;.X|
|00002870| 09 69 6e 6f 64 65 73 75 | 73 65 64 20 30 20 34 39 |.inodesu|sed 0 49|
|00002880| 2e 0a 58 2e 4e 58 0a 58 | 73 69 67 6e 69 66 69 65 |..X.NX.X|signifie|
|00002890| 73 20 74 68 61 74 20 44 | 4f 43 20 73 68 6f 75 6c |s that D|OC shoul|
|000028a0| 64 20 62 65 20 6e 6f 74 | 69 66 69 65 64 20 69 66 |d be not|ified if|
|000028b0| 20 74 68 65 20 66 69 65 | 6c 64 20 6e 61 6d 65 64 | the fie|ld named|
|000028c0| 20 5c 66 42 69 6e 6f 64 | 65 73 75 73 65 64 5c 66 | \fBinod|esused\f|
|000028d0| 52 0a 58 69 6e 63 72 65 | 61 73 65 73 20 62 79 20 |R.Xincre|ases by |
|000028e0| 6d 6f 72 65 20 74 68 61 | 6e 20 31 35 25 20 66 72 |more tha|n 15% fr|
|000028f0| 6f 6d 20 74 68 65 20 6c | 61 73 74 20 72 75 6e 2c |om the l|ast run,|
|00002900| 20 6f 72 20 69 66 20 69 | 74 20 69 73 20 6f 75 74 | or if i|t is out|
|00002910| 73 69 64 65 20 74 68 65 | 0a 58 72 61 6e 67 65 20 |side the|.Xrange |
|00002920| 30 20 74 6f 20 34 39 3b | 20 73 69 6d 69 6c 61 72 |0 to 49;| similar|
|00002930| 6c 79 0a 58 2e 45 58 0a | 58 09 73 74 61 74 75 73 |ly.X.EX.|X.status|
|00002940| 20 22 75 70 22 3b 0a 58 | 2e 4e 58 0a 58 69 6e 66 | "up";.X|.NX.Xinf|
|00002950| 6f 72 6d 73 20 5c 66 49 | 77 61 74 63 68 65 72 5c |orms \fI|watcher\|
|00002960| 66 52 20 74 6f 20 6e 6f | 74 69 66 79 20 44 4f 43 |fR to no|tify DOC|
|00002970| 20 69 66 20 74 68 65 20 | 5c 66 42 73 74 61 74 75 | if the |\fBstatu|
|00002980| 73 5c 66 52 20 66 69 65 | 6c 64 20 63 6f 6e 74 61 |s\fR fie|ld conta|
|00002990| 69 6e 73 0a 58 61 6e 79 | 74 68 69 6e 67 20 6f 74 |ins.Xany|thing ot|
|000029a0| 68 65 72 20 74 68 61 6e | 20 74 68 65 20 77 6f 72 |her than| the wor|
|000029b0| 64 20 22 75 70 22 2e 0a | 58 2e 73 70 0a 58 41 73 |d "up"..|X.sp.XAs|
|000029c0| 20 5c 66 49 77 61 74 63 | 68 65 72 5c 66 52 20 70 | \fIwatc|her\fR p|
|000029d0| 61 72 73 65 73 20 74 68 | 65 20 6f 75 74 70 75 74 |arses th|e output|
|000029e0| 20 6f 66 20 61 20 70 69 | 70 65 6c 69 6e 65 2c 20 | of a pi|peline, |
|000029f0| 69 74 20 73 74 6f 72 65 | 73 20 74 68 65 0a 58 70 |it store|s the.Xp|
|00002a00| 65 72 74 69 6e 65 6e 74 | 20 70 61 72 74 73 20 6f |ertinent| parts o|
|00002a10| 66 20 74 68 65 20 6f 75 | 74 70 75 74 20 69 6e 20 |f the ou|tput in |
|00002a20| 61 20 68 69 73 74 6f 72 | 79 20 66 69 6c 65 20 28 |a histor|y file (|
|00002a30| 62 79 0a 58 64 65 66 61 | 75 6c 74 2c 20 2e 2f 5c |by.Xdefa|ult, ./\|
|00002a40| 66 49 77 61 74 63 68 65 | 72 2e 68 69 73 74 6f 72 |fIwatche|r.histor|
|00002a50| 79 5c 66 52 29 2e 0a 58 | 54 68 65 20 6e 65 78 74 |y\fR)..X|The next|
|00002a60| 20 74 69 6d 65 20 5c 66 | 49 77 61 74 63 68 65 72 | time \f|Iwatcher|
|00002a70| 5c 66 52 20 72 75 6e 73 | 2c 20 69 74 20 72 65 61 |\fR runs|, it rea|
|00002a80| 64 73 20 74 68 69 73 20 | 66 69 6c 65 20 74 6f 20 |ds this |file to |
|00002a90| 70 72 6f 76 69 64 65 0a | 58 63 6f 6d 70 61 72 69 |provide.|Xcompari|
|00002aa0| 73 6f 6e 20 76 61 6c 75 | 65 73 20 66 6f 72 20 74 |son valu|es for t|
|00002ab0| 68 65 20 63 6f 6d 6d 61 | 6e 64 2e 20 20 49 66 20 |he comma|nd. If |
|00002ac0| 61 20 63 6f 6d 6d 61 6e | 64 20 69 73 20 6e 65 77 |a comman|d is new|
|00002ad0| 20 28 69 2e 65 2e 20 69 | 74 20 68 61 73 20 6e 6f | (i.e. i|t has no|
|00002ae0| 0a 58 70 72 65 76 69 6f | 75 73 6c 79 2d 73 74 6f |.Xprevio|usly-sto|
|00002af0| 72 65 64 20 6f 75 74 70 | 75 74 20 69 6e 20 74 68 |red outp|ut in th|
|00002b00| 65 20 68 69 73 74 6f 72 | 79 20 66 69 6c 65 29 2c |e histor|y file),|
|00002b10| 20 5c 66 49 77 61 74 63 | 68 65 72 5c 66 52 20 63 | \fIwatc|her\fR c|
|00002b20| 68 65 63 6b 73 20 74 68 | 65 0a 58 66 69 65 6c 64 |hecks th|e.Xfield|
|00002b30| 73 20 77 68 69 63 68 20 | 72 65 71 75 69 72 65 20 |s which |require |
|00002b40| 6e 6f 20 70 72 65 76 69 | 6f 75 73 20 64 61 74 61 |no previ|ous data|
|00002b50| 2c 20 73 75 63 68 20 61 | 73 20 6d 69 6e 2d 6d 61 |, such a|s min-ma|
|00002b60| 78 20 66 69 65 6c 64 73 | 2c 20 77 68 69 6c 65 0a |x fields|, while.|
|00002b70| 58 73 74 69 6c 6c 20 73 | 74 6f 72 69 6e 67 20 5c |Xstill s|toring \|
|00002b80| 66 49 61 6c 6c 5c 66 52 | 20 6f 66 20 74 68 65 20 |fIall\fR| of the |
|00002b90| 72 65 6c 65 76 61 6e 74 | 20 69 6e 66 6f 72 6d 61 |relevant| informa|
|00002ba0| 74 69 6f 6e 20 74 6f 20 | 74 68 65 20 68 69 73 74 |tion to |the hist|
|00002bb0| 6f 72 79 20 66 69 6c 65 | 2e 0a 58 54 68 75 73 2c |ory file|..XThus,|
|00002bc0| 20 74 68 65 20 6e 65 78 | 74 20 74 69 6d 65 20 74 | the nex|t time t|
|00002bd0| 68 65 20 6e 65 77 20 63 | 6f 6d 6d 61 6e 64 20 69 |he new c|ommand i|
|00002be0| 73 20 72 75 6e 2c 20 69 | 74 20 77 69 6c 6c 20 62 |s run, i|t will b|
|00002bf0| 65 20 61 6e 20 5c 66 49 | 6f 6c 64 5c 66 52 20 63 |e an \fI|old\fR c|
|00002c00| 6f 6d 6d 61 6e 64 2c 0a | 58 61 6e 64 20 6d 65 61 |ommand,.|Xand mea|
|00002c10| 6e 69 6e 67 66 75 6c 20 | 62 65 74 77 65 65 6e 2d |ningful |between-|
|00002c20| 72 75 6e 20 63 6f 6d 70 | 61 72 69 73 6f 6e 73 20 |run comp|arisons |
|00002c30| 63 61 6e 20 62 65 20 6d | 61 64 65 2e 0a 58 2e 73 |can be m|ade..X.s|
|00002c40| 70 0a 58 57 68 65 6e 20 | 5c 66 49 77 61 74 63 68 |p.XWhen |\fIwatch|
|00002c50| 65 72 5c 66 52 0a 58 64 | 65 74 65 63 74 73 20 6e |er\fR.Xd|etects n|
|00002c60| 6f 20 70 72 6f 62 6c 65 | 6d 73 20 77 69 74 68 20 |o proble|ms with |
|00002c70| 74 68 65 20 73 79 73 74 | 65 6d 2c 20 44 4f 43 20 |the syst|em, DOC |
|00002c80| 72 65 63 65 69 76 65 73 | 20 61 6e 20 65 6d 70 74 |receives| an empt|
|00002c90| 79 20 6d 61 69 6c 20 6d | 65 73 73 61 67 65 0a 58 |y mail m|essage.X|
|00002ca0| 77 69 74 68 20 74 68 65 | 20 73 75 62 6a 65 63 74 |with the| subject|
|00002cb0| 20 22 5c 66 49 68 6f 73 | 74 6e 61 6d 65 5c 66 52 | "\fIhos|tname\fR|
|00002cc0| 20 68 61 64 20 6e 6f 20 | 70 72 6f 62 6c 65 6d 73 | had no |problems|
|00002cd0| 20 61 74 20 5c 66 49 64 | 61 74 65 5c 66 52 22 3b | at \fId|ate\fR";|
|00002ce0| 0a 58 74 68 69 73 20 69 | 73 20 74 6f 20 69 6e 73 |.Xthis i|s to ins|
|00002cf0| 75 72 65 20 74 68 61 74 | 20 5c 66 49 6d 61 69 6c |ure that| \fImail|
|00002d00| 5c 66 52 20 69 73 20 72 | 75 6e 6e 69 6e 67 20 63 |\fR is r|unning c|
|00002d10| 6f 72 72 65 63 74 6c 79 | 2e 20 20 0a 58 57 68 65 |orrectly|. .XWhe|
|00002d20| 6e 20 69 74 20 6e 6f 74 | 69 63 65 73 20 61 20 70 |n it not|ices a p|
|00002d30| 72 6f 62 6c 65 6d 20 77 | 68 69 63 68 20 73 68 6f |roblem w|hich sho|
|00002d40| 75 6c 64 20 62 65 20 62 | 72 6f 75 67 68 74 20 74 |uld be b|rought t|
|00002d50| 6f 20 44 4f 43 27 73 20 | 61 74 74 65 6e 74 69 6f |o DOC's |attentio|
|00002d60| 6e 2c 0a 58 69 74 20 6d | 61 69 6c 73 20 74 68 65 |n,.Xit m|ails the|
|00002d70| 20 73 79 73 74 65 6d 20 | 70 72 6f 62 6c 65 6d 20 | system |problem |
|00002d80| 72 65 70 6f 72 74 20 69 | 6e 20 61 20 63 6f 6e 63 |report i|n a conc|
|00002d90| 69 73 65 0a 58 66 6f 72 | 6d 61 74 2c 20 65 78 70 |ise.Xfor|mat, exp|
|00002da0| 6c 61 69 6e 69 6e 67 20 | 77 68 61 74 20 69 73 20 |laining |what is |
|00002db0| 77 72 6f 6e 67 20 61 6e | 64 20 77 68 79 2e 20 20 |wrong an|d why. |
|00002dc0| 0a 58 54 68 75 73 2c 20 | 72 61 74 68 65 72 20 74 |.XThus, |rather t|
|00002dd0| 68 61 6e 20 74 68 65 20 | 6d 65 67 61 62 79 74 65 |han the |megabyte|
|00002de0| 73 20 6f 66 20 73 68 65 | 6c 6c 20 73 63 72 69 70 |s of she|ll scrip|
|00002df0| 74 20 6f 75 74 70 75 74 | 20 74 68 61 74 20 44 4f |t output| that DO|
|00002e00| 43 0a 58 75 73 65 64 20 | 74 6f 20 72 65 63 65 69 |C.Xused |to recei|
|00002e10| 76 65 20 61 6e 64 20 68 | 61 76 65 20 74 6f 20 72 |ve and h|ave to r|
|00002e20| 65 61 64 2c 0a 58 68 65 | 20 6d 65 72 65 6c 79 20 |ead,.Xhe| merely |
|00002e30| 73 65 65 73 20 74 68 69 | 73 20 77 68 65 6e 20 68 |sees thi|s when h|
|00002e40| 65 20 72 65 61 64 73 20 | 68 69 73 20 6d 61 69 6c |e reads |his mail|
|00002e50| 3a 0a 58 2e 45 58 0a 58 | 4d 61 69 6c 20 76 65 72 |:.X.EX.X|Mail ver|
|00002e60| 73 69 6f 6e 20 35 2e 32 | 20 36 2f 32 31 2f 38 35 |sion 5.2| 6/21/85|
|00002e70| 2e 20 20 54 79 70 65 20 | 3f 20 66 6f 72 20 68 65 |. Type |? for he|
|00002e80| 6c 70 2e 0a 58 22 2f 75 | 73 72 2f 73 70 6f 6f 6c |lp..X"/u|sr/spool|
|00002e90| 2f 6d 61 69 6c 2f 69 6e | 67 68 61 6d 22 3a 20 35 |/mail/in|gham": 5|
|00002ea0| 20 6d 65 73 73 61 67 65 | 73 20 35 20 6e 65 77 0a | message|s 5 new.|
|00002eb0| 58 20 4e 20 20 31 20 72 | 6f 6f 74 40 63 68 61 72 |X N 1 r|oot@char|
|00002ec0| 6f 6e 2e 75 6e 6d 20 53 | 61 74 20 41 70 72 20 31 |on.unm S|at Apr 1|
|00002ed0| 31 20 31 36 3a 30 30 20 | 20 38 2f 32 31 32 20 20 |1 16:00 | 8/212 |
|00002ee0| 22 63 68 61 72 6f 6e 20 | 68 61 64 20 6e 6f 20 70 |"charon |had no p|
|00002ef0| 72 6f 62 6c 65 6d 73 20 | 61 74 20 53 61 74 22 0a |roblems |at Sat".|
|00002f00| 58 20 4e 20 20 32 20 72 | 6f 6f 74 40 61 72 69 65 |X N 2 r|oot@arie|
|00002f10| 6c 2e 75 6e 6d 20 53 61 | 74 20 41 70 72 20 31 31 |l.unm Sa|t Apr 11|
|00002f20| 20 31 36 3a 30 30 20 20 | 38 2f 32 30 38 20 20 22 | 16:00 |8/208 "|
|00002f30| 61 72 69 65 6c 20 68 61 | 64 20 6e 6f 20 70 72 6f |ariel ha|d no pro|
|00002f40| 62 6c 65 6d 73 20 61 74 | 20 53 61 74 20 22 0a 58 |blems at| Sat ".X|
|00002f50| 20 4e 20 20 33 20 72 6f | 6f 74 40 67 65 69 6e 61 | N 3 ro|ot@geina|
|00002f60| 68 2e 75 6e 6d 20 53 61 | 74 20 41 70 72 20 31 31 |h.unm Sa|t Apr 11|
|00002f70| 20 31 36 3a 30 30 20 20 | 31 31 2f 34 31 37 20 22 | 16:00 |11/417 "|
|00002f80| 53 79 73 74 65 6d 20 70 | 72 6f 62 6c 65 6d 20 72 |System p|roblem r|
|00002f90| 65 70 6f 72 74 20 66 6f | 72 20 67 65 69 22 0a 58 |eport fo|r gei".X|
|00002fa0| 20 4e 20 20 34 20 72 6f | 6f 74 40 69 7a 61 72 2e | N 4 ro|ot@izar.|
|00002fb0| 75 6e 6d 20 53 61 74 20 | 41 70 72 20 31 31 20 31 |unm Sat |Apr 11 1|
|00002fc0| 36 3a 30 30 20 20 38 2f | 32 30 34 20 20 22 69 7a |6:00 8/|204 "iz|
|00002fd0| 61 72 20 68 61 64 20 6e | 6f 20 70 72 6f 62 6c 65 |ar had n|o proble|
|00002fe0| 6d 73 20 61 74 20 53 61 | 74 20 41 22 0a 58 20 4e |ms at Sa|t A".X N|
|00002ff0| 20 20 35 20 72 6f 6f 74 | 40 64 65 69 6d 6f 73 2e | 5 root|@deimos.|
|00003000| 75 6e 6d 20 53 61 74 20 | 41 70 72 20 31 31 20 31 |unm Sat |Apr 11 1|
|00003010| 36 3a 30 30 20 20 38 2f | 32 31 32 20 20 22 64 65 |6:00 8/|212 "de|
|00003020| 69 6d 6f 73 20 68 61 64 | 20 6e 6f 20 70 72 6f 62 |imos had| no prob|
|00003030| 6c 65 6d 73 20 61 74 20 | 53 61 74 22 0a 58 2e 4e |lems at |Sat".X.N|
|00003040| 58 0a 58 54 68 65 20 6c | 65 74 74 65 72 73 20 69 |X.XThe l|etters i|
|00003050| 6e 64 69 63 61 74 69 6e | 67 20 6e 6f 20 70 72 6f |ndicatin|g no pro|
|00003060| 62 6c 65 6d 73 20 63 61 | 6e 20 62 65 20 69 6d 6d |blems ca|n be imm|
|00003070| 65 64 69 61 74 65 6c 79 | 20 64 65 6c 65 74 65 64 |ediately| deleted|
|00003080| 2c 20 61 6e 64 20 44 4f | 43 0a 58 63 61 6e 20 74 |, and DO|C.Xcan t|
|00003090| 75 72 6e 20 68 69 73 20 | 61 74 74 65 6e 74 69 6f |urn his |attentio|
|000030a0| 6e 20 74 6f 20 74 68 65 | 20 6c 65 74 74 65 72 20 |n to the| letter |
|000030b0| 69 6e 64 69 63 61 74 69 | 6e 67 20 61 20 0a 58 73 |indicati|ng a .Xs|
|000030c0| 79 73 74 65 6d 20 70 72 | 6f 62 6c 65 6d 73 2e 20 |ystem pr|oblems. |
|000030d0| 20 41 20 73 61 6d 70 6c | 65 20 70 72 6f 62 6c 65 | A sampl|e proble|
|000030e0| 6d 20 72 65 70 6f 72 74 | 0a 58 77 6f 75 6c 64 20 |m report|.Xwould |
|000030f0| 6c 6f 6f 6b 20 73 6f 6d | 65 74 68 69 6e 67 20 6c |look som|ething l|
|00003100| 69 6b 65 20 74 68 69 73 | 3a 0a 58 2e 45 58 0a 58 |ike this|:.X.EX.X|
|00003110| 64 66 20 68 61 73 20 61 | 20 6d 61 78 2f 6d 69 6e |df has a| max/min|
|00003120| 20 76 61 6c 75 65 20 6f | 75 74 20 6f 66 20 72 61 | value o|ut of ra|
|00003130| 6e 67 65 3a 0a 58 2f 64 | 65 76 2f 68 70 30 68 20 |nge:.X/d|ev/hp0h |
|00003140| 20 20 20 20 31 34 30 34 | 38 38 20 20 31 31 31 31 | 1404|88 1111|
|00003150| 39 35 20 20 20 31 35 32 | 34 34 20 20 20 20 39 31 |95 152|44 91|
|00003160| 25 20 20 20 31 30 31 34 | 35 20 20 20 32 38 37 36 |% 1014|5 2876|
|00003170| 37 20 20 20 20 32 36 25 | 20 20 20 2f 75 73 72 0a |7 26%| /usr.|
|00003180| 58 77 68 65 72 65 20 73 | 70 61 63 65 75 73 65 64 |Xwhere s|paceused|
|00003190| 20 3d 20 39 31 2e 30 30 | 3b 20 76 61 6c 69 64 20 | = 91.00|; valid |
|000031a0| 72 61 6e 67 65 20 30 2e | 30 30 20 74 6f 20 38 39 |range 0.|00 to 89|
|000031b0| 2e 30 30 2e 0a 58 41 6c | 73 6f 20 69 74 20 68 61 |.00..XAl|so it ha|
|000031c0| 64 20 69 6e 6f 64 65 73 | 75 73 65 64 20 63 68 61 |d inodes|used cha|
|000031d0| 6e 67 65 20 62 79 20 6d | 6f 72 65 20 74 68 61 6e |nge by m|ore than|
|000031e0| 20 31 30 25 2e 0a 58 50 | 72 65 76 69 6f 75 73 20 | 10%..XP|revious |
|000031f0| 76 61 6c 75 65 20 32 30 | 2e 30 30 3b 20 63 75 72 |value 20|.00; cur|
|00003200| 72 65 6e 74 20 76 61 6c | 75 65 20 32 36 2e 30 30 |rent val|ue 26.00|
|00003210| 2e 0a 58 2e 4e 58 0a 58 | 4e 6f 74 65 20 74 68 61 |..X.NX.X|Note tha|
|00003220| 74 20 69 66 20 61 20 6c | 69 6e 65 20 68 61 73 20 |t if a l|ine has |
|00003230| 6d 6f 72 65 20 74 68 61 | 6e 20 6f 6e 65 20 69 6e |more tha|n one in|
|00003240| 64 69 63 61 74 69 6f 6e | 20 6f 66 20 61 20 70 72 |dication| of a pr|
|00003250| 6f 62 6c 65 6d 2c 20 61 | 6c 6c 0a 58 61 6e 6f 6d |oblem, a|ll.Xanom|
|00003260| 61 6c 69 65 73 20 61 72 | 65 20 69 6e 63 6c 75 64 |alies ar|e includ|
|00003270| 65 64 20 69 6e 20 74 68 | 65 20 72 65 70 6f 72 74 |ed in th|e report|
|00003280| 2e 0a 58 54 68 69 73 20 | 70 72 6f 76 69 64 65 73 |..XThis |provides|
|00003290| 20 44 4f 43 20 77 69 74 | 68 20 61 73 20 6d 75 63 | DOC wit|h as muc|
|000032a0| 68 20 69 6e 66 6f 72 6d | 61 74 69 6f 6e 20 61 73 |h inform|ation as|
|000032b0| 20 70 6f 73 73 69 62 6c | 65 2c 20 61 6c 6c 6f 77 | possibl|e, allow|
|000032c0| 69 6e 67 20 68 69 6d 0a | 58 74 6f 20 64 65 74 65 |ing him.|Xto dete|
|000032d0| 72 6d 69 6e 65 20 74 68 | 65 20 70 72 6f 62 6c 65 |rmine th|e proble|
|000032e0| 6d 20 71 75 69 63 6b 6c | 79 20 61 6e 64 20 64 65 |m quickl|y and de|
|000032f0| 76 69 73 65 20 0a 58 61 | 20 72 61 70 69 64 20 66 |vise .Xa| rapid f|
|00003300| 69 78 20 28 68 6f 70 65 | 66 75 6c 6c 79 20 62 65 |ix (hope|fully be|
|00003310| 66 6f 72 65 20 75 73 65 | 72 73 20 6b 6e 6f 77 20 |fore use|rs know |
|00003320| 73 6f 6d 65 74 68 69 6e | 67 20 69 73 20 61 6d 69 |somethin|g is ami|
|00003330| 73 73 29 2e 20 20 0a 58 | 2e 73 70 0a 58 2e 53 45 |ss). .X|.sp.X.SE|
|00003340| 20 34 2e 20 52 65 73 75 | 6c 74 73 20 28 68 6f 77 | 4. Resu|lts (how|
|00003350| 20 69 74 73 20 68 65 6c | 70 65 64 20 75 73 29 0a | its hel|ped us).|
|00003360| 58 5c 66 49 77 61 74 63 | 68 65 72 5c 66 52 27 73 |X\fIwatc|her\fR's|
|00003370| 20 70 72 69 6d 61 72 79 | 20 61 64 76 61 6e 74 61 | primary| advanta|
|00003380| 67 65 20 6c 69 65 73 20 | 69 6e 20 74 68 65 20 72 |ge lies |in the r|
|00003390| 65 64 75 63 74 69 6f 6e | 20 6f 66 20 44 4f 43 27 |eduction| of DOC'|
|000033a0| 73 20 77 6f 72 6b 0a 58 | 6c 6f 61 64 2e 20 20 49 |s work.X|load. I|
|000033b0| 74 20 68 61 73 20 74 61 | 6b 65 6e 20 6f 76 65 72 |t has ta|ken over|
|000033c0| 20 74 68 65 20 6d 6f 72 | 65 20 6d 65 6e 69 61 6c | the mor|e menial|
|000033d0| 20 61 73 70 65 63 74 73 | 20 6f 66 20 6d 6f 6e 69 | aspects| of moni|
|000033e0| 74 6f 72 69 6e 67 20 61 | 20 73 79 73 74 65 6d 2c |toring a| system,|
|000033f0| 0a 58 74 61 73 6b 73 20 | 6c 69 6b 65 20 72 65 61 |.Xtasks |like rea|
|00003400| 64 69 6e 67 20 61 6e 64 | 20 63 6f 6d 70 61 72 69 |ding and| compari|
|00003410| 6e 67 20 6e 75 6d 62 65 | 72 73 2c 20 0a 58 67 69 |ng numbe|rs, .Xgi|
|00003420| 76 69 6e 67 20 44 4f 43 | 20 6d 6f 72 65 20 74 69 |ving DOC| more ti|
|00003430| 6d 65 20 74 6f 20 63 6f | 6e 63 65 6e 74 72 61 74 |me to co|ncentrat|
|00003440| 65 20 6f 6e 20 62 75 67 | 73 20 6f 66 20 61 20 6e |e on bug|s of a n|
|00003450| 61 74 75 72 65 20 77 68 | 69 63 68 0a 58 5c 66 49 |ature wh|ich.X\fI|
|00003460| 77 61 74 63 68 65 72 5c | 66 52 20 69 73 6e 27 74 |watcher\|fR isn't|
|00003470| 20 73 65 74 20 75 70 20 | 74 6f 20 6d 6f 6e 69 74 | set up |to monit|
|00003480| 6f 72 2c 20 73 75 63 68 | 20 61 73 20 70 72 6f 62 |or, such| as prob|
|00003490| 6c 65 6d 73 20 69 6e 20 | 74 68 65 0a 58 61 63 63 |lems in |the.Xacc|
|000034a0| 6f 75 6e 74 69 6e 67 20 | 73 79 73 74 65 6d 2e 0a |ounting |system..|
|000034b0| 58 44 4f 43 20 69 73 20 | 61 70 70 72 69 73 65 64 |XDOC is |apprised|
|000034c0| 20 6f 66 20 70 6f 74 65 | 6e 74 69 61 6c 20 70 72 | of pote|ntial pr|
|000034d0| 6f 62 6c 65 6d 73 20 71 | 75 69 63 6b 6c 79 2c 20 |oblems q|uickly, |
|000034e0| 61 6e 64 20 69 6e 0a 58 | 73 6f 6d 65 20 63 61 73 |and in.X|some cas|
|000034f0| 65 73 20 63 61 6e 20 72 | 65 70 61 69 72 20 74 68 |es can r|epair th|
|00003500| 65 6d 20 69 6e 20 6c 65 | 73 73 20 74 69 6d 65 20 |em in le|ss time |
|00003510| 74 68 61 6e 20 73 69 6d | 70 6c 79 0a 58 72 65 61 |than sim|ply.Xrea|
|00003520| 64 69 6e 67 20 74 68 65 | 20 73 68 65 6c 6c 20 73 |ding the| shell s|
|00003530| 63 72 69 70 74 20 6f 75 | 74 70 75 74 0a 58 77 6f |cript ou|tput.Xwo|
|00003540| 75 6c 64 20 68 61 76 65 | 20 74 61 6b 65 6e 2e 0a |uld have| taken..|
|00003550| 58 2e 73 70 0a 58 54 68 | 65 20 61 62 69 6c 69 74 |X.sp.XTh|e abilit|
|00003560| 79 20 74 6f 20 6d 6f 6e | 69 74 6f 72 20 63 68 61 |y to mon|itor cha|
|00003570| 6e 67 65 73 20 62 65 74 | 77 65 65 6e 20 72 75 6e |nges bet|ween run|
|00003580| 73 20 68 61 73 20 61 6c | 73 6f 20 68 65 6c 70 65 |s has al|so helpe|
|00003590| 64 20 62 72 69 6e 67 20 | 74 6f 20 6f 75 72 0a 58 |d bring |to our.X|
|000035a0| 61 74 74 65 6e 74 69 6f | 6e 20 73 6f 6d 65 0a 58 |attentio|n some.X|
|000035b0| 70 72 6f 62 6c 65 6d 73 | 20 77 68 69 63 68 20 77 |problems| which w|
|000035c0| 65 72 65 20 6d 69 73 73 | 65 64 20 69 6e 20 74 68 |ere miss|ed in th|
|000035d0| 65 20 44 4f 43 20 72 65 | 70 6f 72 74 73 2e 20 20 |e DOC re|ports. |
|000035e0| 46 6f 72 20 65 78 61 6d | 70 6c 65 2c 0a 58 64 69 |For exam|ple,.Xdi|
|000035f0| 73 6b 20 73 70 61 63 65 | 20 6f 6e 20 5c 66 49 2f |sk space| on \fI/|
|00003600| 75 32 5c 66 52 20 6f 6e | 20 6f 6e 65 20 6f 66 20 |u2\fR on| one of |
|00003610| 6f 75 72 20 6d 61 63 68 | 69 6e 65 73 20 6a 75 6d |our mach|ines jum|
|00003620| 70 65 64 20 62 79 20 6d | 6f 72 65 20 74 68 61 6e |ped by m|ore than|
|00003630| 20 31 35 25 2e 20 20 53 | 69 6e 63 65 0a 58 74 68 | 15%. S|ince.Xth|
|00003640| 69 73 20 6a 75 6d 70 20 | 64 69 64 20 6e 6f 74 20 |is jump |did not |
|00003650| 66 6f 72 63 65 20 74 68 | 65 20 74 6f 74 61 6c 20 |force th|e total |
|00003660| 73 70 61 63 65 20 75 73 | 65 64 20 61 62 6f 76 65 |space us|ed above|
|00003670| 20 39 30 25 2c 20 61 74 | 20 77 68 69 63 68 20 70 | 90%, at| which p|
|00003680| 6f 69 6e 74 0a 58 44 4f | 43 20 77 6f 75 6c 64 20 |oint.XDO|C would |
|00003690| 68 61 76 65 20 69 6e 76 | 65 73 74 69 67 61 74 65 |have inv|estigate|
|000036a0| 64 20 74 68 65 20 66 69 | 6c 65 73 79 73 74 65 6d |d the fi|lesystem|
|000036b0| 2c 20 69 74 20 69 73 20 | 75 6e 6c 69 6b 65 6c 79 |, it is |unlikely|
|000036c0| 0a 58 74 68 61 74 20 44 | 4f 43 20 77 6f 75 6c 64 |.Xthat D|OC would|
|000036d0| 20 68 61 76 65 20 65 76 | 65 6e 20 6e 6f 74 69 63 | have ev|en notic|
|000036e0| 65 64 20 74 68 69 73 20 | 73 75 64 64 65 6e 20 63 |ed this |sudden c|
|000036f0| 68 61 6e 67 65 2e 20 20 | 54 68 65 20 66 61 63 69 |hange. |The faci|
|00003700| 6c 69 74 79 20 74 6f 0a | 58 77 61 74 63 68 20 66 |lity to.|Xwatch f|
|00003710| 6f 72 20 72 65 6c 61 74 | 69 76 65 20 63 68 61 6e |or relat|ive chan|
|00003720| 67 65 73 20 62 65 74 77 | 65 65 6e 20 72 75 6e 73 |ges betw|een runs|
|00003730| 20 65 6e 61 62 6c 65 73 | 20 44 4f 43 20 74 6f 20 | enables| DOC to |
|00003740| 63 61 74 63 68 20 70 72 | 6f 62 6c 65 6d 73 20 69 |catch pr|oblems i|
|00003750| 6e 0a 58 74 68 65 69 72 | 20 69 6e 66 61 6e 63 79 |n.Xtheir| infancy|
|00003760| 2c 20 61 6e 64 20 66 69 | 78 20 70 72 6f 62 6c 65 |, and fi|x proble|
|00003770| 6d 73 20 73 75 63 68 20 | 61 73 20 66 69 6c 65 73 |ms such |as files|
|00003780| 79 73 74 65 6d 73 20 66 | 69 6c 6c 69 6e 67 20 75 |ystems f|illing u|
|00003790| 70 20 74 6f 6f 0a 58 72 | 61 70 69 64 6c 79 20 62 |p too.Xr|apidly b|
|000037a0| 65 66 6f 72 65 20 74 68 | 65 79 20 69 6e 63 6f 6e |efore th|ey incon|
|000037b0| 76 65 6e 69 65 6e 63 65 | 20 74 68 65 20 75 73 65 |venience| the use|
|000037c0| 72 73 2e 0a 58 2e 73 70 | 0a 58 53 69 6e 63 65 20 |rs..X.sp|.XSince |
|000037d0| 74 68 65 20 73 79 73 74 | 65 6d 20 6d 61 6e 61 67 |the syst|em manag|
|000037e0| 65 72 20 73 70 65 63 69 | 66 69 65 73 20 6e 6f 74 |er speci|fies not|
|000037f0| 20 6f 6e 6c 79 20 74 68 | 65 20 63 6f 6d 6d 61 6e | only th|e comman|
|00003800| 64 73 20 5c 66 49 77 61 | 74 63 68 65 72 5c 66 52 |ds \fIwa|tcher\fR|
|00003810| 20 77 69 6c 6c 0a 58 65 | 78 65 63 75 74 65 20 61 | will.Xe|xecute a|
|00003820| 6e 64 20 74 68 65 20 74 | 69 6d 65 20 6c 61 70 73 |nd the t|ime laps|
|00003830| 65 20 62 65 74 77 65 65 | 6e 20 73 75 63 63 65 73 |e betwee|n succes|
|00003840| 73 69 76 65 20 72 75 6e | 73 2c 20 62 75 74 20 61 |sive run|s, but a|
|00003850| 6c 73 6f 20 74 68 65 0a | 58 70 61 72 61 6d 65 74 |lso the.|Xparamet|
|00003860| 65 72 73 20 77 68 69 63 | 68 20 69 6e 64 69 63 61 |ers whic|h indica|
|00003870| 74 65 20 73 79 73 74 65 | 6d 20 61 6e 6f 6d 61 6c |te syste|m anomal|
|00003880| 69 65 73 2c 0a 58 5c 66 | 49 77 61 74 63 68 65 72 |ies,.X\f|Iwatcher|
|00003890| 5c 66 52 20 63 61 6e 20 | 65 61 73 69 6c 79 20 62 |\fR can |easily b|
|000038a0| 65 20 73 65 65 6e 20 61 | 73 20 61 20 76 65 72 79 |e seen a|s a very|
|000038b0| 20 66 6c 65 78 69 62 6c | 65 2c 20 67 65 6e 65 72 | flexibl|e, gener|
|000038c0| 61 6c 20 73 79 73 74 65 | 6d 0a 58 6d 6f 6e 69 74 |al syste|m.Xmonit|
|000038d0| 6f 72 2e 20 20 49 74 73 | 20 75 73 65 20 61 74 20 |or. Its| use at |
|000038e0| 55 4e 4d 20 68 61 73 20 | 70 72 6f 76 69 64 65 64 |UNM has |provided|
|000038f0| 20 61 6e 20 69 6e 63 72 | 65 61 73 65 20 69 6e 20 | an incr|ease in |
|00003900| 74 68 65 0a 58 70 72 6f | 64 75 63 74 69 76 69 74 |the.Xpro|ductivit|
|00003910| 79 20 6f 66 20 74 68 65 | 20 73 79 73 74 65 6d 20 |y of the| system |
|00003920| 6d 61 6e 61 67 65 72 2c | 20 77 68 69 63 68 20 68 |manager,| which h|
|00003930| 61 73 20 6c 65 64 20 69 | 6e 20 74 75 72 6e 20 74 |as led i|n turn t|
|00003940| 6f 20 74 68 65 0a 58 69 | 6e 63 72 65 61 73 65 20 |o the.Xi|ncrease |
|00003950| 69 6e 20 74 68 65 20 72 | 65 6c 69 61 62 69 6c 69 |in the r|eliabili|
|00003960| 74 79 20 61 6e 64 20 61 | 76 61 69 6c 61 62 69 6c |ty and a|vailabil|
|00003970| 69 74 79 20 6f 66 20 74 | 68 65 20 73 79 73 74 65 |ity of t|he syste|
|00003980| 6d 73 20 61 74 20 55 4e | 4d 43 43 2e 0a 58 2e 53 |ms at UN|MCC..X.S|
|00003990| 45 20 35 2e 20 41 76 61 | 69 6c 61 62 69 6c 69 74 |E 5. Ava|ilabilit|
|000039a0| 79 20 28 68 6f 77 20 74 | 6f 20 67 65 74 20 6f 6e |y (how t|o get on|
|000039b0| 65 29 0a 58 5c 66 49 77 | 61 74 63 68 65 72 5c 66 |e).X\fIw|atcher\f|
|000039c0| 52 20 77 69 6c 6c 20 62 | 65 20 73 65 6e 74 20 74 |R will b|e sent t|
|000039d0| 6f 20 74 68 65 20 6d 6f | 64 65 72 61 74 6f 72 20 |o the mo|derator |
|000039e0| 6f 66 20 6d 6f 64 2e 73 | 6f 75 72 63 65 73 20 61 |of mod.s|ources a|
|000039f0| 66 74 65 72 20 74 68 65 | 0a 58 63 6f 6e 66 65 72 |fter the|.Xconfer|
|00003a00| 65 6e 63 65 20 69 73 20 | 6f 76 65 72 2e 0a 58 2e |ence is |over..X.|
|00003a10| 53 45 20 36 2e 20 52 65 | 66 65 72 65 6e 63 65 73 |SE 6. Re|ferences|
|00003a20| 20 28 79 6f 75 20 6d 69 | 67 68 74 20 61 6c 73 6f | (you mi|ght also|
|00003a30| 20 66 69 6e 64 20 74 68 | 69 73 20 69 6e 74 65 72 | find th|is inter|
|00003a40| 65 73 74 69 6e 67 29 0a | 58 2e 69 6e 20 2b 30 2e |esting).|X.in +0.|
|00003a50| 35 69 0a 58 2e 74 69 20 | 2d 30 2e 35 69 0a 58 5b |5i.X.ti |-0.5i.X[|
|00003a60| 31 5d 20 4d 6f 6e 69 74 | 6f 72 69 6e 67 20 46 72 |1] Monit|oring Fr|
|00003a70| 65 65 20 44 69 73 6b 20 | 53 70 61 63 65 2c 20 52 |ee Disk |Space, R|
|00003a80| 69 6b 20 46 61 72 72 6f | 77 2c 20 57 69 7a 61 72 |ik Farro|w, Wizar|
|00003a90| 64 27 73 20 47 72 61 62 | 62 61 67 2c 20 5c 66 49 |d's Grab|bag, \fI|
|00003aa0| 55 6e 69 78 0a 58 57 6f | 72 6c 64 5c 66 52 2c 20 |Unix.XWo|rld\fR, |
|00003ab0| 56 6f 6c 2e 20 49 56 2c | 20 6e 6f 2e 20 33 2c 20 |Vol. IV,| no. 3, |
|00003ac0| 70 70 2e 20 38 36 2d 38 | 37 2e 0a 58 2e 69 6e 20 |pp. 86-8|7..X.in |
|00003ad0| 2d 30 2e 35 69 0a 45 4e | 44 5f 4f 46 5f 44 6f 63 |-0.5i.EN|D_OF_Doc|
|00003ae0| 73 2f 50 61 70 65 72 0a | 69 66 20 74 65 73 74 20 |s/Paper.|if test |
|00003af0| 31 33 38 32 31 20 2d 6e | 65 20 60 77 63 20 2d 63 |13821 -n|e `wc -c|
|00003b00| 20 3c 44 6f 63 73 2f 50 | 61 70 65 72 60 3b 20 74 | <Docs/P|aper`; t|
|00003b10| 68 65 6e 0a 20 20 20 20 | 65 63 68 6f 20 73 68 61 |hen. |echo sha|
|00003b20| 72 3a 20 5c 22 44 6f 63 | 73 2f 50 61 70 65 72 5c |r: \"Doc|s/Paper\|
|00003b30| 22 20 75 6e 70 61 63 6b | 65 64 20 77 69 74 68 20 |" unpack|ed with |
|00003b40| 77 72 6f 6e 67 20 73 69 | 7a 65 21 0a 66 69 0a 23 |wrong si|ze!.fi.#|
|00003b50| 20 65 6e 64 20 6f 66 20 | 6f 76 65 72 77 72 69 74 | end of |overwrit|
|00003b60| 69 6e 67 20 63 68 65 63 | 6b 0a 66 69 0a 69 66 20 |ing chec|k.fi.if |
|00003b70| 74 65 73 74 20 2d 66 20 | 44 6f 63 73 2f 77 61 74 |test -f |Docs/wat|
|00003b80| 63 68 65 72 2e 31 20 2d | 61 20 22 24 7b 31 7d 22 |cher.1 -|a "${1}"|
|00003b90| 20 21 3d 20 22 2d 63 22 | 20 3b 20 74 68 65 6e 20 | != "-c"| ; then |
|00003ba0| 0a 20 20 65 63 68 6f 20 | 73 68 61 72 3a 20 57 69 |. echo |shar: Wi|
|00003bb0| 6c 6c 20 6e 6f 74 20 6f | 76 65 72 2d 77 72 69 74 |ll not o|ver-writ|
|00003bc0| 65 20 65 78 69 73 74 69 | 6e 67 20 66 69 6c 65 20 |e existi|ng file |
|00003bd0| 5c 22 44 6f 63 73 2f 77 | 61 74 63 68 65 72 2e 31 |\"Docs/w|atcher.1|
|00003be0| 5c 22 0a 65 6c 73 65 0a | 65 63 68 6f 20 73 68 61 |\".else.|echo sha|
|00003bf0| 72 3a 20 45 78 74 72 61 | 63 74 69 6e 67 20 5c 22 |r: Extra|cting \"|
|00003c00| 44 6f 63 73 2f 77 61 74 | 63 68 65 72 2e 31 5c 22 |Docs/wat|cher.1\"|
|00003c10| 20 5c 28 36 31 37 35 20 | 63 68 61 72 61 63 74 65 | \(6175 |characte|
|00003c20| 72 73 5c 29 0a 73 65 64 | 20 22 73 2f 5e 58 2f 2f |rs\).sed| "s/^X//|
|00003c30| 22 20 3e 44 6f 63 73 2f | 77 61 74 63 68 65 72 2e |" >Docs/|watcher.|
|00003c40| 31 20 3c 3c 27 45 4e 44 | 5f 4f 46 5f 44 6f 63 73 |1 <<'END|_OF_Docs|
|00003c50| 2f 77 61 74 63 68 65 72 | 2e 31 27 0a 58 2e 64 65 |/watcher|.1'.X.de|
|00003c60| 20 45 58 0a 58 2e 6e 66 | 0a 58 2e 73 70 0a 58 2e | EX.X.nf|.X.sp.X.|
|00003c70| 69 6e 20 2b 30 2e 35 69 | 0a 58 2e 2e 0a 58 2e 64 |in +0.5i|.X...X.d|
|00003c80| 65 20 4e 58 0a 58 2e 73 | 70 0a 58 2e 69 6e 20 2d |e NX.X.s|p.X.in -|
|00003c90| 30 2e 35 69 0a 58 2e 61 | 64 0a 58 2e 66 69 0a 58 |0.5i.X.a|d.X.fi.X|
|00003ca0| 2e 2e 0a 58 2e 54 48 20 | 57 41 54 43 48 45 52 20 |...X.TH |WATCHER |
|00003cb0| 31 20 22 41 70 72 69 6c | 20 31 30 2c 20 31 39 38 |1 "April| 10, 198|
|00003cc0| 37 22 0a 58 2e 55 43 20 | 36 0a 58 2e 61 64 0a 58 |7".X.UC |6.X.ad.X|
|00003cd0| 2e 53 48 20 4e 41 4d 45 | 0a 58 77 61 74 63 68 65 |.SH NAME|.Xwatche|
|00003ce0| 72 20 5c 2d 20 73 79 73 | 74 65 6d 20 6d 6f 6e 69 |r \- sys|tem moni|
|00003cf0| 74 6f 72 69 6e 67 20 70 | 72 6f 67 72 61 6d 0a 58 |toring p|rogram.X|
|00003d00| 2e 53 48 20 53 59 4e 4f | 50 53 49 53 0a 58 2e 42 |.SH SYNO|PSIS.X.B|
|00003d10| 20 77 61 74 63 68 65 72 | 0a 58 5b 20 5c 2d 70 5d | watcher|.X[ \-p]|
|00003d20| 20 5b 20 5c 2d 76 20 5d | 0a 58 5b 20 5c 2d 68 20 | [ \-v ]|.X[ \-h |
|00003d30| 68 69 73 74 66 69 6c 65 | 20 5d 20 5b 20 5c 2d 66 |histfile| ] [ \-f|
|00003d40| 20 63 6f 6e 74 72 6f 6c | 66 69 6c 65 20 5d 0a 58 | control|file ].X|
|00003d50| 2e 53 48 20 44 45 53 43 | 52 49 50 54 49 4f 4e 0a |.SH DESC|RIPTION.|
|00003d60| 58 2e 49 20 57 61 74 63 | 68 65 72 0a 58 69 73 20 |X.I Watc|her.Xis |
|00003d70| 61 20 70 72 6f 67 72 61 | 6d 20 74 6f 20 77 61 74 |a progra|m to wat|
|00003d80| 63 68 20 74 68 65 20 73 | 79 73 74 65 6d 2c 20 72 |ch the s|ystem, r|
|00003d90| 65 70 6f 72 74 69 6e 67 | 20 6f 6e 6c 79 20 77 68 |eporting| only wh|
|00003da0| 65 6e 20 69 74 20 66 69 | 6e 64 73 20 73 6f 6d 65 |en it fi|nds some|
|00003db0| 74 68 69 6e 67 0a 58 61 | 6d 69 73 73 2e 0a 58 2e |thing.Xa|miss..X.|
|00003dc0| 49 20 57 61 74 63 68 65 | 72 0a 58 72 65 61 64 73 |I Watche|r.Xreads|
|00003dd0| 20 63 6f 6d 6d 61 6e 64 | 73 20 66 72 6f 6d 0a 58 | command|s from.X|
|00003de0| 2e 49 20 63 6f 6e 74 72 | 6f 6c 66 69 6c 65 0a 58 |.I contr|olfile.X|
|00003df0| 74 6f 20 64 65 74 65 72 | 6d 69 6e 65 20 77 68 61 |to deter|mine wha|
|00003e00| 74 20 74 6f 20 77 61 74 | 63 68 2c 20 74 68 65 20 |t to wat|ch, the |
|00003e10| 6f 75 74 70 75 74 20 66 | 6f 72 6d 61 74 20 6f 66 |output f|ormat of|
|00003e20| 20 74 68 65 20 63 6f 6d | 6d 61 6e 64 73 20 69 74 | the com|mands it|
|00003e30| 20 69 73 20 74 6f 0a 58 | 72 75 6e 2c 20 61 6e 64 | is to.X|run, and|
|00003e40| 20 74 68 65 20 61 63 63 | 65 70 74 61 62 6c 65 20 | the acc|eptable |
|00003e50| 6c 69 6d 69 74 73 20 66 | 6f 72 20 74 68 65 20 6f |limits f|or the o|
|00003e60| 75 74 70 75 74 20 6f 66 | 20 74 68 6f 73 65 20 63 |utput of| those c|
|00003e70| 6f 6d 6d 61 6e 64 73 2e | 0a 58 49 66 20 6e 6f 0a |ommands.|.XIf no.|
|00003e80| 58 2e 42 20 5c 2d 66 0a | 58 6f 70 74 69 6f 6e 20 |X.B \-f.|Xoption |
|00003e90| 69 73 20 70 72 65 73 65 | 6e 74 2c 20 74 68 65 20 |is prese|nt, the |
|00003ea0| 70 72 6f 67 72 61 6d 20 | 6c 6f 6f 6b 73 20 66 69 |program |looks fi|
|00003eb0| 72 73 74 20 66 6f 72 20 | 60 77 61 74 63 68 65 72 |rst for |`watcher|
|00003ec0| 66 69 6c 65 27 2c 0a 58 | 74 68 65 6e 20 60 57 61 |file',.X|then `Wa|
|00003ed0| 74 63 68 65 72 66 69 6c | 65 27 20 74 6f 20 75 73 |tcherfil|e' to us|
|00003ee0| 65 20 61 73 20 74 68 65 | 20 69 6e 70 75 74 2e 0a |e as the| input..|
|00003ef0| 58 2e 50 50 0a 58 54 68 | 65 0a 58 2e 42 20 5c 2d |X.PP.XTh|e.X.B \-|
|00003f00| 68 20 68 69 73 74 66 69 | 6c 65 0a 58 66 6c 61 67 |h histfi|le.Xflag|
|00003f10| 20 74 65 6c 6c 73 20 77 | 61 74 63 68 65 72 20 77 | tells w|atcher w|
|00003f20| 68 61 74 20 66 69 6c 65 | 20 74 6f 20 75 73 65 20 |hat file| to use |
|00003f30| 61 73 20 61 20 68 69 73 | 74 6f 72 79 20 66 69 6c |as a his|tory fil|
|00003f40| 65 20 66 6f 72 20 63 6f | 6d 70 61 72 69 73 6f 6e |e for co|mparison|
|00003f50| 73 0a 58 62 65 74 77 65 | 65 6e 20 72 75 6e 73 2e |s.Xbetwe|en runs.|
|00003f60| 20 20 54 68 65 20 64 65 | 66 61 75 6c 74 20 69 73 | The de|fault is|
|00003f70| 20 60 77 61 74 63 68 65 | 72 2e 68 69 73 74 6f 72 | `watche|r.histor|
|00003f80| 79 27 2e 0a 58 2e 50 50 | 0a 58 54 68 65 0a 58 2e |y'..X.PP|.XThe.X.|
|00003f90| 42 20 5c 2d 70 0a 58 6f | 70 74 69 6f 6e 20 68 61 |B \-p.Xo|ption ha|
|00003fa0| 73 0a 58 2e 49 20 77 61 | 74 63 68 65 72 0a 58 70 |s.X.I wa|tcher.Xp|
|00003fb0| 72 65 74 74 79 20 70 72 | 69 6e 74 20 74 68 65 20 |retty pr|int the |
|00003fc0| 63 6f 6e 74 72 6f 6c 20 | 66 69 6c 65 2e 20 20 54 |control |file. T|
|00003fd0| 68 69 73 20 69 73 20 75 | 73 65 66 75 6c 20 74 6f |his is u|seful to|
|00003fe0| 20 6d 61 6b 65 20 73 75 | 72 65 20 74 68 61 74 20 | make su|re that |
|00003ff0| 77 61 74 63 68 65 72 0a | 58 69 73 20 70 61 72 73 |watcher.|Xis pars|
|00004000| 69 6e 67 20 74 68 65 20 | 66 69 6c 65 20 74 68 65 |ing the |file the|
|00004010| 20 77 61 79 20 65 78 70 | 65 63 74 65 64 2c 20 61 | way exp|ected, a|
|00004020| 6e 64 20 74 6f 20 70 72 | 6f 76 69 64 65 20 61 20 |nd to pr|ovide a |
|00004030| 70 72 65 74 74 69 65 72 | 20 76 65 72 73 69 6f 6e |prettier| version|
|00004040| 0a 58 6f 66 20 74 68 65 | 20 63 6f 6e 74 72 6f 6c |.Xof the| control|
|00004050| 20 66 69 6c 65 20 74 6f | 20 75 73 65 20 28 69 2e | file to| use (i.|
|00004060| 65 2e 20 69 74 20 69 73 | 20 6f 66 20 6c 69 6d 69 |e. it is| of limi|
|00004070| 74 65 64 20 75 73 65 29 | 2e 0a 58 2e 50 50 0a 58 |ted use)|..X.PP.X|
|00004080| 54 68 65 0a 58 2e 42 20 | 5c 2d 76 0a 58 6f 70 74 |The.X.B |\-v.Xopt|
|00004090| 69 6f 6e 20 74 65 6c 6c | 73 20 77 61 74 63 68 65 |ion tell|s watche|
|000040a0| 72 20 74 6f 20 62 65 20 | 76 65 72 62 6f 73 65 20 |r to be |verbose |
|000040b0| 61 73 20 69 74 20 69 73 | 20 72 75 6e 6e 69 6e 67 |as it is| running|
|000040c0| 2e 20 20 49 74 20 77 69 | 6c 6c 20 70 72 69 6e 74 |. It wi|ll print|
|000040d0| 20 6f 75 74 0a 58 76 61 | 72 69 6f 75 73 20 69 6e | out.Xva|rious in|
|000040e0| 66 6f 72 6d 61 74 69 6f | 6e 20 61 62 6f 75 74 20 |formatio|n about |
|000040f0| 77 68 65 72 65 20 69 74 | 20 69 73 20 6c 6f 6f 6b |where it| is look|
|00004100| 69 6e 67 20 66 6f 72 20 | 74 68 65 20 66 69 6c 65 |ing for |the file|
|00004110| 73 20 74 68 61 74 20 69 | 74 0a 58 75 73 65 73 2c |s that i|t.Xuses,|
|00004120| 20 74 68 65 20 63 6f 6d | 6d 61 6e 64 73 20 74 68 | the com|mands th|
|00004130| 61 74 20 69 74 20 69 73 | 20 65 78 65 63 75 74 69 |at it is| executi|
|00004140| 6e 67 2c 20 61 6e 64 20 | 74 68 65 20 6f 75 74 70 |ng, and |the outp|
|00004150| 75 74 20 66 72 6f 6d 20 | 74 68 65 73 65 0a 58 63 |ut from |these.Xc|
|00004160| 6f 6d 6d 61 6e 64 73 2e | 20 20 54 68 69 73 20 6f |ommands.| This o|
|00004170| 70 74 69 6f 6e 20 69 73 | 20 6d 61 69 6e 6c 79 20 |ption is| mainly |
|00004180| 6f 66 20 75 73 65 20 77 | 68 65 6e 20 64 65 62 75 |of use w|hen debu|
|00004190| 67 67 69 6e 67 20 63 6f | 6e 74 72 6f 6c 20 66 69 |gging co|ntrol fi|
|000041a0| 6c 65 73 20 6f 72 0a 58 | 64 65 62 75 67 67 69 6e |les or.X|debuggin|
|000041b0| 67 20 77 61 74 63 68 65 | 72 20 69 74 73 65 6c 66 |g watche|r itself|
|000041c0| 2e 0a 58 2e 50 50 0a 58 | 2e 49 20 57 61 74 63 68 |..X.PP.X|.I Watch|
|000041d0| 65 72 66 69 6c 65 0a 58 | 63 6f 6e 74 61 69 6e 73 |erfile.X|contains|
|000041e0| 20 61 20 73 65 71 75 65 | 6e 63 65 20 6f 66 20 65 | a seque|nce of e|
|000041f0| 6e 74 72 69 65 73 20 74 | 68 61 74 20 73 70 65 63 |ntries t|hat spec|
|00004200| 69 66 79 20 74 68 65 20 | 63 6f 6d 6d 61 6e 64 73 |ify the |commands|
|00004210| 20 74 6f 20 62 65 20 65 | 78 65 63 75 74 65 64 2c | to be e|xecuted,|
|00004220| 0a 58 74 68 65 20 6f 75 | 74 70 75 74 20 66 6f 72 |.Xthe ou|tput for|
|00004230| 6d 61 74 20 6f 66 20 74 | 68 6f 73 65 20 63 6f 6d |mat of t|hose com|
|00004240| 6d 61 6e 64 73 2c 20 61 | 6e 64 20 77 68 61 74 20 |mands, a|nd what |
|00004250| 63 68 61 6e 67 65 73 20 | 73 68 6f 75 6c 64 20 62 |changes |should b|
|00004260| 65 0a 58 72 65 70 6f 72 | 74 65 64 2e 20 20 54 68 |e.Xrepor|ted. Th|
|00004270| 65 20 66 6f 72 6d 61 74 | 20 6f 66 20 74 68 65 20 |e format| of the |
|00004280| 63 6f 6e 74 72 6f 6c 20 | 66 69 6c 65 20 69 73 20 |control |file is |
|00004290| 6f 6e 65 20 6f 72 20 6d | 6f 72 65 20 6f 66 20 74 |one or m|ore of t|
|000042a0| 68 65 0a 58 66 6f 6c 6c | 6f 77 69 6e 67 3a 0a 58 |he.Xfoll|owing:.X|
|000042b0| 2e 45 58 0a 58 28 20 3c | 70 69 70 65 6c 69 6e 65 |.EX.X( <|pipeline|
|000042c0| 3e 20 29 20 7b 20 3c 61 | 6c 69 61 73 3e 20 7d 0a |> ) { <a|lias> }.|
|000042d0| 58 09 3c 6f 75 74 70 75 | 74 20 66 6f 72 6d 61 74 |X.<outpu|t format|
|000042e0| 3e 20 3a 0a 58 09 3c 63 | 68 61 6e 67 65 20 66 6f |> :.X.<c|hange fo|
|000042f0| 72 6d 61 74 3e 2e 0a 58 | 2e 4e 58 0a 58 41 20 3c |rmat>..X|.NX.XA <|
|00004300| 70 69 70 65 6c 69 6e 65 | 3e 20 69 73 20 61 20 73 |pipeline|> is a s|
|00004310| 65 72 69 65 73 20 6f 66 | 20 63 6f 6d 6d 61 6e 64 |eries of| command|
|00004320| 73 20 6a 6f 69 6e 65 64 | 20 74 6f 67 65 74 68 65 |s joined| togethe|
|00004330| 72 20 77 69 74 68 20 70 | 69 70 65 73 20 28 27 7c |r with p|ipes ('||
|00004340| 27 29 2e 0a 58 54 68 69 | 73 20 63 6f 6d 6d 61 6e |')..XThi|s comman|
|00004350| 64 20 69 73 20 65 78 65 | 63 75 74 65 64 20 61 6e |d is exe|cuted an|
|00004360| 64 20 74 68 65 20 6f 75 | 74 70 75 74 20 70 61 72 |d the ou|tput par|
|00004370| 73 65 64 20 61 63 63 6f | 72 64 69 6e 67 20 74 6f |sed acco|rding to|
|00004380| 20 74 68 65 20 6f 75 74 | 70 75 74 0a 58 66 6f 72 | the out|put.Xfor|
|00004390| 6d 61 74 20 73 70 65 63 | 69 66 69 65 64 2e 20 20 |mat spec|ified. |
|000043a0| 49 74 20 69 73 20 74 68 | 65 6e 20 63 68 65 63 6b |It is th|en check|
|000043b0| 65 64 20 61 67 61 69 6e | 73 74 20 74 68 65 20 63 |ed again|st the c|
|000043c0| 68 61 6e 67 65 20 66 6f | 72 6d 61 74 20 66 6f 72 |hange fo|rmat for|
|000043d0| 0a 58 70 6f 74 65 6e 74 | 69 61 6c 20 70 72 6f 62 |.Xpotent|ial prob|
|000043e0| 6c 65 6d 73 2e 20 20 41 | 6e 20 3c 61 6c 69 61 73 |lems. A|n <alias|
|000043f0| 3e 20 69 73 20 6f 70 74 | 69 6f 6e 61 6c 3b 20 69 |> is opt|ional; i|
|00004400| 74 20 69 73 20 75 73 65 | 64 20 77 68 65 6e 20 69 |t is use|d when i|
|00004410| 64 65 6e 74 69 66 79 69 | 6e 67 0a 58 74 68 65 20 |dentifyi|ng.Xthe |
|00004420| 63 6f 6d 6d 61 6e 64 20 | 69 6e 20 74 68 65 20 72 |command |in the r|
|00004430| 65 70 6f 72 74 20 6f 66 | 20 70 72 6f 62 6c 65 6d |eport of| problem|
|00004440| 73 20 65 6e 63 6f 75 6e | 74 65 72 65 64 2e 20 20 |s encoun|tered. |
|00004450| 49 66 20 74 68 65 72 65 | 20 69 73 20 6e 6f 0a 58 |If there| is no.X|
|00004460| 61 6c 69 61 73 2c 20 74 | 68 65 20 65 6e 74 69 72 |alias, t|he entir|
|00004470| 65 20 70 69 70 65 6c 69 | 6e 65 20 69 73 20 75 73 |e pipeli|ne is us|
|00004480| 65 64 2e 20 20 54 68 65 | 20 72 65 61 73 6f 6e 20 |ed. The| reason |
|00004490| 66 6f 72 20 75 73 69 6e | 67 20 61 6e 20 61 6c 69 |for usin|g an ali|
|000044a0| 61 73 20 69 73 0a 58 74 | 6f 20 6b 65 65 70 20 74 |as is.Xt|o keep t|
|000044b0| 68 65 20 72 65 70 6f 72 | 74 20 63 6c 65 61 6e 3b |he repor|t clean;|
|000044c0| 20 74 68 65 20 70 69 70 | 65 6c 69 6e 65 73 20 74 | the pip|elines t|
|000044d0| 65 6e 64 20 74 6f 20 62 | 65 20 6c 6f 6e 67 20 61 |end to b|e long a|
|000044e0| 6e 64 20 6d 65 73 73 79 | 2e 0a 58 2e 50 50 0a 58 |nd messy|..X.PP.X|
|000044f0| 41 6e 20 3c 6f 75 74 70 | 75 74 20 66 6f 72 6d 61 |An <outp|ut forma|
|00004500| 74 3e 20 69 73 20 65 69 | 74 68 65 72 20 61 20 63 |t> is ei|ther a c|
|00004510| 6f 6c 75 6d 6e 20 66 6f | 72 6d 61 74 20 6f 72 20 |olumn fo|rmat or |
|00004520| 61 20 72 65 6c 61 74 69 | 76 65 20 66 6f 72 6d 61 |a relati|ve forma|
|00004530| 74 2e 20 20 41 0a 58 63 | 6f 6c 75 6d 6e 20 66 6f |t. A.Xc|olumn fo|
|00004540| 72 6d 61 74 20 69 73 20 | 6f 6e 65 20 6f 72 20 6d |rmat is |one or m|
|00004550| 6f 72 65 20 6f 66 20 74 | 68 65 20 66 6f 6c 6c 6f |ore of t|he follo|
|00004560| 77 69 6e 67 3a 0a 58 2e | 45 58 0a 58 09 3c 73 74 |wing:.X.|EX.X.<st|
|00004570| 61 72 74 3e 20 2d 20 3c | 65 6e 64 3e 20 3c 6e 61 |art> - <|end> <na|
|00004580| 6d 65 3e 20 25 20 3c 74 | 79 70 65 3e 20 0a 58 2e |me> % <t|ype> .X.|
|00004590| 4e 58 0a 58 57 68 65 72 | 65 20 3c 73 74 61 72 74 |NX.XWher|e <start|
|000045a0| 3e 20 69 73 20 74 68 65 | 20 66 69 72 73 74 20 63 |> is the| first c|
|000045b0| 6f 6c 75 6d 6e 20 63 6f | 6e 74 61 69 6e 69 6e 67 |olumn co|ntaining|
|000045c0| 20 74 68 65 20 69 6e 66 | 6f 72 6d 61 74 69 6f 6e | the inf|ormation|
|000045d0| 20 74 6f 20 62 65 20 63 | 6f 6d 70 61 72 65 64 20 | to be c|ompared |
|000045e0| 61 6e 64 0a 58 3c 65 6e | 64 3e 20 69 73 20 74 68 |and.X<en|d> is th|
|000045f0| 65 20 6c 61 73 74 20 6f | 6e 65 2e 20 20 3c 6e 61 |e last o|ne. <na|
|00004600| 6d 65 3e 20 69 73 20 74 | 68 65 20 6e 61 6d 65 20 |me> is t|he name |
|00004610| 6f 66 20 74 68 65 20 66 | 69 65 6c 64 2e 20 20 54 |of the f|ield. T|
|00004620| 68 69 73 20 6e 61 6d 65 | 20 69 73 0a 58 6d 61 74 |his name| is.Xmat|
|00004630| 63 68 65 64 20 77 69 74 | 68 20 74 68 65 20 6e 61 |ched wit|h the na|
|00004640| 6d 65 73 20 69 6e 20 74 | 68 65 20 63 68 61 6e 67 |mes in t|he chang|
|00004650| 65 20 66 6f 72 6d 61 74 | 20 74 6f 20 69 64 65 6e |e format| to iden|
|00004660| 74 69 66 79 20 77 68 65 | 72 65 20 69 6e 20 74 68 |tify whe|re in th|
|00004670| 65 0a 58 6f 75 74 70 75 | 74 20 74 68 65 20 61 70 |e.Xoutpu|t the ap|
|00004680| 70 72 6f 70 72 69 61 74 | 65 20 69 6e 66 6f 72 6d |propriat|e inform|
|00004690| 61 74 69 6f 6e 20 69 73 | 2e 20 20 3c 74 79 70 65 |ation is|. <type|
|000046a0| 3e 20 69 73 20 65 69 74 | 68 65 72 20 22 64 22 2c |> is eit|her "d",|
|000046b0| 20 22 73 22 2c 20 6f 72 | 0a 58 22 6b 22 20 73 70 | "s", or|.X"k" sp|
|000046c0| 65 63 69 66 79 69 6e 67 | 20 6e 75 6d 65 72 69 63 |ecifying| numeric|
|000046d0| 20 6f 72 20 73 74 72 69 | 6e 67 20 64 61 74 61 2c | or stri|ng data,|
|000046e0| 20 6f 72 20 61 20 6b 65 | 79 77 6f 72 64 20 77 68 | or a ke|yword wh|
|000046f0| 69 63 68 20 69 73 20 75 | 73 65 64 20 69 6e 0a 58 |ich is u|sed in.X|
|00004700| 6d 61 74 63 68 69 6e 67 | 20 6f 75 74 70 75 74 20 |matching| output |
|00004710| 66 72 6f 6d 20 74 68 65 | 20 76 61 72 69 6f 75 73 |from the| various|
|00004720| 20 70 72 6f 67 72 61 6d | 73 20 62 65 74 77 65 65 | program|s betwee|
|00004730| 6e 20 72 75 6e 73 2e 0a | 58 2e 50 50 0a 58 52 65 |n runs..|X.PP.XRe|
|00004740| 6c 61 74 69 76 65 20 66 | 6f 72 6d 61 74 73 20 61 |lative f|ormats a|
|00004750| 72 65 20 6f 6e 65 20 6f | 72 20 6d 6f 72 65 20 6f |re one o|r more o|
|00004760| 66 20 74 68 65 20 66 6f | 6c 6c 6f 77 69 6e 67 3a |f the fo|llowing:|
|00004770| 0a 58 2e 45 58 0a 58 3c | 66 69 65 6c 64 3e 20 3c |.X.EX.X<|field> <|
|00004780| 6e 61 6d 65 3e 20 25 20 | 3c 74 79 70 65 3e 0a 58 |name> % |<type>.X|
|00004790| 2e 4e 58 0a 58 57 68 65 | 72 65 20 3c 66 69 65 6c |.NX.XWhe|re <fiel|
|000047a0| 64 3e 20 69 73 20 74 68 | 65 20 66 69 65 6c 64 20 |d> is th|e field |
|000047b0| 6f 6e 20 74 68 65 20 6c | 69 6e 65 20 28 61 20 66 |on the l|ine (a f|
|000047c0| 69 65 6c 64 20 69 73 20 | 64 65 66 69 6e 65 64 20 |ield is |defined |
|000047d0| 61 73 20 61 20 73 65 71 | 75 65 6e 63 65 0a 58 6f |as a seq|uence.Xo|
|000047e0| 66 20 6e 6f 6e 2d 77 68 | 69 74 65 73 70 61 63 65 |f non-wh|itespace|
|000047f0| 20 73 75 72 72 6f 75 6e | 64 65 64 20 62 79 20 77 | surroun|ded by w|
|00004800| 68 69 74 65 73 70 61 63 | 65 29 2e 20 20 3c 6e 61 |hitespac|e). <na|
|00004810| 6d 65 3e 20 61 6e 64 20 | 3c 74 79 70 65 3e 20 61 |me> and |<type> a|
|00004820| 72 65 20 74 68 65 0a 58 | 73 61 6d 65 20 61 73 20 |re the.X|same as |
|00004830| 66 6f 72 20 61 62 6f 76 | 65 2e 0a 58 2e 50 50 0a |for abov|e..X.PP.|
|00004840| 58 41 20 63 68 61 6e 67 | 65 20 66 6f 72 6d 61 74 |XA chang|e format|
|00004850| 20 63 6f 6e 73 69 73 74 | 73 20 6f 66 20 76 61 72 | consist|s of var|
|00004860| 69 6f 75 73 20 6e 61 6d | 65 73 20 61 6e 64 20 77 |ious nam|es and w|
|00004870| 68 61 74 20 63 68 61 6e | 67 65 73 20 61 72 65 0a |hat chan|ges are.|
|00004880| 58 61 6c 6c 6f 77 61 62 | 6c 65 2e 20 20 43 68 61 |Xallowab|le. Cha|
|00004890| 6e 67 65 20 66 6f 72 6d | 61 74 20 65 6e 74 72 69 |nge form|at entri|
|000048a0| 65 73 20 61 72 65 20 73 | 65 70 61 72 61 74 65 64 |es are s|eparated|
|000048b0| 20 62 79 20 73 65 6d 69 | 63 6f 6c 6f 6e 73 20 28 | by semi|colons (|
|000048c0| 27 3b 27 29 2e 20 20 54 | 68 65 0a 58 6c 69 73 74 |';'). T|he.Xlist|
|000048d0| 20 6f 66 20 63 68 61 6e | 67 65 20 66 6f 72 6d 61 | of chan|ge forma|
|000048e0| 74 73 20 69 73 20 74 65 | 72 6d 69 6e 61 74 65 64 |ts is te|rminated|
|000048f0| 20 62 79 20 61 20 70 65 | 72 69 6f 64 20 28 27 2e | by a pe|riod ('.|
|00004900| 27 29 2e 20 20 41 20 73 | 65 6d 69 63 6f 6c 6f 6e |'). A s|emicolon|
|00004910| 0a 58 64 6f 65 73 20 6e | 6f 74 20 66 6f 6c 6c 6f |.Xdoes n|ot follo|
|00004920| 77 20 74 68 65 20 6c 61 | 73 74 20 63 68 61 6e 67 |w the la|st chang|
|00004930| 65 20 66 6f 72 6d 61 74 | 2e 0a 58 2e 49 20 57 61 |e format|..X.I Wa|
|00004940| 74 63 68 65 72 0a 58 6b | 6e 6f 77 73 20 61 62 6f |tcher.Xk|nows abo|
|00004950| 75 74 20 34 20 74 79 70 | 65 73 20 6f 66 20 63 68 |ut 4 typ|es of ch|
|00004960| 61 6e 67 65 73 2e 20 20 | 49 74 20 63 61 6e 20 63 |anges. |It can c|
|00004970| 6f 6d 70 61 72 65 20 74 | 68 65 20 6f 75 74 70 75 |ompare t|he outpu|
|00004980| 74 20 28 6e 75 6d 65 72 | 69 63 29 0a 58 74 6f 20 |t (numer|ic).Xto |
|00004990| 74 68 65 20 70 72 65 76 | 69 6f 75 73 20 76 61 6c |the prev|ious val|
|000049a0| 75 65 20 61 6e 64 20 63 | 61 6c 63 75 6c 61 74 65 |ue and c|alculate|
|000049b0| 20 74 68 65 20 70 65 72 | 63 65 6e 74 61 67 65 20 | the per|centage |
|000049c0| 63 68 61 6e 67 65 2e 20 | 20 49 66 20 74 68 65 0a |change. | If the.|
|000049d0| 58 63 68 61 6e 67 65 20 | 69 73 20 67 72 65 61 74 |Xchange |is great|
|000049e0| 65 72 20 74 68 61 74 20 | 61 20 73 65 74 20 61 6d |er that |a set am|
|000049f0| 6f 75 6e 74 2c 20 61 20 | 6d 65 73 73 61 67 65 20 |ount, a |message |
|00004a00| 69 73 20 67 65 6e 65 72 | 61 74 65 64 2e 20 20 54 |is gener|ated. T|
|00004a10| 68 65 20 73 79 6e 74 61 | 78 0a 58 6f 66 20 74 68 |he synta|x.Xof th|
|00004a20| 69 73 20 66 6f 72 6d 61 | 74 20 69 73 3a 0a 58 2e |is forma|t is:.X.|
|00004a30| 45 58 0a 58 09 3c 6e 61 | 6d 65 3e 20 3c 76 61 6c |EX.X.<na|me> <val|
|00004a40| 75 65 3e 20 25 20 0a 58 | 2e 4e 58 0a 58 77 68 65 |ue> % .X|.NX.Xwhe|
|00004a50| 72 65 20 3c 6e 61 6d 65 | 3e 20 69 73 20 61 20 6e |re <name|> is a n|
|00004a60| 61 6d 65 20 6d 61 74 63 | 68 69 6e 67 20 61 20 6e |ame matc|hing a n|
|00004a70| 61 6d 65 20 69 6e 20 74 | 68 65 20 6f 75 74 70 75 |ame in t|he outpu|
|00004a80| 74 20 66 6f 72 6d 61 74 | 20 61 6e 64 20 3c 76 61 |t format| and <va|
|00004a90| 6c 75 65 0a 58 69 73 20 | 74 68 65 20 6d 61 78 69 |lue.Xis |the maxi|
|00004aa0| 6d 75 6d 20 70 65 72 63 | 65 6e 74 61 67 65 20 63 |mum perc|entage c|
|00004ab0| 68 61 6e 67 65 20 77 68 | 69 63 68 20 69 73 20 61 |hange wh|ich is a|
|00004ac0| 6c 6c 6f 77 65 64 20 62 | 65 66 6f 72 65 20 61 20 |llowed b|efore a |
|00004ad0| 72 65 70 6f 72 74 20 69 | 73 0a 58 69 73 73 75 65 |report i|s.Xissue|
|00004ae0| 64 2e 0a 58 2e 50 50 0a | 58 56 65 72 79 20 73 69 |d..X.PP.|XVery si|
|00004af0| 6d 69 6c 61 72 20 74 6f | 20 74 68 65 20 70 65 72 |milar to| the per|
|00004b00| 63 65 6e 74 61 67 65 20 | 63 68 61 6e 67 65 20 69 |centage |change i|
|00004b10| 73 20 74 68 65 20 61 62 | 73 6f 6c 75 74 65 20 63 |s the ab|solute c|
|00004b20| 68 61 6e 67 65 2e 20 20 | 54 68 65 20 6f 6e 6c 79 |hange. |The only|
|00004b30| 0a 58 64 69 66 66 65 72 | 65 6e 63 65 20 69 73 20 |.Xdiffer|ence is |
|00004b40| 74 68 61 74 20 61 20 70 | 65 72 63 65 6e 74 61 67 |that a p|ercentag|
|00004b50| 65 20 69 73 20 6e 6f 74 | 20 63 61 6c 63 75 6c 61 |e is not| calcula|
|00004b60| 74 65 64 2e 20 20 54 68 | 65 20 64 69 66 66 65 72 |ted. Th|e differ|
|00004b70| 65 6e 63 65 20 69 73 0a | 58 63 61 6c 63 75 6c 61 |ence is.|Xcalcula|
|00004b80| 74 65 64 20 61 6e 64 20 | 63 6f 6d 70 61 72 65 64 |ted and |compared|
|00004b90| 20 74 6f 20 74 68 65 20 | 76 61 6c 75 65 20 67 69 | to the |value gi|
|00004ba0| 76 65 6e 2e 20 20 56 61 | 6c 75 65 73 20 67 72 65 |ven. Va|lues gre|
|00004bb0| 61 74 65 72 20 74 68 61 | 74 20 77 68 61 74 20 69 |ater tha|t what i|
|00004bc0| 73 0a 58 70 72 6f 76 69 | 64 65 64 20 61 72 65 20 |s.Xprovi|ded are |
|00004bd0| 72 65 70 6f 72 74 65 64 | 2e 20 20 54 68 65 20 73 |reported|. The s|
|00004be0| 79 6e 74 61 78 20 69 73 | 3a 0a 58 2e 45 58 0a 58 |yntax is|:.X.EX.X|
|00004bf0| 09 3c 6e 61 6d 65 3e 20 | 3c 76 61 6c 75 65 3e 0a |.<name> |<value>.|
|00004c00| 58 2e 4e 58 0a 58 2e 50 | 50 0a 58 41 20 6d 61 78 |X.NX.X.P|P.XA max|
|00004c10| 69 6d 75 6d 20 61 6e 64 | 20 6d 69 6e 69 6d 75 6d |imum and| minimum|
|00004c20| 20 6d 61 79 20 62 65 20 | 73 70 65 63 69 66 69 65 | may be |specifie|
|00004c30| 64 20 66 6f 72 20 6e 75 | 6d 65 72 69 63 20 64 61 |d for nu|meric da|
|00004c40| 74 61 20 61 6c 73 6f 2e | 20 20 54 68 69 73 20 69 |ta also.| This i|
|00004c50| 73 0a 58 75 73 65 66 75 | 6c 20 66 6f 72 20 6f 6e |s.Xusefu|l for on|
|00004c60| 6c 79 20 6e 75 6d 65 72 | 69 63 20 64 61 74 61 2e |ly numer|ic data.|
|00004c70| 20 20 54 68 65 20 66 6f | 72 6d 61 74 20 66 6f 72 | The fo|rmat for|
|00004c80| 20 74 68 69 73 20 69 73 | 3a 0a 58 2e 45 58 0a 58 | this is|:.X.EX.X|
|00004c90| 09 3c 6e 61 6d 65 3e 20 | 3c 6d 61 78 3e 20 3c 6d |.<name> |<max> <m|
|00004ca0| 69 6e 3e 0a 58 2e 4e 58 | 0a 58 2e 50 50 0a 58 2e |in>.X.NX|.X.PP.X.|
|00004cb0| 49 20 57 61 74 63 68 65 | 72 0a 58 63 61 6e 20 61 |I Watche|r.Xcan a|
|00004cc0| 6c 73 6f 20 77 61 74 63 | 68 20 66 6f 72 20 73 74 |lso watc|h for st|
|00004cd0| 72 69 6e 67 20 76 61 6c | 75 65 73 20 63 68 61 6e |ring val|ues chan|
|00004ce0| 67 69 6e 67 20 66 72 6f | 6d 20 61 20 67 69 76 65 |ging fro|m a give|
|00004cf0| 6e 20 76 61 6c 75 65 20 | 74 6f 20 61 6e 79 0a 58 |n value |to any.X|
|00004d00| 6f 74 68 65 72 20 76 61 | 6c 75 65 2e 20 20 54 68 |other va|lue. Th|
|00004d10| 69 73 20 73 79 6e 74 61 | 78 20 69 73 3a 0a 58 2e |is synta|x is:.X.|
|00004d20| 45 58 0a 58 09 3c 6e 61 | 6d 65 3e 20 22 3c 76 61 |EX.X.<na|me> "<va|
|00004d30| 6c 75 65 3e 22 0a 58 2e | 4e 58 0a 58 2e 50 50 0a |lue>".X.|NX.X.PP.|
|00004d40| 58 41 20 73 61 6d 70 6c | 65 20 63 6f 6e 74 72 6f |XA sampl|e contro|
|00004d50| 6c 20 66 69 6c 65 20 69 | 73 20 70 72 6f 76 69 64 |l file i|s provid|
|00004d60| 65 64 20 62 65 6c 6f 77 | 3a 0a 58 2e 45 58 0a 58 |ed below|:.X.EX.X|
|00004d70| 28 64 66 20 2d 69 20 7c | 20 2f 75 73 72 2f 75 63 |(df -i || /usr/uc|
|00004d80| 62 2f 74 61 69 6c 20 2b | 32 29 20 7b 20 64 66 20 |b/tail +|2) { df |
|00004d90| 7d 0a 58 09 31 2d 39 20 | 66 69 6c 65 73 79 73 74 |}.X.1-9 |filesyst|
|00004da0| 65 6d 25 6b 20 34 31 2d | 34 32 20 73 70 61 63 65 |em%k 41-|42 space|
|00004db0| 75 73 65 64 25 64 20 36 | 34 2d 36 35 20 69 6e 6f |used%d 6|4-65 ino|
|00004dc0| 64 65 73 75 73 65 64 25 | 64 20 31 2d 39 20 64 65 |desused%|d 1-9 de|
|00004dd0| 76 69 63 65 25 6b 3a 0a | 58 09 09 73 70 61 63 65 |vice%k:.|X..space|
|00004de0| 75 73 65 64 20 31 35 25 | 3b 0a 58 09 09 73 70 61 |used 15%|;.X..spa|
|00004df0| 63 65 75 73 65 64 20 30 | 20 38 39 3b 0a 58 09 09 |ceused 0| 89;.X..|
|00004e00| 69 6e 6f 64 65 73 75 73 | 65 64 20 31 35 25 3b 0a |inodesus|ed 15%;.|
|00004e10| 58 09 09 69 6e 6f 64 65 | 73 75 73 65 64 20 30 20 |X..inode|sused 0 |
|00004e20| 34 39 2e 0a 58 28 2f 75 | 73 72 2f 75 63 62 2f 72 |49..X(/u|sr/ucb/r|
|00004e30| 75 70 74 69 6d 65 20 7c | 20 66 67 72 65 70 20 2d |uptime || fgrep -|
|00004e40| 66 20 55 6e 6d 48 6f 73 | 74 73 29 20 7b 20 72 75 |f UnmHos|ts) { ru|
|00004e50| 70 74 69 6d 65 20 7d 0a | 58 09 32 20 73 74 61 74 |ptime }.|X.2 stat|
|00004e60| 75 73 25 73 20 31 20 6d | 61 63 68 69 6e 65 25 6b |us%s 1 m|achine%k|
|00004e70| 20 37 20 6c 6f 61 64 61 | 76 25 64 3a 0a 58 09 09 | 7 loada|v%d:.X..|
|00004e80| 6c 6f 61 64 61 76 20 30 | 20 31 30 3b 0a 58 09 09 |loadav 0| 10;.X..|
|00004e90| 73 74 61 74 75 73 20 22 | 75 70 22 2e 0a 58 28 70 |status "|up"..X(p|
|00004ea0| 73 20 2d 61 75 78 20 7c | 20 66 67 72 65 70 20 2d |s -aux || fgrep -|
|00004eb0| 76 20 2d 66 20 44 61 65 | 6d 6f 6e 73 20 7c 20 2f |v -f Dae|mons | /|
|00004ec0| 75 73 72 2f 75 63 62 2f | 74 61 69 6c 20 2b 32 29 |usr/ucb/|tail +2)|
|00004ed0| 20 7b 20 27 70 73 20 77 | 69 74 68 20 6e 6f 20 64 | { 'ps w|ith no d|
|00004ee0| 61 65 6d 6f 6e 73 27 20 | 7d 0a 58 09 39 2d 31 34 |aemons' |}.X.9-14|
|00004ef0| 20 70 69 64 25 6b 20 31 | 36 2d 31 39 20 70 65 72 | pid%k 1|6-19 per|
|00004f00| 63 65 6e 74 63 70 75 25 | 64 20 34 32 2d 34 35 20 |centcpu%|d 42-45 |
|00004f10| 63 70 75 74 69 6d 65 25 | 64 3a 0a 58 09 09 63 70 |cputime%|d:.X..cp|
|00004f20| 75 74 69 6d 65 20 30 20 | 31 30 2e 0a 58 2e 4e 58 |utime 0 |10..X.NX|
|00004f30| 0a 58 4e 6f 74 65 20 74 | 68 61 74 20 74 68 65 72 |.XNote t|hat ther|
|00004f40| 65 20 69 73 20 6e 6f 20 | 6f 72 64 65 72 20 66 6f |e is no |order fo|
|00004f50| 72 20 74 68 65 20 6f 75 | 74 70 75 74 20 66 6f 72 |r the ou|tput for|
|00004f60| 6d 61 74 20 73 70 65 63 | 69 66 69 65 72 73 3b 20 |mat spec|ifiers; |
|00004f70| 74 68 65 20 73 65 63 6f | 6e 64 0a 58 66 69 65 6c |the seco|nd.Xfiel|
|00004f80| 64 20 6d 61 79 20 62 65 | 20 73 70 65 63 69 66 69 |d may be| specifi|
|00004f90| 65 64 20 62 65 66 6f 72 | 65 20 74 68 65 20 66 69 |ed befor|e the fi|
|00004fa0| 72 73 74 2e 20 20 0a 58 | 2e 50 50 0a 58 41 6c 6c |rst. .X|.PP.XAll|
|00004fb0| 20 6e 61 6d 65 73 20 61 | 72 65 20 6f 66 20 61 72 | names a|re of ar|
|00004fc0| 62 69 74 72 61 72 79 20 | 6c 65 6e 67 74 68 2c 20 |bitrary |length, |
|00004fd0| 73 74 61 72 74 20 77 69 | 74 68 20 5b 61 2d 7a 41 |start wi|th [a-zA|
|00004fe0| 2d 5a 5d 20 61 6e 64 20 | 63 6f 6e 74 61 69 6e 20 |-Z] and |contain |
|00004ff0| 6e 6f 0a 58 77 68 69 74 | 65 20 73 70 61 63 65 20 |no.Xwhit|e space |
|00005000| 75 6e 6c 65 73 73 20 65 | 6e 63 6c 6f 73 65 64 20 |unless e|nclosed |
|00005010| 69 6e 20 74 69 63 73 20 | 28 22 27 22 29 2e 0a 58 |in tics |("'")..X|
|00005020| 2e 50 50 0a 58 54 68 65 | 20 70 69 70 65 6c 69 6e |.PP.XThe| pipelin|
|00005030| 65 20 69 73 20 65 78 65 | 63 75 74 65 64 20 62 79 |e is exe|cuted by|
|00005040| 20 0a 58 2e 49 20 70 6f | 70 65 6e 28 33 29 2c 0a | .X.I po|pen(3),.|
|00005050| 58 77 68 69 63 68 20 75 | 73 65 73 20 0a 58 2e 49 |Xwhich u|ses .X.I|
|00005060| 20 73 68 28 31 29 0a 58 | 74 6f 20 65 78 70 61 6e | sh(1).X|to expan|
|00005070| 64 20 74 68 65 20 63 6f | 6d 6d 61 6e 64 3b 20 74 |d the co|mmand; t|
|00005080| 68 65 72 65 66 6f 72 65 | 20 73 68 65 6c 6c 20 6d |herefore| shell m|
|00005090| 65 74 61 63 68 61 72 61 | 63 74 65 72 73 20 6d 61 |etachara|cters ma|
|000050a0| 79 20 62 65 20 75 73 65 | 64 2e 0a 58 2e 50 50 0a |y be use|d..X.PP.|
|000050b0| 58 54 68 65 20 63 6f 6e | 74 72 6f 6c 20 66 69 6c |XThe con|trol fil|
|000050c0| 65 20 6d 61 79 20 68 61 | 76 65 20 63 6f 6d 6d 65 |e may ha|ve comme|
|000050d0| 6e 74 73 20 69 6e 20 69 | 74 2e 20 20 43 6f 6d 6d |nts in i|t. Comm|
|000050e0| 65 6e 74 73 20 61 72 65 | 20 64 65 6c 69 6d 69 74 |ents are| delimit|
|000050f0| 65 64 20 62 79 20 61 20 | 23 0a 58 6f 6e 20 74 68 |ed by a |#.Xon th|
|00005100| 65 20 6c 65 66 74 20 61 | 6e 64 20 61 20 6e 65 77 |e left a|nd a new|
|00005110| 6c 69 6e 65 20 6f 6e 20 | 74 68 65 20 72 69 67 68 |line on |the righ|
|00005120| 74 2e 0a 58 2e 53 48 20 | 46 49 4c 45 53 0a 58 2e |t..X.SH |FILES.X.|
|00005130| 6e 66 0a 58 57 61 74 63 | 68 65 72 66 69 6c 65 20 |nf.XWatc|herfile |
|00005140| 6f 72 20 77 61 74 63 68 | 65 72 66 69 6c 65 09 64 |or watch|erfile.d|
|00005150| 65 66 61 75 6c 74 20 63 | 6f 6e 74 72 6f 6c 20 66 |efault c|ontrol f|
|00005160| 69 6c 65 2e 0a 58 77 61 | 74 63 68 65 72 2e 68 69 |ile..Xwa|tcher.hi|
|00005170| 73 74 6f 72 79 09 09 09 | 64 65 66 61 75 6c 74 20 |story...|default |
|00005180| 66 69 6c 65 20 63 6f 6e | 74 61 69 6e 69 6e 67 20 |file con|taining |
|00005190| 72 65 73 75 6c 74 73 20 | 6f 66 20 70 72 65 76 69 |results |of previ|
|000051a0| 6f 75 73 20 72 75 6e 2e | 0a 58 2e 53 48 20 41 55 |ous run.|.X.SH AU|
|000051b0| 54 48 4f 52 0a 58 2e 6e | 66 0a 58 4b 65 6e 6e 65 |THOR.X.n|f.XKenne|
|000051c0| 74 68 20 49 6e 67 68 61 | 6d 0a 58 55 6e 69 76 65 |th Ingha|m.XUnive|
|000051d0| 72 73 69 74 79 20 6f 66 | 20 4e 65 77 20 4d 65 78 |rsity of| New Mex|
|000051e0| 69 63 6f 20 43 6f 6d 70 | 75 74 69 6e 67 20 43 65 |ico Comp|uting Ce|
|000051f0| 6e 74 65 72 0a 58 32 37 | 30 31 20 43 61 6d 70 75 |nter.X27|01 Campu|
|00005200| 73 20 4e 45 0a 58 41 6c | 62 75 71 75 65 72 71 75 |s NE.XAl|buquerqu|
|00005210| 65 2c 20 4e 4d 2c 20 38 | 37 31 33 31 0a 58 69 6e |e, NM, 8|7131.Xin|
|00005220| 67 68 61 6d 40 63 68 61 | 72 6f 6e 2e 75 6e 6d 2e |gham@cha|ron.unm.|
|00005230| 65 64 75 0a 58 2e 53 48 | 20 22 53 45 45 20 41 4c |edu.X.SH| "SEE AL|
|00005240| 53 4f 22 0a 58 70 6f 70 | 65 6e 28 33 29 2c 20 73 |SO".Xpop|en(3), s|
|00005250| 68 28 31 29 2c 0a 58 2e | 49 20 4b 65 65 70 69 6e |h(1),.X.|I Keepin|
|00005260| 67 20 57 61 74 63 68 20 | 6f 76 65 72 20 74 68 65 |g Watch |over the|
|00005270| 20 0a 58 2e 49 20 46 6c | 6f 63 6b 73 20 62 79 20 | .X.I Fl|ocks by |
|00005280| 4e 69 67 68 74 20 28 61 | 6e 64 20 64 61 79 29 0a |Night (a|nd day).|
|00005290| 58 62 79 20 4b 65 6e 6e | 65 74 68 20 49 6e 67 68 |Xby Kenn|eth Ingh|
|000052a0| 61 6d 2c 20 53 75 6d 6d | 65 72 20 31 39 38 37 20 |am, Summ|er 1987 |
|000052b0| 55 73 65 6e 69 78 20 70 | 72 6f 63 65 65 64 69 6e |Usenix p|roceedin|
|000052c0| 67 73 2e 0a 58 2e 53 48 | 20 44 49 41 47 4e 4f 53 |gs..X.SH| DIAGNOS|
|000052d0| 54 49 43 53 0a 58 46 69 | 6c 65 73 20 77 68 69 63 |TICS.XFi|les whic|
|000052e0| 68 20 63 61 6e 27 74 20 | 62 65 20 6f 70 65 6e 65 |h can't |be opene|
|000052f0| 64 20 63 61 75 73 65 20 | 61 20 6d 65 73 73 61 67 |d cause |a messag|
|00005300| 65 20 61 62 6f 75 74 20 | 77 68 69 63 68 20 66 69 |e about |which fi|
|00005310| 6c 65 73 20 63 6f 75 6c | 64 6e 27 74 0a 58 62 65 |les coul|dn't.Xbe|
|00005320| 20 66 6f 75 6e 64 20 61 | 6e 64 20 74 68 65 20 70 | found a|nd the p|
|00005330| 72 6f 67 72 61 6d 20 65 | 78 69 74 73 2e 0a 58 2e |rogram e|xits..X.|
|00005340| 73 70 0a 58 54 68 65 72 | 65 20 61 72 65 20 76 61 |sp.XTher|e are va|
|00005350| 72 69 6f 75 73 20 73 79 | 6e 74 61 78 20 65 72 72 |rious sy|ntax err|
|00005360| 6f 72 73 20 77 68 65 6e | 20 70 61 72 73 69 6e 67 |ors when| parsing|
|00005370| 20 74 68 65 20 63 6f 6e | 74 72 6f 6c 66 69 6c 65 | the con|trolfile|
|00005380| 2e 20 20 54 68 65 73 65 | 0a 58 61 6c 73 6f 20 63 |. These|.Xalso c|
|00005390| 61 75 73 65 20 61 6e 20 | 65 78 69 74 2e 0a 58 2e |ause an |exit..X.|
|000053a0| 73 70 0a 58 2e 49 20 57 | 61 74 63 68 65 72 0a 58 |sp.X.I W|atcher.X|
|000053b0| 63 6f 6d 70 6c 61 69 6e | 73 20 77 68 65 6e 20 6f |complain|s when o|
|000053c0| 75 74 70 75 74 20 64 6f | 65 73 20 6e 6f 74 20 70 |utput do|es not p|
|000053d0| 61 72 73 65 20 61 63 63 | 6f 72 64 69 6e 67 20 74 |arse acc|ording t|
|000053e0| 6f 20 74 68 65 20 66 6f | 72 6d 61 74 0a 58 70 72 |o the fo|rmat.Xpr|
|000053f0| 6f 76 69 64 65 64 2e 20 | 20 49 74 20 77 69 6c 6c |ovided. | It will|
|00005400| 20 63 6f 6e 74 69 6e 75 | 65 20 74 6f 20 6c 6f 6f | continu|e to loo|
|00005410| 6b 20 61 74 20 74 68 65 | 20 72 65 73 74 20 6f 66 |k at the| rest of|
|00005420| 20 74 68 65 20 6f 75 74 | 70 75 74 2e 0a 58 2e 53 | the out|put..X.S|
|00005430| 48 20 42 55 47 53 0a 58 | 53 79 6e 74 61 78 20 65 |H BUGS.X|Syntax e|
|00005440| 72 72 6f 72 73 20 69 6e | 20 63 6f 6e 74 72 6f 6c |rrors in| control|
|00005450| 20 66 69 6c 65 20 61 72 | 65 20 6e 6f 74 20 65 61 | file ar|e not ea|
|00005460| 73 79 20 74 6f 20 66 69 | 6e 64 20 62 61 73 65 64 |sy to fi|nd based|
|00005470| 20 6f 6e 20 74 68 65 20 | 65 72 72 6f 72 0a 58 6d | on the |error.Xm|
|00005480| 65 73 73 61 67 65 73 2e | 0a 58 2e 73 70 0a 58 44 |essages.|.X.sp.XD|
|00005490| 6f 65 73 6e 27 74 20 77 | 61 72 6e 20 77 68 65 6e |oesn't w|arn when|
|000054a0| 20 61 20 73 74 72 69 6e | 67 20 76 61 72 69 61 62 | a strin|g variab|
|000054b0| 6c 65 20 68 61 73 20 62 | 65 65 6e 20 73 65 6c 65 |le has b|een sele|
|000054c0| 63 74 65 64 20 66 6f 72 | 20 61 20 6e 75 6d 65 72 |cted for| a numer|
|000054d0| 69 63 0a 58 63 6f 6d 70 | 61 72 69 73 6f 6e 2e 0a |ic.Xcomp|arison..|
|000054e0| 58 2e 73 70 0a 58 4f 6e | 6c 79 20 6e 6f 74 69 63 |X.sp.XOn|ly notic|
|000054f0| 65 73 20 63 68 61 6e 67 | 65 73 20 77 68 69 63 68 |es chang|es which|
|00005500| 20 67 65 74 20 62 69 67 | 67 65 72 3b 20 74 68 69 | get big|ger; thi|
|00005510| 6e 67 73 20 77 68 69 63 | 68 20 73 75 64 64 65 6e |ngs whic|h sudden|
|00005520| 6c 79 0a 58 64 72 6f 70 | 20 77 69 6c 6c 20 6e 6f |ly.Xdrop| will no|
|00005530| 74 20 62 65 20 6e 6f 74 | 69 63 65 64 2e 0a 45 4e |t be not|iced..EN|
|00005540| 44 5f 4f 46 5f 44 6f 63 | 73 2f 77 61 74 63 68 65 |D_OF_Doc|s/watche|
|00005550| 72 2e 31 0a 69 66 20 74 | 65 73 74 20 36 31 37 35 |r.1.if t|est 6175|
|00005560| 20 2d 6e 65 20 60 77 63 | 20 2d 63 20 3c 44 6f 63 | -ne `wc| -c <Doc|
|00005570| 73 2f 77 61 74 63 68 65 | 72 2e 31 60 3b 20 74 68 |s/watche|r.1`; th|
|00005580| 65 6e 0a 20 20 20 20 65 | 63 68 6f 20 73 68 61 72 |en. e|cho shar|
|00005590| 3a 20 5c 22 44 6f 63 73 | 2f 77 61 74 63 68 65 72 |: \"Docs|/watcher|
|000055a0| 2e 31 5c 22 20 75 6e 70 | 61 63 6b 65 64 20 77 69 |.1\" unp|acked wi|
|000055b0| 74 68 20 77 72 6f 6e 67 | 20 73 69 7a 65 21 0a 66 |th wrong| size!.f|
|000055c0| 69 0a 23 20 65 6e 64 20 | 6f 66 20 6f 76 65 72 77 |i.# end |of overw|
|000055d0| 72 69 74 69 6e 67 20 63 | 68 65 63 6b 0a 66 69 0a |riting c|heck.fi.|
|000055e0| 69 66 20 74 65 73 74 20 | 2d 66 20 63 6f 6e 74 72 |if test |-f contr|
|000055f0| 6f 6c 2e 79 20 2d 61 20 | 22 24 7b 31 7d 22 20 21 |ol.y -a |"${1}" !|
|00005600| 3d 20 22 2d 63 22 20 3b | 20 74 68 65 6e 20 0a 20 |= "-c" ;| then . |
|00005610| 20 65 63 68 6f 20 73 68 | 61 72 3a 20 57 69 6c 6c | echo sh|ar: Will|
|00005620| 20 6e 6f 74 20 6f 76 65 | 72 2d 77 72 69 74 65 20 | not ove|r-write |
|00005630| 65 78 69 73 74 69 6e 67 | 20 66 69 6c 65 20 5c 22 |existing| file \"|
|00005640| 63 6f 6e 74 72 6f 6c 2e | 79 5c 22 0a 65 6c 73 65 |control.|y\".else|
|00005650| 0a 65 63 68 6f 20 73 68 | 61 72 3a 20 45 78 74 72 |.echo sh|ar: Extr|
|00005660| 61 63 74 69 6e 67 20 5c | 22 63 6f 6e 74 72 6f 6c |acting \|"control|
|00005670| 2e 79 5c 22 20 5c 28 36 | 38 39 35 20 63 68 61 72 |.y\" \(6|895 char|
|00005680| 61 63 74 65 72 73 5c 29 | 0a 73 65 64 20 22 73 2f |acters\)|.sed "s/|
|00005690| 5e 58 2f 2f 22 20 3e 63 | 6f 6e 74 72 6f 6c 2e 79 |^X//" >c|ontrol.y|
|000056a0| 20 3c 3c 27 45 4e 44 5f | 4f 46 5f 63 6f 6e 74 72 | <<'END_|OF_contr|
|000056b0| 6f 6c 2e 79 27 0a 58 2f | 2a 0a 58 20 20 20 74 68 |ol.y'.X/|*.X th|
|000056c0| 65 20 67 72 61 6d 6d 65 | 72 20 64 65 73 63 72 69 |e gramme|r descri|
|000056d0| 62 69 6e 67 20 74 68 65 | 20 63 6f 6e 74 72 6f 6c |bing the| control|
|000056e0| 20 66 69 6c 65 20 66 6f | 72 20 77 61 74 63 68 65 | file fo|r watche|
|000056f0| 72 2e 0a 58 0a 58 20 20 | 20 4b 65 6e 6e 65 74 68 |r..X.X | Kenneth|
|00005700| 20 49 6e 67 68 61 6d 0a | 58 0a 58 20 20 20 43 6f | Ingham.|X.X Co|
|00005710| 70 79 72 69 67 68 74 20 | 28 43 29 20 31 39 38 37 |pyright |(C) 1987|
|00005720| 20 54 68 65 20 55 6e 69 | 76 65 72 73 69 74 79 20 | The Uni|versity |
|00005730| 6f 66 20 4e 65 77 20 4d | 65 78 69 63 6f 0a 58 2a |of New M|exico.X*|
|00005740| 2f 0a 58 0a 58 25 74 6f | 6b 65 6e 20 50 49 50 45 |/.X.X%to|ken PIPE|
|00005750| 4c 49 4e 45 20 4e 55 4d | 42 45 52 20 53 54 52 49 |LINE NUM|BER STRI|
|00005760| 4e 47 0a 58 25 73 74 61 | 72 74 20 63 6f 6d 6d 61 |NG.X%sta|rt comma|
|00005770| 6e 64 0a 58 0a 58 25 7b | 0a 58 23 69 6e 63 6c 75 |nd.X.X%{|.X#inclu|
|00005780| 64 65 20 22 64 65 66 73 | 2e 68 22 0a 58 23 64 65 |de "defs|.h".X#de|
|00005790| 66 69 6e 65 20 53 4d 41 | 58 4d 49 4e 09 73 74 72 |fine SMA|XMIN.str|
|000057a0| 75 63 74 20 6d 61 78 5f | 6d 69 6e 5f 73 74 0a 58 |uct max_|min_st.X|
|000057b0| 23 64 65 66 69 6e 65 20 | 53 4f 55 54 46 4d 54 09 |#define |SOUTFMT.|
|000057c0| 73 74 72 75 63 74 20 6f | 75 74 5f 66 6d 74 5f 73 |struct o|ut_fmt_s|
|000057d0| 74 0a 58 23 64 65 66 69 | 6e 65 20 53 43 4f 4c 4f |t.X#defi|ne SCOLO|
|000057e0| 55 54 09 73 74 72 75 63 | 74 20 63 6f 6c 5f 6f 75 |UT.struc|t col_ou|
|000057f0| 74 5f 73 74 0a 58 23 64 | 65 66 69 6e 65 20 53 52 |t_st.X#d|efine SR|
|00005800| 45 4c 4f 55 54 09 73 74 | 72 75 63 74 20 72 65 6c |ELOUT.st|ruct rel|
|00005810| 5f 6f 75 74 5f 73 74 0a | 58 23 64 65 66 69 6e 65 |_out_st.|X#define|
|00005820| 20 53 43 4d 44 09 73 74 | 72 75 63 74 20 63 6d 64 | SCMD.st|ruct cmd|
|00005830| 5f 73 74 0a 58 23 64 65 | 66 69 6e 65 20 53 43 48 |_st.X#de|fine SCH|
|00005840| 09 73 74 72 75 63 74 20 | 63 68 61 6e 67 65 5f 66 |.struct |change_f|
|00005850| 6d 74 5f 73 74 0a 58 65 | 78 74 65 72 6e 20 63 68 |mt_st.Xe|xtern ch|
|00005860| 61 72 20 2a 73 74 72 76 | 61 6c 2c 20 6f 73 74 72 |ar *strv|al, ostr|
|00005870| 76 61 6c 5b 5d 2c 20 70 | 69 70 65 6c 69 6e 65 5b |val[], p|ipeline[|
|00005880| 5d 3b 0a 58 65 78 74 65 | 72 6e 20 69 6e 74 20 69 |];.Xexte|rn int i|
|00005890| 6e 74 76 61 6c 2c 20 6f | 69 6e 74 76 61 6c 3b 0a |ntval, o|intval;.|
|000058a0| 58 65 78 74 65 72 6e 20 | 73 74 72 75 63 74 20 63 |Xextern |struct c|
|000058b0| 6d 64 5f 73 74 20 2a 63 | 6c 69 73 74 3b 0a 58 69 |md_st *c|list;.Xi|
|000058c0| 6e 74 20 6f 75 74 5f 74 | 79 70 65 3b 0a 58 63 68 |nt out_t|ype;.Xch|
|000058d0| 61 72 20 61 6c 69 61 73 | 5b 4d 41 58 5f 53 54 52 |ar alias|[MAX_STR|
|000058e0| 5d 3b 0a 58 75 6e 69 6f | 6e 20 6f 75 74 5f 66 6d |];.Xunio|n out_fm|
|000058f0| 74 5f 75 20 6b 65 79 3b | 0a 58 25 7d 0a 58 0a 58 |t_u key;|.X%}.X.X|
|00005900| 25 25 0a 58 2f 2a 0a 58 | 20 20 20 54 48 45 20 50 |%%.X/*.X| THE P|
|00005910| 41 52 53 45 52 20 44 45 | 53 43 52 49 50 54 49 4f |ARSER DE|SCRIPTIO|
|00005920| 4e 20 28 72 65 61 64 20 | 61 6c 6f 75 64 20 74 6f |N (read |aloud to|
|00005930| 20 74 68 65 20 62 65 67 | 69 6e 6e 69 6e 67 20 6f | the beg|inning o|
|00005940| 66 0a 58 20 20 20 5f 41 | 6c 73 6f 5f 73 70 72 61 |f.X _A|lso_spra|
|00005950| 63 68 5f 5a 61 72 61 74 | 68 75 73 74 72 61 5f 29 |ch_Zarat|hustra_)|
|00005960| 0a 58 0a 58 20 20 20 41 | 73 20 74 68 69 6e 67 73 |.X.X A|s things|
|00005970| 20 61 72 65 20 64 69 73 | 63 6f 76 65 72 65 64 2c | are dis|covered,|
|00005980| 20 74 68 65 79 20 61 72 | 65 20 70 75 74 20 69 6e | they ar|e put in|
|00005990| 74 6f 20 74 68 65 20 6c | 69 6e 6b 65 64 20 6c 69 |to the l|inked li|
|000059a0| 73 74 20 73 74 72 75 63 | 74 75 72 65 0a 58 20 20 |st struc|ture.X |
|000059b0| 20 64 65 74 61 69 6c 65 | 64 20 69 6e 20 64 65 66 | detaile|d in def|
|000059c0| 73 2e 68 2e 20 20 53 6f | 6d 65 20 65 72 72 6f 72 |s.h. So|me error|
|000059d0| 20 63 68 65 63 6b 69 6e | 67 20 69 73 20 64 6f 6e | checkin|g is don|
|000059e0| 65 2c 20 62 75 74 20 74 | 68 65 20 6d 65 73 73 61 |e, but t|he messa|
|000059f0| 67 65 73 0a 58 20 20 20 | 6c 65 61 76 65 20 61 20 |ges.X |leave a |
|00005a00| 62 69 74 20 74 6f 20 62 | 65 20 64 65 73 69 72 65 |bit to b|e desire|
|00005a10| 64 2e 20 20 59 61 63 63 | 20 61 6e 64 20 49 20 64 |d. Yacc| and I d|
|00005a20| 69 64 6e 27 74 20 67 65 | 74 20 61 6c 6f 6e 67 20 |idn't ge|t along |
|00005a30| 74 6f 6f 20 77 65 6c 6c | 20 69 6e 0a 58 20 20 20 |too well| in.X |
|00005a40| 66 69 67 75 72 69 6e 67 | 20 6f 75 74 20 68 6f 77 |figuring| out how|
|00005a50| 20 74 6f 20 68 61 6e 64 | 6c 65 20 65 72 72 6f 72 | to hand|le error|
|00005a60| 73 2e 0a 58 0a 58 20 20 | 20 41 73 73 75 6d 69 6e |s..X.X | Assumin|
|00005a70| 67 20 74 68 61 74 20 70 | 6f 69 6e 74 65 72 73 20 |g that p|ointers |
|00005a80| 77 69 6c 6c 20 66 69 74 | 20 69 6e 74 6f 20 59 59 |will fit| into YY|
|00005a90| 53 54 59 50 45 20 28 69 | 6e 74 20 6f 6e 20 34 2e |STYPE (i|nt on 4.|
|00005aa0| 33 20 76 61 78 29 2e 0a | 58 20 20 20 53 68 6f 75 |3 vax)..|X Shou|
|00005ab0| 6c 64 20 75 73 65 20 79 | 61 63 63 27 73 20 75 6e |ld use y|acc's un|
|00005ac0| 69 6f 6e 20 66 61 63 69 | 6c 69 74 79 2e 0a 58 2a |ion faci|lity..X*|
|00005ad0| 2f 0a 58 20 20 20 0a 58 | 63 6f 6d 6d 61 6e 64 09 |/.X .X|command.|
|00005ae0| 09 3a 20 6f 6e 65 5f 63 | 6f 6d 6d 61 6e 64 0a 58 |.: one_c|ommand.X|
|00005af0| 09 09 09 7b 0a 58 09 09 | 09 09 69 66 20 28 63 6c |...{.X..|..if (cl|
|00005b00| 69 73 74 20 3d 3d 20 4e | 55 4c 4c 29 0a 58 09 09 |ist == N|ULL).X..|
|00005b10| 09 09 09 63 6c 69 73 74 | 20 3d 20 28 53 43 4d 44 |...clist| = (SCMD|
|00005b20| 20 2a 29 20 24 31 3b 0a | 58 09 09 09 7d 0a 58 09 | *) $1;.|X...}.X.|
|00005b30| 09 7c 20 63 6f 6d 6d 61 | 6e 64 20 6f 6e 65 5f 63 |.| comma|nd one_c|
|00005b40| 6f 6d 6d 61 6e 64 0a 58 | 09 09 09 7b 20 0a 58 09 |ommand.X|...{ .X.|
|00005b50| 09 09 09 53 43 4d 44 20 | 2a 70 3b 0a 58 0a 58 09 |...SCMD |*p;.X.X.|
|00005b60| 09 09 09 69 66 20 28 63 | 6c 69 73 74 20 21 3d 20 |...if (c|list != |
|00005b70| 4e 55 4c 4c 29 20 7b 0a | 58 09 09 09 09 09 66 6f |NULL) {.|X.....fo|
|00005b80| 72 20 28 70 3d 63 6c 69 | 73 74 3b 20 70 2d 3e 6e |r (p=cli|st; p->n|
|00005b90| 65 78 74 21 3d 4e 55 4c | 4c 3b 20 70 3d 70 2d 3e |ext!=NUL|L; p=p->|
|00005ba0| 6e 65 78 74 29 0a 58 09 | 09 09 09 09 09 3b 0a 58 |next).X.|.....;.X|
|00005bb0| 09 09 09 09 09 70 2d 3e | 6e 65 78 74 20 3d 20 28 |.....p->|next = (|
|00005bc0| 53 43 4d 44 20 2a 29 24 | 32 3b 0a 58 09 09 09 09 |SCMD *)$|2;.X....|
|00005bd0| 7d 0a 58 09 09 09 09 65 | 6c 73 65 0a 58 09 09 09 |}.X....e|lse.X...|
|00005be0| 09 09 63 6c 69 73 74 20 | 3d 20 28 53 43 4d 44 20 |..clist |= (SCMD |
|00005bf0| 2a 29 24 31 3b 0a 58 09 | 09 09 7d 0a 58 09 09 7c |*)$1;.X.|..}.X..||
|00005c00| 20 65 72 72 6f 72 20 27 | 2e 27 0a 58 09 09 09 7b | error '|.'.X...{|
|00005c10| 0a 58 09 09 09 66 70 72 | 69 6e 74 66 28 73 74 64 |.X...fpr|intf(std|
|00005c20| 65 72 72 2c 20 22 43 6f | 6d 6d 61 6e 64 20 65 72 |err, "Co|mmand er|
|00005c30| 72 6f 72 20 6e 65 61 72 | 20 22 29 3b 0a 58 09 09 |ror near| ");.X..|
|00005c40| 09 66 70 72 69 6e 74 66 | 28 73 74 64 65 72 72 2c |.fprintf|(stderr,|
|00005c50| 20 22 27 25 73 27 5c 6e | 22 2c 20 70 69 70 65 6c | "'%s'\n|", pipel|
|00005c60| 69 6e 65 29 3b 0a 58 09 | 09 09 66 70 72 69 6e 74 |ine);.X.|..fprint|
|00005c70| 66 28 73 74 64 65 72 72 | 2c 22 4c 61 73 74 20 73 |f(stderr|,"Last s|
|00005c80| 74 72 69 6e 67 20 72 65 | 61 64 20 77 61 73 20 27 |tring re|ad was '|
|00005c90| 25 73 27 5c 6e 22 2c 20 | 73 74 72 76 61 6c 29 3b |%s'\n", |strval);|
|00005ca0| 0a 58 09 09 09 7d 0a 58 | 09 09 3b 0a 58 0a 58 6f |.X...}.X|..;.X.Xo|
|00005cb0| 6e 65 5f 63 6f 6d 6d 61 | 6e 64 09 3a 20 50 49 50 |ne_comma|nd.: PIP|
|00005cc0| 45 4c 49 4e 45 20 61 6c | 69 61 73 20 6f 75 74 5f |ELINE al|ias out_|
|00005cd0| 66 6d 74 20 27 3a 27 20 | 63 68 61 6e 67 65 5f 66 |fmt ':' |change_f|
|00005ce0| 6d 74 20 27 2e 27 0a 58 | 09 09 09 7b 0a 58 09 09 |mt '.'.X|...{.X..|
|00005cf0| 09 09 53 43 4d 44 20 2a | 70 3b 0a 58 0a 58 09 09 |..SCMD *|p;.X.X..|
|00005d00| 09 09 70 20 3d 20 28 53 | 43 4d 44 20 2a 29 20 6d |..p = (S|CMD *) m|
|00005d10| 61 6c 6c 6f 63 28 73 69 | 7a 65 6f 66 28 53 43 4d |alloc(si|zeof(SCM|
|00005d20| 44 29 29 3b 0a 58 09 09 | 09 09 69 66 20 28 70 20 |D));.X..|..if (p |
|00005d30| 3d 3d 20 4e 55 4c 4c 29 | 20 7b 0a 58 09 09 09 09 |== NULL)| {.X....|
|00005d40| 09 66 70 72 69 6e 74 66 | 28 73 74 64 65 72 72 2c |.fprintf|(stderr,|
|00005d50| 22 6d 61 6c 6c 6f 63 20 | 65 72 72 6f 72 5c 6e 22 |"malloc |error\n"|
|00005d60| 29 3b 0a 58 09 09 09 09 | 09 65 78 69 74 28 31 29 |);.X....|.exit(1)|
|00005d70| 3b 0a 58 09 09 09 09 7d | 0a 58 09 09 09 09 70 2d |;.X....}|.X....p-|
|00005d80| 3e 70 69 70 65 6c 69 6e | 65 20 3d 20 6d 61 6c 6c |>pipelin|e = mall|
|00005d90| 6f 63 28 28 75 6e 73 69 | 67 6e 65 64 29 73 74 72 |oc((unsi|gned)str|
|00005da0| 6c 65 6e 28 70 69 70 65 | 6c 69 6e 65 29 2b 31 29 |len(pipe|line)+1)|
|00005db0| 3b 0a 58 09 09 09 09 69 | 66 20 28 70 2d 3e 70 69 |;.X....i|f (p->pi|
|00005dc0| 70 65 6c 69 6e 65 20 3d | 3d 20 4e 55 4c 4c 29 20 |peline =|= NULL) |
|00005dd0| 7b 0a 58 09 09 09 09 09 | 66 70 72 69 6e 74 66 28 |{.X.....|fprintf(|
|00005de0| 73 74 64 65 72 72 2c 22 | 6d 61 6c 6c 6f 63 20 65 |stderr,"|malloc e|
|00005df0| 72 72 6f 72 5c 6e 22 29 | 3b 0a 58 09 09 09 09 09 |rror\n")|;.X.....|
|00005e00| 65 78 69 74 28 31 29 3b | 0a 58 09 09 09 09 7d 0a |exit(1);|.X....}.|
|00005e10| 58 09 09 09 09 28 76 6f | 69 64 29 20 73 74 72 63 |X....(vo|id) strc|
|00005e20| 70 79 28 70 2d 3e 70 69 | 70 65 6c 69 6e 65 2c 20 |py(p->pi|peline, |
|00005e30| 70 69 70 65 6c 69 6e 65 | 29 3b 0a 58 0a 58 09 09 |pipeline|);.X.X..|
|00005e40| 09 09 69 66 20 28 61 6c | 69 61 73 5b 30 5d 29 20 |..if (al|ias[0]) |
|00005e50| 7b 0a 58 09 09 09 09 09 | 70 2d 3e 61 6c 69 61 73 |{.X.....|p->alias|
|00005e60| 20 3d 20 6d 61 6c 6c 6f | 63 28 28 75 6e 73 69 67 | = mallo|c((unsig|
|00005e70| 6e 65 64 29 73 74 72 6c | 65 6e 28 61 6c 69 61 73 |ned)strl|en(alias|
|00005e80| 29 2b 31 29 3b 0a 58 09 | 09 09 09 09 69 66 20 28 |)+1);.X.|....if (|
|00005e90| 70 2d 3e 61 6c 69 61 73 | 20 3d 3d 20 4e 55 4c 4c |p->alias| == NULL|
|00005ea0| 29 20 7b 0a 58 09 09 09 | 09 09 09 66 70 72 69 6e |) {.X...|...fprin|
|00005eb0| 74 66 28 73 74 64 65 72 | 72 2c 22 6d 61 6c 6c 6f |tf(stder|r,"mallo|
|00005ec0| 63 20 65 72 72 6f 72 5c | 6e 22 29 3b 0a 58 09 09 |c error\|n");.X..|
|00005ed0| 09 09 09 09 65 78 69 74 | 28 31 29 3b 0a 58 09 09 |....exit|(1);.X..|
|00005ee0| 09 09 09 7d 0a 58 09 09 | 09 09 09 28 76 6f 69 64 |...}.X..|...(void|
|00005ef0| 29 20 73 74 72 63 70 79 | 28 70 2d 3e 61 6c 69 61 |) strcpy|(p->alia|
|00005f00| 73 2c 20 61 6c 69 61 73 | 29 3b 0a 58 09 09 09 09 |s, alias|);.X....|
|00005f10| 7d 0a 58 09 09 09 09 65 | 6c 73 65 0a 58 09 09 09 |}.X....e|lse.X...|
|00005f20| 09 09 70 2d 3e 61 6c 69 | 61 73 20 3d 20 4e 55 4c |..p->ali|as = NUL|
|00005f30| 4c 3b 0a 58 0a 58 09 09 | 09 09 70 2d 3e 63 68 61 |L;.X.X..|..p->cha|
|00005f40| 6e 67 65 5f 66 6d 74 20 | 3d 20 28 53 43 48 20 2a |nge_fmt |= (SCH *|
|00005f50| 29 24 35 3b 0a 58 09 09 | 09 09 70 2d 3e 6e 65 78 |)$5;.X..|..p->nex|
|00005f60| 74 20 3d 20 4e 55 4c 4c | 3b 0a 58 09 09 09 09 70 |t = NULL|;.X....p|
|00005f70| 2d 3e 6f 75 74 5f 74 79 | 70 65 20 3d 20 6f 75 74 |->out_ty|pe = out|
|00005f80| 5f 74 79 70 65 3b 0a 58 | 09 09 09 09 69 66 20 28 |_type;.X|....if (|
|00005f90| 6f 75 74 5f 74 79 70 65 | 20 3d 3d 20 52 45 4c 41 |out_type| == RELA|
|00005fa0| 54 49 56 45 29 20 7b 0a | 58 09 09 09 09 09 70 2d |TIVE) {.|X.....p-|
|00005fb0| 3e 6f 75 74 5f 66 6d 74 | 2e 72 65 6c 5f 66 6d 74 |>out_fmt|.rel_fmt|
|00005fc0| 20 3d 20 28 53 52 45 4c | 4f 55 54 20 2a 29 24 33 | = (SREL|OUT *)$3|
|00005fd0| 3b 0a 58 09 09 09 09 09 | 70 2d 3e 6b 65 79 2e 72 |;.X.....|p->key.r|
|00005fe0| 65 6c 5f 66 6d 74 20 3d | 20 6b 65 79 2e 72 65 6c |el_fmt =| key.rel|
|00005ff0| 5f 66 6d 74 3b 0a 58 09 | 09 09 09 7d 0a 58 09 09 |_fmt;.X.|...}.X..|
|00006000| 09 09 65 6c 73 65 20 7b | 20 2f 2a 20 69 74 20 62 |..else {| /* it b|
|00006010| 65 74 74 65 72 20 62 65 | 20 63 6f 6c 75 6d 6e 20 |etter be| column |
|00006020| 2a 2f 0a 58 09 09 09 09 | 09 70 2d 3e 6f 75 74 5f |*/.X....|.p->out_|
|00006030| 66 6d 74 2e 63 6f 6c 5f | 66 6d 74 20 3d 20 28 53 |fmt.col_|fmt = (S|
|00006040| 43 4f 4c 4f 55 54 20 2a | 29 24 33 3b 0a 58 09 09 |COLOUT *|)$3;.X..|
|00006050| 09 09 09 70 2d 3e 6b 65 | 79 2e 63 6f 6c 5f 66 6d |...p->ke|y.col_fm|
|00006060| 74 20 3d 20 6b 65 79 2e | 63 6f 6c 5f 66 6d 74 3b |t = key.|col_fmt;|
|00006070| 0a 58 09 09 09 09 7d 0a | 58 0a 58 09 09 09 09 6b |.X....}.|X.X....k|
|00006080| 65 79 2e 72 65 6c 5f 66 | 6d 74 20 3d 20 4e 55 4c |ey.rel_f|mt = NUL|
|00006090| 4c 3b 0a 58 09 09 09 09 | 24 24 20 3d 20 28 69 6e |L;.X....|$$ = (in|
|000060a0| 74 29 70 3b 0a 58 09 09 | 09 7d 0a 58 09 09 3b 0a |t)p;.X..|.}.X..;.|
|000060b0| 58 0a 58 6f 75 74 5f 66 | 6d 74 09 09 3a 20 72 65 |X.Xout_f|mt..: re|
|000060c0| 6c 5f 6f 75 74 5f 66 6d | 74 0a 58 09 09 09 7b 20 |l_out_fm|t.X...{ |
|000060d0| 0a 58 09 09 09 09 6f 75 | 74 5f 74 79 70 65 20 3d |.X....ou|t_type =|
|000060e0| 20 52 45 4c 41 54 49 56 | 45 3b 0a 58 09 09 09 09 | RELATIV|E;.X....|
|000060f0| 24 24 20 3d 20 24 31 3b | 0a 58 09 09 09 7d 0a 58 |$$ = $1;|.X...}.X|
|00006100| 09 09 7c 20 63 6f 6c 5f | 6f 75 74 5f 66 6d 74 0a |..| col_|out_fmt.|
|00006110| 58 09 09 09 7b 0a 58 09 | 09 09 09 6f 75 74 5f 74 |X...{.X.|...out_t|
|00006120| 79 70 65 20 3d 20 43 4f | 4c 55 4d 4e 3b 0a 58 09 |ype = CO|LUMN;.X.|
|00006130| 09 09 09 24 24 20 3d 20 | 24 31 3b 0a 58 09 09 09 |...$$ = |$1;.X...|
|00006140| 7d 0a 58 09 09 7c 20 65 | 72 72 6f 72 20 27 2e 27 |}.X..| e|rror '.'|
|00006150| 0a 58 09 09 09 7b 0a 58 | 09 09 09 09 66 70 72 69 |.X...{.X|....fpri|
|00006160| 6e 74 66 28 73 74 64 65 | 72 72 2c 22 4f 75 74 70 |ntf(stde|rr,"Outp|
|00006170| 75 74 20 66 6f 72 6d 61 | 74 20 65 72 72 6f 72 20 |ut forma|t error |
|00006180| 6f 6e 20 22 29 3b 0a 58 | 09 09 09 09 66 70 72 69 |on ");.X|....fpri|
|00006190| 6e 74 66 28 73 74 64 65 | 72 72 2c 22 27 25 73 27 |ntf(stde|rr,"'%s'|
|000061a0| 5c 6e 22 2c 20 70 69 70 | 65 6c 69 6e 65 29 3b 0a |\n", pip|eline);.|
|000061b0| 58 09 09 09 09 66 70 72 | 69 6e 74 66 28 73 74 64 |X....fpr|intf(std|
|000061c0| 65 72 72 2c 22 4c 61 73 | 74 20 73 74 72 69 6e 67 |err,"Las|t string|
|000061d0| 20 72 65 61 64 20 77 61 | 73 20 27 25 73 27 5c 6e | read wa|s '%s'\n|
|000061e0| 22 2c 0a 58 09 09 09 09 | 09 73 74 72 76 61 6c 29 |",.X....|.strval)|
|000061f0| 3b 0a 58 09 09 09 7d 0a | 58 09 09 3b 0a 58 0a 58 |;.X...}.|X..;.X.X|
|00006200| 63 68 61 6e 67 65 5f 66 | 6d 74 09 3a 20 6f 6e 65 |change_f|mt.: one|
|00006210| 5f 63 68 61 6e 67 65 5f | 66 6d 74 0a 58 09 09 7c |_change_|fmt.X..||
|00006220| 20 63 68 61 6e 67 65 5f | 66 6d 74 20 27 3b 27 20 | change_|fmt ';' |
|00006230| 6f 6e 65 5f 63 68 61 6e | 67 65 5f 66 6d 74 0a 58 |one_chan|ge_fmt.X|
|00006240| 09 09 09 7b 0a 58 09 09 | 09 09 53 43 48 20 2a 70 |...{.X..|..SCH *p|
|00006250| 3b 0a 58 0a 58 09 09 09 | 09 66 6f 72 20 28 70 3d |;.X.X...|.for (p=|
|00006260| 28 53 43 48 20 2a 29 24 | 31 3b 20 70 2d 3e 6e 65 |(SCH *)$|1; p->ne|
|00006270| 78 74 20 21 3d 20 4e 55 | 4c 4c 3b 20 70 20 3d 20 |xt != NU|LL; p = |
|00006280| 70 2d 3e 6e 65 78 74 29 | 0a 58 09 09 09 09 09 3b |p->next)|.X.....;|
|00006290| 0a 58 09 09 09 09 0a 58 | 09 09 09 09 70 2d 3e 6e |.X.....X|....p->n|
|000062a0| 65 78 74 20 3d 20 28 53 | 43 48 20 2a 29 24 33 3b |ext = (S|CH *)$3;|
|000062b0| 0a 58 0a 58 09 09 09 09 | 24 24 20 3d 20 28 69 6e |.X.X....|$$ = (in|
|000062c0| 74 29 24 31 3b 0a 58 09 | 09 09 7d 0a 58 09 09 3b |t)$1;.X.|..}.X..;|
|000062d0| 0a 58 0a 58 6f 6e 65 5f | 63 68 61 6e 67 65 5f 66 |.X.Xone_|change_f|
|000062e0| 6d 74 09 3a 20 70 63 74 | 5f 63 68 61 6e 67 65 5f |mt.: pct|_change_|
|000062f0| 66 6d 74 0a 58 09 09 09 | 7b 20 24 24 20 3d 20 24 |fmt.X...|{ $$ = $|
|00006300| 31 3b 20 7d 20 2f 2a 20 | 49 73 20 74 68 69 73 20 |1; } /* |Is this |
|00006310| 64 65 66 61 75 6c 74 3f | 20 2a 2f 0a 58 09 09 7c |default?| */.X..||
|00006320| 20 61 62 73 5f 63 68 61 | 6e 67 65 5f 66 6d 74 0a | abs_cha|nge_fmt.|
|00006330| 58 09 09 09 7b 20 24 24 | 20 3d 20 24 31 3b 20 7d |X...{ $$| = $1; }|
|00006340| 0a 58 09 09 7c 20 6d 61 | 78 5f 6d 69 6e 5f 66 6d |.X..| ma|x_min_fm|
|00006350| 74 0a 58 09 09 09 7b 20 | 24 24 20 3d 20 24 31 3b |t.X...{ |$$ = $1;|
|00006360| 20 7d 0a 58 09 09 7c 20 | 73 74 72 5f 63 68 61 6e | }.X..| |str_chan|
|00006370| 67 65 5f 66 6d 74 0a 58 | 09 09 09 7b 20 24 24 20 |ge_fmt.X|...{ $$ |
|00006380| 3d 20 24 31 3b 20 7d 0a | 58 09 09 7c 20 65 72 72 |= $1; }.|X..| err|
|00006390| 6f 72 20 27 2e 27 0a 58 | 09 09 09 7b 0a 58 09 09 |or '.'.X|...{.X..|
|000063a0| 09 66 70 72 69 6e 74 66 | 28 73 74 64 65 72 72 2c |.fprintf|(stderr,|
|000063b0| 22 55 6e 6b 6e 6f 77 6e | 20 63 68 61 6e 67 65 20 |"Unknown| change |
|000063c0| 66 6f 72 6d 61 74 20 74 | 79 70 65 20 22 29 3b 0a |format t|ype ");.|
|000063d0| 58 09 09 09 66 70 72 69 | 6e 74 66 28 73 74 64 65 |X...fpri|ntf(stde|
|000063e0| 72 72 2c 22 6f 6e 20 27 | 25 73 27 5c 6e 22 2c 20 |rr,"on '|%s'\n", |
|000063f0| 70 69 70 65 6c 69 6e 65 | 29 3b 0a 58 09 09 09 66 |pipeline|);.X...f|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.