home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / misc / volume25 / QBATCH / part04 < prev    next >
SHell self-extracting ARchive  |  1991-11-04  |  48.3 KB

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


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

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert SHell self-extracting ARchive (archive/shar) magic Supported
1% dexvert Text File (text/txt) fallback Supported
100% file 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)



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 4e 65 77 73 67 72 6f 75 | 70 73 3a 20 63 6f 6d 70 |Newsgrou|ps: comp|
|00000010| 2e 73 6f 75 72 63 65 73 | 2e 6d 69 73 63 0a 46 72 |.sources|.misc.Fr|
|00000020| 6f 6d 3a 20 61 6c 61 6e | 40 74 68 61 72 72 2e 55 |om: alan|@tharr.U|
|00000030| 55 43 50 20 28 41 6c 61 | 6e 20 53 61 75 6e 64 65 |UCP (Ala|n Saunde|
|00000040| 72 73 29 0a 53 75 62 6a | 65 63 74 3a 20 20 76 32 |rs).Subj|ect: v2|
|00000050| 35 69 30 32 33 3a 20 20 | 51 42 41 54 43 48 20 2d |5i023: |QBATCH -|
|00000060| 20 61 20 71 75 65 75 65 | 64 20 62 61 74 63 68 20 | a queue|d batch |
|00000070| 70 72 6f 63 65 73 73 69 | 6e 67 20 73 79 73 74 65 |processi|ng syste|
|00000080| 6d 20 66 6f 72 20 55 4e | 49 58 2c 20 50 61 72 74 |m for UN|IX, Part|
|00000090| 30 34 2f 30 36 0a 4d 65 | 73 73 61 67 65 2d 49 44 |04/06.Me|ssage-ID|
|000000a0| 3a 20 3c 31 39 39 31 4e | 6f 76 35 2e 30 33 34 38 |: <1991N|ov5.0348|
|000000b0| 32 35 2e 35 30 37 34 40 | 73 70 61 72 6b 79 2e 69 |25.5074@|sparky.i|
|000000c0| 6d 64 2e 73 74 65 72 6c | 69 6e 67 2e 63 6f 6d 3e |md.sterl|ing.com>|
|000000d0| 0a 58 2d 4d 64 34 2d 53 | 69 67 6e 61 74 75 72 65 |.X-Md4-S|ignature|
|000000e0| 3a 20 35 30 30 65 35 39 | 31 62 65 61 37 36 37 65 |: 500e59|1bea767e|
|000000f0| 31 63 36 36 37 30 37 37 | 31 39 38 66 30 65 30 39 |1c667077|198f0e09|
|00000100| 37 39 0a 44 61 74 65 3a | 20 54 75 65 2c 20 35 20 |79.Date:| Tue, 5 |
|00000110| 4e 6f 76 20 31 39 39 31 | 20 30 33 3a 34 38 3a 32 |Nov 1991| 03:48:2|
|00000120| 35 20 47 4d 54 0a 41 70 | 70 72 6f 76 65 64 3a 20 |5 GMT.Ap|proved: |
|00000130| 6b 65 6e 74 40 73 70 61 | 72 6b 79 2e 69 6d 64 2e |kent@spa|rky.imd.|
|00000140| 73 74 65 72 6c 69 6e 67 | 2e 63 6f 6d 0a 0a 53 75 |sterling|.com..Su|
|00000150| 62 6d 69 74 74 65 64 2d | 62 79 3a 20 61 6c 61 6e |bmitted-|by: alan|
|00000160| 40 74 68 61 72 72 2e 55 | 55 43 50 20 28 41 6c 61 |@tharr.U|UCP (Ala|
|00000170| 6e 20 53 61 75 6e 64 65 | 72 73 29 0a 50 6f 73 74 |n Saunde|rs).Post|
|00000180| 69 6e 67 2d 6e 75 6d 62 | 65 72 3a 20 56 6f 6c 75 |ing-numb|er: Volu|
|00000190| 6d 65 20 32 35 2c 20 49 | 73 73 75 65 20 32 33 0a |me 25, I|ssue 23.|
|000001a0| 41 72 63 68 69 76 65 2d | 6e 61 6d 65 3a 20 51 42 |Archive-|name: QB|
|000001b0| 41 54 43 48 2f 70 61 72 | 74 30 34 0a 45 6e 76 69 |ATCH/par|t04.Envi|
|000001c0| 72 6f 6e 6d 65 6e 74 3a | 20 55 4e 49 58 0a 0a 23 |ronment:| UNIX..#|
|000001d0| 21 20 2f 62 69 6e 2f 73 | 68 0a 23 20 54 68 69 73 |! /bin/s|h.# This|
|000001e0| 20 69 73 20 61 20 73 68 | 65 6c 6c 20 61 72 63 68 | is a sh|ell arch|
|000001f0| 69 76 65 2e 20 20 52 65 | 6d 6f 76 65 20 61 6e 79 |ive. Re|move any|
|00000200| 74 68 69 6e 67 20 62 65 | 66 6f 72 65 20 74 68 69 |thing be|fore thi|
|00000210| 73 20 6c 69 6e 65 2c 20 | 74 68 65 6e 20 75 6e 70 |s line, |then unp|
|00000220| 61 63 6b 0a 23 20 69 74 | 20 62 79 20 73 61 76 69 |ack.# it| by savi|
|00000230| 6e 67 20 69 74 20 69 6e | 74 6f 20 61 20 66 69 6c |ng it in|to a fil|
|00000240| 65 20 61 6e 64 20 74 79 | 70 69 6e 67 20 22 73 68 |e and ty|ping "sh|
|00000250| 20 66 69 6c 65 22 2e 20 | 20 54 6f 20 6f 76 65 72 | file". | To over|
|00000260| 77 72 69 74 65 20 65 78 | 69 73 74 69 6e 67 0a 23 |write ex|isting.#|
|00000270| 20 66 69 6c 65 73 2c 20 | 74 79 70 65 20 22 73 68 | files, |type "sh|
|00000280| 20 66 69 6c 65 20 2d 63 | 22 2e 20 20 59 6f 75 20 | file -c|". You |
|00000290| 63 61 6e 20 61 6c 73 6f | 20 66 65 65 64 20 74 68 |can also| feed th|
|000002a0| 69 73 20 61 73 20 73 74 | 61 6e 64 61 72 64 20 69 |is as st|andard i|
|000002b0| 6e 70 75 74 20 76 69 61 | 0a 23 20 75 6e 73 68 61 |nput via|.# unsha|
|000002c0| 72 2c 20 6f 72 20 62 79 | 20 74 79 70 69 6e 67 20 |r, or by| typing |
|000002d0| 22 73 68 20 3c 66 69 6c | 65 22 2c 20 65 2e 67 2e |"sh <fil|e", e.g.|
|000002e0| 2e 20 20 49 66 20 74 68 | 69 73 20 61 72 63 68 69 |. If th|is archi|
|000002f0| 76 65 20 69 73 20 63 6f | 6d 70 6c 65 74 65 2c 20 |ve is co|mplete, |
|00000300| 79 6f 75 0a 23 20 77 69 | 6c 6c 20 73 65 65 20 74 |you.# wi|ll see t|
|00000310| 68 65 20 66 6f 6c 6c 6f | 77 69 6e 67 20 6d 65 73 |he follo|wing mes|
|00000320| 73 61 67 65 20 61 74 20 | 74 68 65 20 65 6e 64 3a |sage at |the end:|
|00000330| 0a 23 09 09 22 45 6e 64 | 20 6f 66 20 61 72 63 68 |.#.."End| of arch|
|00000340| 69 76 65 20 34 20 28 6f | 66 20 36 29 2e 22 0a 23 |ive 4 (o|f 6).".#|
|00000350| 20 43 6f 6e 74 65 6e 74 | 73 3a 20 20 4e 45 57 53 | Content|s: NEWS|
|00000360| 20 64 6f 63 2f 63 68 61 | 70 2e 30 35 20 64 6f 63 | doc/cha|p.05 doc|
|00000370| 2f 63 68 61 70 2e 30 36 | 20 6d 61 6e 2f 71 63 2e |/chap.06| man/qc.|
|00000380| 6c 20 73 72 63 2f 63 6f | 6e 66 69 67 2e 63 0a 23 |l src/co|nfig.c.#|
|00000390| 20 20 20 73 72 63 2f 63 | 6f 6e 66 69 67 2e 68 20 | src/c|onfig.h |
|000003a0| 73 72 63 2f 6a 6a 2e 63 | 0a 23 20 57 72 61 70 70 |src/jj.c|.# Wrapp|
|000003b0| 65 64 20 62 79 20 72 6f | 6f 74 40 76 66 69 62 5f |ed by ro|ot@vfib_|
|000003c0| 64 20 6f 6e 20 54 68 75 | 20 4f 63 74 20 33 31 20 |d on Thu| Oct 31 |
|000003d0| 31 35 3a 34 36 3a 34 30 | 20 31 39 39 31 0a 50 41 |15:46:40| 1991.PA|
|000003e0| 54 48 3d 2f 62 69 6e 3a | 2f 75 73 72 2f 62 69 6e |TH=/bin:|/usr/bin|
|000003f0| 3a 2f 75 73 72 2f 75 63 | 62 20 3b 20 65 78 70 6f |:/usr/uc|b ; expo|
|00000400| 72 74 20 50 41 54 48 0a | 69 66 20 74 65 73 74 20 |rt PATH.|if test |
|00000410| 2d 66 20 27 4e 45 57 53 | 27 20 2d 61 20 22 24 7b |-f 'NEWS|' -a "${|
|00000420| 31 7d 22 20 21 3d 20 22 | 2d 63 22 20 3b 20 74 68 |1}" != "|-c" ; th|
|00000430| 65 6e 20 0a 20 20 65 63 | 68 6f 20 73 68 61 72 3a |en . ec|ho shar:|
|00000440| 20 57 69 6c 6c 20 6e 6f | 74 20 63 6c 6f 62 62 65 | Will no|t clobbe|
|00000450| 72 20 65 78 69 73 74 69 | 6e 67 20 66 69 6c 65 20 |r existi|ng file |
|00000460| 5c 22 27 4e 45 57 53 27 | 5c 22 0a 65 6c 73 65 0a |\"'NEWS'|\".else.|
|00000470| 65 63 68 6f 20 73 68 61 | 72 3a 20 45 78 74 72 61 |echo sha|r: Extra|
|00000480| 63 74 69 6e 67 20 5c 22 | 27 4e 45 57 53 27 5c 22 |cting \"|'NEWS'\"|
|00000490| 20 5c 28 36 30 39 36 20 | 63 68 61 72 61 63 74 65 | \(6096 |characte|
|000004a0| 72 73 5c 29 0a 73 65 64 | 20 22 73 2f 5e 58 2f 2f |rs\).sed| "s/^X//|
|000004b0| 22 20 3e 27 4e 45 57 53 | 27 20 3c 3c 27 45 4e 44 |" >'NEWS|' <<'END|
|000004c0| 5f 4f 46 5f 46 49 4c 45 | 27 0a 58 09 43 75 72 72 |_OF_FILE|'.X.Curr|
|000004d0| 65 6e 74 20 72 65 6c 65 | 61 73 65 20 6f 66 20 51 |ent rele|ase of Q|
|000004e0| 42 41 54 43 48 20 76 65 | 72 73 69 6f 6e 20 32 2e |BATCH ve|rsion 2.|
|000004f0| 30 20 41 75 67 20 33 30 | 20 31 39 39 31 0a 58 0a |0 Aug 30| 1991.X.|
|00000500| 58 09 54 68 65 20 51 42 | 41 54 43 48 20 73 79 73 |X.The QB|ATCH sys|
|00000510| 74 65 6d 20 61 6e 64 20 | 69 74 73 20 72 65 6c 61 |tem and |its rela|
|00000520| 74 65 64 20 70 72 6f 67 | 72 61 6d 73 20 77 65 72 |ted prog|rams wer|
|00000530| 65 0a 58 09 77 72 69 74 | 74 65 6e 20 62 79 20 41 |e.X.writ|ten by A|
|00000540| 6c 61 6e 20 44 2e 20 53 | 61 75 6e 64 65 72 73 20 |lan D. S|aunders |
|00000550| 61 6e 64 20 61 72 65 0a | 58 09 43 6f 70 79 72 69 |and are.|X.Copyri|
|00000560| 67 68 74 20 28 63 29 20 | 56 69 74 61 20 53 65 72 |ght (c) |Vita Ser|
|00000570| 76 69 63 65 73 20 4c 74 | 64 2e 20 31 39 39 30 20 |vices Lt|d. 1990 |
|00000580| 61 6e 64 0a 58 09 43 6f | 70 79 72 69 67 68 74 20 |and.X.Co|pyright |
|00000590| 28 63 29 20 56 69 74 61 | 20 46 69 62 72 65 73 20 |(c) Vita| Fibres |
|000005a0| 4c 74 64 2e 20 31 39 39 | 31 0a 58 0a 58 09 50 4c |Ltd. 199|1.X.X.PL|
|000005b0| 45 41 53 45 20 72 65 61 | 64 20 74 68 65 20 4e 4f |EASE rea|d the NO|
|000005c0| 54 49 43 45 20 66 69 6c | 65 20 66 6f 72 20 64 65 |TICE fil|e for de|
|000005d0| 74 61 69 6c 73 2e 0a 58 | 0a 4f 52 49 47 49 4e 53 |tails..X|.ORIGINS|
|000005e0| 2e 0a 58 0a 49 6e 20 31 | 39 38 39 20 77 65 20 28 |..X.In 1|989 we (|
|000005f0| 61 73 20 61 20 63 6f 6d | 70 61 6e 79 29 20 77 65 |as a com|pany) we|
|00000600| 72 65 20 66 61 63 65 64 | 20 77 69 74 68 20 70 6f |re faced| with po|
|00000610| 72 74 69 6e 67 20 61 6c | 6c 20 6f 75 72 20 73 6f |rting al|l our so|
|00000620| 66 74 77 61 72 65 20 66 | 72 6f 6d 0a 61 20 70 72 |ftware f|rom.a pr|
|00000630| 6f 70 72 69 65 74 61 72 | 79 20 6f 70 65 72 61 74 |oprietar|y operat|
|00000640| 69 6e 67 20 73 79 73 74 | 65 6d 20 74 6f 20 55 4e |ing syst|em to UN|
|00000650| 49 58 2e 20 20 4d 6f 73 | 74 20 6f 66 20 74 68 65 |IX. Mos|t of the|
|00000660| 20 61 70 70 6c 69 63 61 | 74 69 6f 6e 73 20 77 65 | applica|tions we|
|00000670| 72 65 0a 62 61 73 65 64 | 20 6f 6e 20 61 20 74 77 |re.based| on a tw|
|00000680| 6f 20 6c 61 79 65 72 20 | 74 72 61 6e 73 61 63 74 |o layer |transact|
|00000690| 69 6f 6e 20 70 72 6f 63 | 65 73 73 69 6e 67 20 73 |ion proc|essing s|
|000006a0| 79 73 74 65 6d 20 77 68 | 69 63 68 20 6d 61 64 65 |ystem wh|ich made|
|000006b0| 20 68 65 61 76 79 0a 75 | 73 65 20 6f 66 20 74 68 | heavy.u|se of th|
|000006c0| 65 20 73 79 73 74 65 6d | 27 73 20 62 61 74 63 68 |e system|'s batch|
|000006d0| 69 6e 67 20 73 79 73 74 | 65 6d 2e 20 20 55 6e 64 |ing syst|em. Und|
|000006e0| 65 72 20 55 4e 49 58 2c | 20 77 65 20 61 74 74 65 |er UNIX,| we atte|
|000006f0| 6d 70 74 65 64 20 74 6f | 20 75 73 65 0a 74 68 65 |mpted to| use.the|
|00000700| 20 70 72 69 6e 74 20 73 | 70 6f 6f 6c 69 6e 67 20 | print s|pooling |
|00000710| 73 79 73 74 65 6d 20 74 | 6f 20 65 6d 75 6c 61 74 |system t|o emulat|
|00000720| 65 20 62 61 74 63 68 20 | 71 75 65 75 69 6e 67 20 |e batch |queuing |
|00000730| 77 69 74 68 20 6c 69 6d | 69 74 65 64 20 0a 73 75 |with lim|ited .su|
|00000740| 63 63 65 73 73 2e 20 20 | 49 20 75 6e 64 65 72 74 |ccess. |I undert|
|00000750| 6f 6f 6b 20 74 6f 20 77 | 72 69 74 65 20 61 20 62 |ook to w|rite a b|
|00000760| 61 74 63 68 20 71 75 65 | 75 65 69 6e 67 20 73 79 |atch que|ueing sy|
|00000770| 73 74 65 6d 20 77 68 69 | 63 68 20 69 6e 63 6c 75 |stem whi|ch inclu|
|00000780| 64 65 64 0a 74 68 65 20 | 62 65 73 74 20 6f 66 20 |ded.the |best of |
|00000790| 74 68 65 20 66 75 6e 63 | 74 69 6f 6e 73 20 6f 66 |the func|tions of|
|000007a0| 20 74 68 65 20 6f 6c 64 | 20 73 79 73 74 65 6d 20 | the old| system |
|000007b0| 28 70 6c 75 73 20 61 20 | 6c 6f 74 20 6f 66 20 65 |(plus a |lot of e|
|000007c0| 6e 68 61 6e 63 65 6d 65 | 6e 74 73 29 0a 62 65 66 |nhanceme|nts).bef|
|000007d0| 6f 72 65 20 74 68 65 20 | 6e 65 77 20 55 4e 49 58 |ore the |new UNIX|
|000007e0| 20 73 79 73 74 65 6d 73 | 20 77 65 6e 74 20 6c 69 | systems| went li|
|000007f0| 76 65 2e 20 20 54 68 65 | 20 6f 72 69 67 69 6e 61 |ve. The| origina|
|00000800| 6c 20 73 79 73 74 65 6d | 20 77 61 73 20 0a 69 6d |l system| was .im|
|00000810| 70 6c 65 6d 65 6e 74 65 | 64 20 69 6e 20 4d 61 79 |plemente|d in May|
|00000820| 20 31 39 39 30 2c 20 74 | 68 65 20 66 69 72 73 74 | 1990, t|he first|
|00000830| 20 53 75 6e 20 53 50 41 | 52 43 73 74 61 74 69 6f | Sun SPA|RCstatio|
|00000840| 6e 20 77 65 6e 74 20 6c | 69 76 65 20 69 6e 20 74 |n went l|ive in t|
|00000850| 68 65 0a 4f 63 74 6f 62 | 65 72 2e 20 20 41 70 61 |he.Octob|er. Apa|
|00000860| 72 74 20 66 72 6f 6d 20 | 69 6e 63 72 65 6d 65 6e |rt from |incremen|
|00000870| 74 61 6c 20 65 6e 68 61 | 6e 63 65 6d 65 6e 74 73 |tal enha|ncements|
|00000880| 2c 20 51 42 41 54 43 48 | 20 68 61 73 20 62 65 65 |, QBATCH| has bee|
|00000890| 6e 20 67 6f 69 6e 67 0a | 73 74 72 6f 6e 67 20 73 |n going.|strong s|
|000008a0| 69 6e 63 65 20 74 68 65 | 6e 20 28 6e 6f 77 20 6c |ince the|n (now l|
|000008b0| 69 76 65 20 6f 6e 20 74 | 65 6e 20 73 79 73 74 65 |ive on t|en syste|
|000008c0| 6d 73 20 69 6e 20 74 68 | 65 20 63 6f 6d 70 61 6e |ms in th|e compan|
|000008d0| 79 29 2e 0a 58 0a 49 6e | 20 4d 61 79 20 28 6f 72 |y)..X.In| May (or|
|000008e0| 20 4a 75 6e 65 29 20 31 | 39 39 31 20 49 20 72 65 | June) 1|991 I re|
|000008f0| 61 64 20 61 20 70 6f 73 | 74 69 6e 67 20 69 6e 20 |ad a pos|ting in |
|00000900| 61 6c 74 2e 73 6f 75 72 | 63 65 73 2e 77 61 6e 74 |alt.sour|ces.want|
|00000910| 65 64 20 66 72 6f 6d 20 | 0a 73 6f 6d 65 6f 6e 65 |ed from |.someone|
|00000920| 20 6c 6f 6f 6b 69 6e 67 | 20 66 6f 72 20 61 20 62 | looking| for a b|
|00000930| 61 74 63 68 20 71 75 65 | 75 65 69 6e 67 20 73 79 |atch que|ueing sy|
|00000940| 73 74 65 6d 2e 20 20 53 | 69 6d 75 6c 74 61 6e 65 |stem. S|imultane|
|00000950| 6f 75 73 6c 79 2c 20 74 | 68 65 0a 73 6f 66 74 77 |ously, t|he.softw|
|00000960| 61 72 65 20 68 6f 75 73 | 65 20 77 68 6f 27 73 20 |are hous|e who's |
|00000970| 74 6f 6f 6c 73 20 77 65 | 20 75 73 65 64 20 66 6f |tools we| used fo|
|00000980| 72 20 74 68 65 20 63 6f | 6e 76 65 72 73 69 6f 6e |r the co|nversion|
|00000990| 2c 20 65 78 70 72 65 73 | 73 65 64 20 61 6e 0a 69 |, expres|sed an.i|
|000009a0| 6e 74 65 72 65 73 74 2e | 20 28 54 68 65 79 20 77 |nterest.| (They w|
|000009b0| 65 72 65 20 64 6f 69 6e | 67 20 66 75 72 74 68 65 |ere doin|g furthe|
|000009c0| 72 20 70 6f 72 74 73 20 | 66 6f 72 20 6f 74 68 65 |r ports |for othe|
|000009d0| 72 20 75 73 65 72 73 20 | 6f 66 20 74 68 65 20 73 |r users |of the s|
|000009e0| 61 6d 65 0a 70 72 6f 70 | 72 69 65 74 61 72 79 20 |ame.prop|rietary |
|000009f0| 6b 69 74 2e 29 20 20 49 | 20 74 68 65 72 65 66 6f |kit.) I| therefo|
|00000a00| 72 65 20 27 73 68 61 72 | 27 65 64 20 69 74 20 75 |re 'shar|'ed it u|
|00000a10| 70 20 61 6e 64 20 64 69 | 73 74 72 69 62 75 74 65 |p and di|stribute|
|00000a20| 64 20 69 74 20 61 73 0a | 69 74 20 74 68 65 6e 20 |d it as.|it then |
|00000a30| 73 74 6f 6f 64 2e 20 20 | 28 69 6e 63 6c 75 64 69 |stood. |(includi|
|00000a40| 6e 67 20 70 6f 73 74 69 | 6e 67 20 69 74 20 69 6e |ng posti|ng it in|
|00000a50| 20 61 6c 74 2e 73 6f 75 | 72 63 65 73 29 2e 20 20 | alt.sou|rces). |
|00000a60| 41 73 20 61 20 72 65 73 | 75 6c 74 20 6f 66 0a 74 |As a res|ult of.t|
|00000a70| 68 69 73 2c 20 49 20 68 | 61 76 65 20 68 61 64 20 |his, I h|ave had |
|00000a80| 61 20 67 72 65 61 74 20 | 64 65 61 6c 20 6f 66 20 |a great |deal of |
|00000a90| 66 65 65 64 62 61 63 6b | 3a 0a 58 0a 58 2d 2d 2d |feedback|:.X.X---|
|00000aa0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000ab0| 2d 2d 2d 20 54 68 65 20 | 73 74 6f 72 79 20 63 6f |--- The |story co|
|00000ac0| 6e 74 69 6e 75 65 73 20 | 2d 2d 2d 2d 2d 2d 2d 2d |ntinues |--------|
|00000ad0| 2d 2d 2d 2d 2d 2d 2d 2d | 3a 2d 0a 58 0a 51 42 41 |--------|:-.X.QBA|
|00000ae0| 54 43 48 20 68 61 73 20 | 62 65 65 6e 20 74 6f 74 |TCH has |been tot|
|00000af0| 61 6c 6c 79 20 72 65 76 | 61 6d 70 65 64 20 73 69 |ally rev|amped si|
|00000b00| 6e 63 65 20 74 68 65 20 | 6c 61 73 74 20 72 65 6c |nce the |last rel|
|00000b10| 65 61 73 65 2e 20 20 54 | 68 69 73 20 77 61 73 20 |ease. T|his was |
|00000b20| 64 6f 6e 65 0a 69 6e 20 | 74 68 65 20 6c 69 67 68 |done.in |the ligh|
|00000b30| 74 20 6f 66 20 64 69 66 | 66 69 63 75 6c 74 69 65 |t of dif|ficultie|
|00000b40| 73 20 65 78 70 65 72 69 | 65 6e 63 65 64 20 62 79 |s experi|enced by|
|00000b50| 20 73 65 76 65 72 61 6c | 20 70 65 6f 70 6c 65 20 | several| people |
|00000b60| 69 6e 20 74 72 79 69 6e | 67 20 74 6f 0a 63 6f 6d |in tryin|g to.com|
|00000b70| 70 69 6c 65 20 61 6e 64 | 20 69 6e 73 74 61 6c 6c |pile and| install|
|00000b80| 20 69 74 20 6f 6e 20 74 | 68 65 69 72 20 73 79 73 | it on t|heir sys|
|00000b90| 74 65 6d 73 2e 20 20 51 | 42 41 54 43 48 20 69 73 |tems. Q|BATCH is|
|00000ba0| 20 6e 6f 77 20 66 61 72 | 20 6d 6f 72 65 20 65 61 | now far| more ea|
|00000bb0| 73 69 6c 79 0a 63 6f 6e | 66 69 67 75 72 65 64 20 |sily.con|figured |
|00000bc0| 66 6f 72 20 74 68 65 20 | 74 61 72 67 65 74 20 70 |for the |target p|
|00000bd0| 6c 61 74 66 6f 72 6d 2c | 20 61 6e 64 20 73 6f 6d |latform,| and som|
|00000be0| 65 20 70 72 65 76 69 6f | 75 73 6c 79 20 68 61 72 |e previo|usly har|
|00000bf0| 64 2d 77 69 72 65 64 0a | 66 61 63 69 6c 69 74 69 |d-wired.|faciliti|
|00000c00| 65 73 20 68 61 76 65 20 | 62 65 65 6e 20 6d 61 64 |es have |been mad|
|00000c10| 65 20 63 6f 6e 66 69 67 | 75 72 61 62 6c 65 2e 0a |e config|urable..|
|00000c20| 58 0a 41 6c 6c 20 28 49 | 20 68 6f 70 65 29 20 61 |X.All (I| hope) a|
|00000c30| 72 65 61 73 20 77 68 65 | 72 65 20 64 69 66 66 65 |reas whe|re diffe|
|00000c40| 72 65 6e 74 20 70 6c 61 | 74 66 6f 72 6d 73 20 70 |rent pla|tforms p|
|00000c50| 72 6f 76 69 64 65 20 64 | 69 66 66 65 72 69 6e 67 |rovide d|iffering|
|00000c60| 20 73 75 70 70 6f 72 74 | 0a 68 61 76 65 20 62 65 | support|.have be|
|00000c70| 65 6e 20 6d 6f 76 65 64 | 20 74 6f 20 61 20 6e 65 |en moved| to a ne|
|00000c80| 77 20 66 69 6c 65 20 63 | 6f 6e 66 69 67 2e 63 2e |w file c|onfig.c.|
|00000c90| 20 20 57 68 69 63 68 20 | 6f 66 20 65 61 63 68 20 | Which |of each |
|00000ca0| 6f 66 20 74 68 65 20 76 | 61 72 69 6f 75 73 0a 6f |of the v|arious.o|
|00000cb0| 70 74 69 6f 6e 73 20 69 | 73 20 75 73 65 64 20 69 |ptions i|s used i|
|00000cc0| 73 20 64 65 74 65 72 6d | 69 6e 65 64 20 62 79 20 |s determ|ined by |
|00000cd0| 64 65 66 69 6e 65 73 20 | 69 6e 20 63 6f 6e 66 69 |defines |in confi|
|00000ce0| 67 2e 68 2e 20 28 66 69 | 6c 65 20 6c 6f 63 6b 69 |g.h. (fi|le locki|
|00000cf0| 6e 67 2c 0a 73 69 67 6e | 61 6c 20 68 61 6e 64 6c |ng,.sign|al handl|
|00000d00| 69 6e 67 2c 20 61 6e 64 | 20 70 72 6f 63 65 73 73 |ing, and| process|
|00000d10| 20 67 72 6f 75 70 20 68 | 61 6e 64 6c 69 6e 67 29 | group h|andling)|
|00000d20| 2e 0a 58 0a 43 6f 6e 66 | 69 67 75 72 61 74 69 6f |..X.Conf|iguratio|
|00000d30| 6e 20 6f 70 74 69 6f 6e | 73 20 66 6f 72 20 51 42 |n option|s for QB|
|00000d40| 41 54 43 48 20 69 74 73 | 65 6c 66 20 28 74 68 65 |ATCH its|elf (the|
|00000d50| 20 70 61 74 68 73 20 66 | 6f 72 20 74 68 65 20 73 | paths f|or the s|
|00000d60| 70 6f 6f 6c 20 66 69 6c | 65 73 20 0a 61 6e 64 20 |pool fil|es .and |
|00000d70| 74 68 65 20 71 75 65 75 | 65 73 20 74 68 65 6d 73 |the queu|es thems|
|00000d80| 65 6c 76 65 73 29 20 61 | 72 65 20 63 6f 6e 74 61 |elves) a|re conta|
|00000d90| 69 6e 65 64 20 69 6e 20 | 74 68 65 20 66 69 72 73 |ined in |the firs|
|00000da0| 74 20 66 65 77 20 6c 69 | 6e 65 73 20 6f 66 0a 71 |t few li|nes of.q|
|00000db0| 62 61 74 63 68 2e 68 2e | 0a 58 0a 53 75 70 70 6f |batch.h.|.X.Suppo|
|00000dc0| 72 74 20 66 6f 72 20 73 | 79 73 74 65 6d 73 20 74 |rt for s|ystems t|
|00000dd0| 68 61 74 20 63 61 6e 27 | 74 20 65 78 65 63 20 73 |hat can'|t exec s|
|00000de0| 63 72 69 70 74 73 20 28 | 63 6f 6e 74 61 69 6e 69 |cripts (|containi|
|00000df0| 6e 67 20 23 21 2f 62 69 | 6e 2f 73 68 20 66 6f 72 |ng #!/bi|n/sh for|
|00000e00| 0a 65 78 61 6d 70 6c 65 | 29 2e 20 4e 6f 77 20 71 |.example|). Now q|
|00000e10| 70 20 72 65 61 64 73 20 | 74 68 65 20 66 69 72 73 |p reads |the firs|
|00000e20| 74 20 6c 69 6e 65 20 6f | 66 20 74 68 65 20 6a 63 |t line o|f the jc|
|00000e30| 6c 20 66 69 6c 65 20 61 | 6e 64 20 65 78 65 63 73 |l file a|nd execs|
|00000e40| 20 74 68 65 0a 70 72 6f | 67 72 61 6d 20 73 74 61 | the.pro|gram sta|
|00000e50| 74 65 64 20 74 68 65 72 | 65 69 6e 2c 20 69 6e 73 |ted ther|ein, ins|
|00000e60| 74 65 61 64 20 6f 66 20 | 74 68 65 20 66 69 6c 65 |tead of |the file|
|00000e70| 20 69 74 73 65 6c 66 2e | 0a 58 0a 54 68 65 20 73 | itself.|.X.The s|
|00000e80| 68 65 6c 6c 20 75 6e 64 | 65 72 20 77 68 69 63 68 |hell und|er which|
|00000e90| 20 74 68 65 20 62 61 74 | 63 68 20 6a 6f 62 20 69 | the bat|ch job i|
|00000ea0| 73 20 72 75 6e 20 63 61 | 6e 20 62 65 20 73 70 65 |s run ca|n be spe|
|00000eb0| 63 69 66 69 65 64 20 77 | 68 65 6e 0a 73 75 62 6d |cified w|hen.subm|
|00000ec0| 69 74 74 69 6e 67 20 74 | 68 65 20 6a 6f 62 20 75 |itting t|he job u|
|00000ed0| 73 69 6e 67 20 74 68 65 | 20 2d 73 3c 73 68 65 6c |sing the| -s<shel|
|00000ee0| 6c 3e 20 6f 70 74 69 6f | 6e 2c 20 74 68 75 73 20 |l> optio|n, thus |
|00000ef0| 61 6c 6c 6f 77 69 6e 67 | 20 66 6f 72 0a 65 78 61 |allowing| for.exa|
|00000f00| 6d 70 6c 65 20 27 6a 73 | 20 2d 73 2f 75 73 72 2f |mple 'js| -s/usr/|
|00000f10| 6c 6f 63 61 6c 2f 62 69 | 6e 2f 70 65 72 6c 20 2d |local/bi|n/perl -|
|00000f20| 6e 20 3c 6a 6f 62 6e 61 | 6d 65 3e 20 3c 71 75 65 |n <jobna|me> <que|
|00000f30| 75 65 3e 20 3c 6a 63 6c | 66 69 6c 65 3e 27 0a 4f |ue> <jcl|file>'.O|
|00000f40| 72 69 67 69 6e 61 6c 6c | 79 2c 20 74 68 65 20 62 |riginall|y, the b|
|00000f50| 61 74 63 68 20 73 68 65 | 6c 6c 20 75 73 65 64 20 |atch she|ll used |
|00000f60| 77 61 73 20 61 6c 77 61 | 79 73 20 74 68 65 20 62 |was alwa|ys the b|
|00000f70| 6f 75 72 6e 65 20 73 68 | 65 6c 6c 2e 20 0a 58 28 |ourne sh|ell. .X(|
|00000f80| 74 68 69 73 20 69 73 20 | 73 74 69 6c 6c 20 74 68 |this is |still th|
|00000f90| 65 20 64 65 66 61 75 6c | 74 29 2e 0a 58 0a 58 45 |e defaul|t)..X.XE|
|00000fa0| 6e 76 69 72 6f 6e 6d 65 | 6e 74 20 76 61 72 69 61 |nvironme|nt varia|
|00000fb0| 62 6c 65 73 20 63 61 6e | 20 62 65 20 70 72 65 76 |bles can| be prev|
|00000fc0| 65 6e 74 65 64 20 66 72 | 6f 6d 20 62 65 69 6e 67 |ented fr|om being|
|00000fd0| 20 70 61 73 73 65 64 20 | 74 6f 20 74 68 65 20 62 | passed |to the b|
|00000fe0| 61 74 63 68 0a 6a 6f 62 | 2e 20 20 42 79 20 64 65 |atch.job|. By de|
|00000ff0| 66 61 75 6c 74 2c 20 61 | 6c 6c 20 65 6e 76 69 72 |fault, a|ll envir|
|00001000| 6f 6e 6d 65 6e 74 20 76 | 61 72 69 61 62 6c 65 73 |onment v|ariables|
|00001010| 20 69 6e 20 66 6f 72 63 | 65 20 77 68 65 6e 20 61 | in forc|e when a|
|00001020| 20 6a 6f 62 20 69 73 0a | 73 75 62 6d 69 74 74 65 | job is.|submitte|
|00001030| 64 20 61 72 65 20 70 61 | 73 73 65 64 20 74 68 72 |d are pa|ssed thr|
|00001040| 6f 75 67 68 2c 20 61 6e | 64 20 66 6f 72 6d 20 70 |ough, an|d form p|
|00001050| 61 72 74 20 6f 66 20 74 | 68 65 20 65 6e 76 69 72 |art of t|he envir|
|00001060| 6f 6e 6d 65 6e 74 20 6f | 66 20 74 68 65 0a 72 75 |onment o|f the.ru|
|00001070| 6e 6e 69 6e 67 20 6a 6f | 62 2e 20 20 4e 6f 77 2c |nning jo|b. Now,|
|00001080| 20 69 66 20 61 20 2e 71 | 78 65 6e 76 20 66 69 6c | if a .q|xenv fil|
|00001090| 65 20 65 78 69 73 74 73 | 20 69 6e 20 74 68 65 20 |e exists| in the |
|000010a0| 73 61 6d 65 20 64 69 72 | 65 63 74 6f 72 79 20 61 |same dir|ectory a|
|000010b0| 73 20 74 68 65 0a 71 75 | 65 75 65 73 20 74 68 65 |s the.qu|eues the|
|000010c0| 6d 73 65 6c 76 65 73 2c | 20 74 68 65 6e 20 61 6e |mselves,| then an|
|000010d0| 79 20 6e 6f 6e 2d 20 62 | 6c 61 6e 6b 20 6c 69 6e |y non- b|lank lin|
|000010e0| 65 73 20 28 6e 6f 74 20 | 73 74 61 72 74 69 6e 67 |es (not |starting|
|000010f0| 20 77 69 74 68 20 27 23 | 27 29 0a 61 72 65 20 74 | with '#|').are t|
|00001100| 61 6b 65 6e 20 74 6f 20 | 63 6f 6e 74 61 69 6e 20 |aken to |contain |
|00001110| 28 6f 6e 65 20 70 65 72 | 20 6c 69 6e 65 29 20 74 |(one per| line) t|
|00001120| 68 65 20 6e 61 6d 65 73 | 20 6f 66 20 65 6e 76 69 |he names| of envi|
|00001130| 72 6f 6e 6d 65 6e 74 20 | 76 61 72 69 61 62 6c 65 |ronment |variable|
|00001140| 73 0a 77 68 69 63 68 20 | 61 72 65 20 4e 4f 54 20 |s.which |are NOT |
|00001150| 74 6f 20 62 65 20 70 61 | 73 73 65 64 20 74 6f 20 |to be pa|ssed to |
|00001160| 74 68 65 20 62 61 74 63 | 68 20 6a 6f 62 2e 0a 58 |the batc|h job..X|
|00001170| 0a 58 0a 41 2e 20 44 2e | 20 53 61 75 6e 64 65 72 |.X.A. D.| Saunder|
|00001180| 73 20 41 75 67 75 73 74 | 20 33 30 20 31 39 39 31 |s August| 30 1991|
|00001190| 0a 58 0a 58 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |.X.X----|--------|
|000011a0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000011b0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000011c0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000011d0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 0a 58 0a 53 65 70 |--------|--.X.Sep|
|000011e0| 74 65 6d 62 65 72 20 31 | 38 20 31 39 39 31 3a 0a |tember 1|8 1991:.|
|000011f0| 58 0a 4d 75 63 68 20 77 | 6f 72 6b 20 68 61 73 20 |X.Much w|ork has |
|00001200| 62 65 65 6e 20 63 61 72 | 72 69 65 64 20 6f 75 74 |been car|ried out|
|00001210| 20 72 65 73 6f 6c 76 69 | 6e 67 20 70 6f 72 74 69 | resolvi|ng porti|
|00001220| 6e 67 20 70 72 6f 62 6c | 65 6d 73 20 2e 2e 20 63 |ng probl|ems .. c|
|00001230| 75 72 72 65 6e 74 20 72 | 65 6c 65 61 73 65 0a 69 |urrent r|elease.i|
|00001240| 6e 63 6f 72 70 6f 72 61 | 74 65 73 20 74 68 65 73 |ncorpora|tes thes|
|00001250| 65 20 63 68 61 6e 67 65 | 73 2e 0a 58 0a 54 68 61 |e change|s..X.Tha|
|00001260| 6e 6b 73 20 74 6f 3a 0a | 58 0a 43 68 72 69 73 20 |nks to:.|X.Chris |
|00001270| 4d 65 74 7a 6c 65 72 20 | 28 6d 65 74 7a 6c 65 72 |Metzler |(metzler|
|00001280| 40 65 6c 76 69 73 2e 70 | 68 79 73 69 63 73 2e 6c |@elvis.p|hysics.l|
|00001290| 73 61 2e 75 6d 69 63 68 | 2e 65 64 75 29 0a 58 28 |sa.umich|.edu).X(|
|000012a0| 50 6f 72 74 20 74 6f 20 | 53 74 61 72 64 65 6e 74 |Port to |Stardent|
|000012b0| 20 53 35 30 30 30 29 0a | 58 0a 4a 6f 68 6e 20 57 | S5000).|X.John W|
|000012c0| 68 69 74 6c 65 79 20 20 | 28 47 2e 57 2e 20 53 79 |hitley |(G.W. Sy|
|000012d0| 73 74 65 6d 73 20 6c 74 | 64 2e 2c 20 54 72 69 6e |stems lt|d., Trin|
|000012e0| 67 20 48 65 72 74 73 20 | 55 4b 2e 29 0a 58 28 50 |g Herts |UK.).X(P|
|000012f0| 6f 72 74 73 20 74 6f 20 | 49 33 38 36 20 61 72 63 |orts to |I386 arc|
|00001300| 68 69 74 65 63 74 75 72 | 65 20 61 6e 64 20 48 50 |hitectur|e and HP|
|00001310| 2f 55 58 29 0a 58 0a 58 | 2e 2e 41 44 53 2e 0a 58 |/UX).X.X|..ADS..X|
|00001320| 0a 53 65 70 74 65 6d 62 | 65 72 20 32 33 20 31 39 |.Septemb|er 23 19|
|00001330| 39 31 3a 0a 58 0a 41 20 | 64 65 67 72 65 65 20 6f |91:.X.A |degree o|
|00001340| 66 20 70 72 6f 66 69 6c | 65 20 74 69 6d 69 6e 67 |f profil|e timing|
|00001350| 20 68 61 73 20 62 65 65 | 6e 20 69 6e 74 72 6f 64 | has bee|n introd|
|00001360| 75 63 65 64 2c 20 72 65 | 61 6c 20 28 77 61 6c 6c |uced, re|al (wall|
|00001370| 20 63 6c 6f 63 6b 29 2c | 0a 75 73 65 72 20 61 6e | clock),|.user an|
|00001380| 64 20 73 79 73 74 65 6d | 20 74 69 6d 65 73 20 74 |d system| times t|
|00001390| 61 6b 65 6e 20 62 79 20 | 71 75 65 75 65 64 20 6a |aken by |queued j|
|000013a0| 6f 62 73 20 61 72 65 20 | 6e 6f 77 20 72 65 70 6f |obs are |now repo|
|000013b0| 72 74 65 64 20 69 6e 20 | 74 68 65 0a 6d 6f 6e 69 |rted in |the.moni|
|000013c0| 74 6f 72 2c 20 61 6e 64 | 20 61 20 73 75 6d 6d 61 |tor, and| a summa|
|000013d0| 72 79 20 72 65 70 6f 72 | 74 20 6d 61 79 20 62 65 |ry repor|t may be|
|000013e0| 20 72 65 71 75 65 73 74 | 65 64 20 77 69 74 68 20 | request|ed with |
|000013f0| 74 68 65 20 28 6e 65 77 | 29 20 2d 73 20 6f 70 74 |the (new|) -s opt|
|00001400| 69 6f 6e 0a 6f 66 20 71 | 66 2e 20 20 54 68 69 73 |ion.of q|f. This|
|00001410| 20 72 65 70 6f 72 74 73 | 20 74 68 65 20 74 6f 74 | reports| the tot|
|00001420| 61 6c 73 20 6f 66 20 65 | 61 63 68 20 74 69 6d 65 |als of e|ach time|
|00001430| 2c 20 61 6e 64 20 74 68 | 65 20 61 76 65 72 61 67 |, and th|e averag|
|00001440| 65 20 70 65 72 20 6a 6f | 62 2e 0a 58 0a 58 2e 2e |e per jo|b..X.X..|
|00001450| 41 44 53 0a 58 0a 4f 63 | 74 6f 62 65 72 20 33 20 |ADS.X.Oc|tober 3 |
|00001460| 31 39 39 31 0a 58 0a 50 | 72 6f 66 69 6c 65 20 74 |1991.X.P|rofile t|
|00001470| 69 6d 69 6e 67 20 65 78 | 74 65 6e 64 65 64 20 74 |iming ex|tended t|
|00001480| 6f 20 69 6e 63 6c 75 64 | 65 20 71 75 65 75 65 69 |o includ|e queuei|
|00001490| 6e 67 20 74 69 6d 65 20 | 28 74 69 6d 65 20 6f 6e |ng time |(time on|
|000014a0| 20 71 75 65 75 65 20 62 | 65 66 6f 72 65 0a 70 72 | queue b|efore.pr|
|000014b0| 6f 63 65 73 73 69 6e 67 | 29 2e 0a 58 0a 43 61 75 |ocessing|)..X.Cau|
|000014c0| 67 68 74 20 61 20 72 61 | 63 65 20 63 6f 6e 64 69 |ght a ra|ce condi|
|000014d0| 74 69 6f 6e 20 62 75 67 | 20 28 61 6e 64 20 6c 65 |tion bug| (and le|
|000014e0| 61 72 6e 74 20 61 20 62 | 69 74 20 6d 6f 72 65 20 |arnt a b|it more |
|000014f0| 61 62 6f 75 74 20 6d 61 | 6e 64 61 74 6f 72 79 20 |about ma|ndatory |
|00001500| 61 6e 64 0a 61 64 76 69 | 73 6f 72 79 20 66 69 6c |and.advi|sory fil|
|00001510| 65 20 6c 6f 63 6b 69 6e | 67 21 21 29 20 6a 73 20 |e lockin|g!!) js |
|00001520| 77 61 73 20 74 65 6c 6c | 69 6e 67 20 71 70 20 74 |was tell|ing qp t|
|00001530| 68 61 74 20 61 20 6a 6f | 62 20 77 61 73 20 61 76 |hat a jo|b was av|
|00001540| 61 69 6c 61 62 6c 65 0a | 62 65 66 6f 72 65 20 75 |ailable.|before u|
|00001550| 6e 6c 6f 63 6b 69 6e 67 | 20 74 68 65 20 71 75 65 |nlocking| the que|
|00001560| 75 65 2e 20 71 70 20 77 | 61 73 20 72 65 63 65 69 |ue. qp w|as recei|
|00001570| 76 69 6e 67 20 74 68 65 | 20 73 69 67 6e 61 6c 20 |ving the| signal |
|00001580| 62 75 74 20 63 6f 75 6c | 64 6e 27 74 0a 6f 70 65 |but coul|dn't.ope|
|00001590| 6e 20 74 68 65 20 71 75 | 65 75 65 20 74 6f 20 67 |n the qu|eue to g|
|000015a0| 65 74 20 74 68 65 20 6a | 6f 62 2e 0a 58 28 54 68 |et the j|ob..X(Th|
|000015b0| 61 6e 6b 73 20 74 6f 20 | 4a 6f 68 6e 20 57 68 69 |anks to |John Whi|
|000015c0| 74 6c 65 79 20 66 6f 72 | 20 74 68 69 73 20 6f 6e |tley for| this on|
|000015d0| 65 29 0a 58 0a 49 6d 70 | 6c 65 6d 65 6e 74 65 64 |e).X.Imp|lemented|
|000015e0| 20 63 6f 64 65 20 77 68 | 69 63 68 20 73 68 6f 75 | code wh|ich shou|
|000015f0| 6c 64 20 28 3f 29 20 70 | 72 65 76 65 6e 74 20 71 |ld (?) p|revent q|
|00001600| 70 20 62 65 69 6e 67 20 | 69 6e 69 74 69 61 6c 69 |p being |initiali|
|00001610| 73 65 64 20 74 77 69 63 | 65 20 0a 66 6f 72 20 74 |sed twic|e .for t|
|00001620| 68 65 20 73 61 6d 65 20 | 71 75 65 75 65 2e 20 72 |he same |queue. r|
|00001630| 65 6d 6f 76 65 64 20 2d | 72 20 28 72 65 73 74 61 |emoved -|r (resta|
|00001640| 72 74 29 20 6f 70 74 69 | 6f 6e 20 66 72 6f 6d 20 |rt) opti|on from |
|00001650| 71 70 2e 0a 58 0a 49 6d | 70 6c 65 6d 65 6e 74 65 |qp..X.Im|plemente|
|00001660| 64 20 63 6f 64 65 20 74 | 6f 20 61 6c 6c 6f 77 20 |d code t|o allow |
|00001670| 6f 70 74 69 6f 6e 61 6c | 20 71 75 65 75 65 73 20 |optional| queues |
|00001680| 74 6f 20 68 61 76 65 20 | 22 4e 4f 4e 45 22 20 61 |to have |"NONE" a|
|00001690| 73 20 74 68 65 20 64 65 | 66 61 75 6c 74 0a 6d 6f |s the de|fault.mo|
|000016a0| 6e 69 74 6f 72 2e 20 20 | 49 6e 20 74 68 65 73 65 |nitor. |In these|
|000016b0| 20 63 61 73 65 73 20 6a | 73 20 77 69 6c 6c 20 6e | cases j|s will n|
|000016c0| 6f 77 20 66 61 69 6c 20 | 69 66 20 74 68 65 20 71 |ow fail |if the q|
|000016d0| 75 65 75 65 20 68 61 73 | 20 22 4e 4f 4e 45 22 20 |ueue has| "NONE" |
|000016e0| 66 6f 72 0a 74 68 65 20 | 6d 6f 6e 69 74 6f 72 20 |for.the |monitor |
|000016f0| 61 6e 64 20 74 68 65 20 | 75 73 65 72 20 73 75 62 |and the |user sub|
|00001700| 6d 69 74 74 69 6e 67 20 | 74 68 65 20 6a 6f 62 20 |mitting |the job |
|00001710| 68 61 73 20 6e 6f 74 20 | 73 70 65 63 69 66 69 65 |has not |specifie|
|00001720| 64 20 61 20 0a 6d 6f 6e | 69 74 6f 72 20 6f 6e 20 |d a .mon|itor on |
|00001730| 74 68 65 20 63 6f 6d 6d | 61 6e 64 20 6c 69 6e 65 |the comm|and line|
|00001740| 2c 20 61 6e 64 20 74 68 | 65 69 72 20 4d 4f 4e 49 |, and th|eir MONI|
|00001750| 54 4f 52 20 65 6e 76 69 | 72 6f 6e 6d 65 6e 74 20 |TOR envi|ronment |
|00001760| 76 61 72 69 61 62 6c 65 | 0a 69 73 20 6e 6f 74 20 |variable|.is not |
|00001770| 73 65 74 2e 0a 58 0a 6d | 6f 64 69 66 69 65 64 20 |set..X.m|odified |
|00001780| 71 66 20 74 6f 20 6c 6f | 6f 6b 20 66 6f 72 20 74 |qf to lo|ok for t|
|00001790| 68 65 20 65 6e 76 69 72 | 6f 6e 6d 65 6e 74 20 76 |he envir|onment v|
|000017a0| 61 72 69 61 62 6c 65 20 | 69 66 20 64 65 66 61 75 |ariable |if defau|
|000017b0| 6c 74 20 6d 6f 6e 69 74 | 6f 72 0a 69 73 20 22 4e |lt monit|or.is "N|
|000017c0| 4f 4e 45 22 2e 0a 58 0a | 4d 6f 64 69 66 69 65 64 |ONE"..X.|Modified|
|000017d0| 20 71 63 20 74 6f 20 61 | 6c 6c 6f 77 20 63 68 61 | qc to a|llow cha|
|000017e0| 6e 67 65 73 20 74 6f 20 | 65 78 69 73 74 69 6e 67 |nges to |existing|
|000017f0| 20 71 75 65 75 65 73 20 | 28 70 72 69 6f 72 69 74 | queues |(priorit|
|00001800| 79 2c 20 6d 6f 6e 69 74 | 6f 72 20 65 74 63 2e 29 |y, monit|or etc.)|
|00001810| 0a 58 0a 4d 6f 64 69 66 | 69 65 64 20 6a 73 20 74 |.X.Modif|ied js t|
|00001820| 6f 20 72 65 70 6c 61 63 | 65 20 74 68 65 20 64 65 |o replac|e the de|
|00001830| 66 61 75 6c 74 20 73 68 | 65 6c 6c 20 77 69 74 68 |fault sh|ell with|
|00001840| 20 74 68 65 20 66 69 72 | 73 74 20 6c 69 6e 65 20 | the fir|st line |
|00001850| 69 6e 0a 58 2e 3c 71 75 | 65 75 65 6e 61 6d 65 3e |in.X.<qu|euename>|
|00001860| 72 63 20 28 66 69 78 65 | 64 20 63 6f 6e 74 65 78 |rc (fixe|d contex|
|00001870| 74 20 71 75 65 75 65 73 | 29 20 69 66 20 69 74 20 |t queues|) if it |
|00001880| 69 73 20 6f 66 20 74 68 | 65 20 66 6f 72 6d 3a 0a |is of th|e form:.|
|00001890| 58 23 21 3c 70 61 74 68 | 73 70 65 63 3e 20 5b 6f |X#!<path|spec> [o|
|000018a0| 70 74 69 6f 6e 73 5d 0a | 61 6e 64 20 69 66 20 74 |ptions].|and if t|
|000018b0| 68 65 20 2d 73 20 6f 70 | 74 69 6f 6e 20 69 73 20 |he -s op|tion is |
|000018c0| 6e 6f 74 20 75 73 65 64 | 2e 0a 58 0a 54 61 72 74 |not used|..X.Tart|
|000018d0| 65 64 20 75 70 20 64 6f | 63 75 6d 65 6e 74 61 74 |ed up do|cumentat|
|000018e0| 69 6f 6e 2c 20 72 65 68 | 61 73 68 65 64 20 6d 61 |ion, reh|ashed ma|
|000018f0| 6e 20 70 61 67 65 73 20 | 74 6f 20 61 63 63 6f 75 |n pages |to accou|
|00001900| 6e 74 20 66 6f 72 20 61 | 62 6f 76 65 20 63 68 61 |nt for a|bove cha|
|00001910| 6e 67 65 73 2e 0a 58 0a | 52 65 6c 65 61 73 65 64 |nges..X.|Released|
|00001920| 20 63 75 72 72 65 6e 74 | 20 76 65 72 73 69 6f 6e | current| version|
|00001930| 20 61 73 20 62 65 74 61 | 20 72 65 6c 65 61 73 65 | as beta| release|
|00001940| 20 74 6f 20 6c 6f 63 61 | 6c 20 73 69 74 65 73 2e | to loca|l sites.|
|00001950| 0a 58 0a 58 2e 2e 41 44 | 53 0a 58 0a 58 39 20 4f |.X.X..AD|S.X.X9 O|
|00001960| 63 74 6f 62 65 72 20 31 | 39 39 31 20 62 75 67 20 |ctober 1|991 bug |
|00001970| 6a 73 20 63 6f 72 65 64 | 75 6d 70 73 20 66 6f 72 |js cored|umps for|
|00001980| 20 66 69 78 65 64 20 63 | 6f 6e 74 65 78 74 20 71 | fixed c|ontext q|
|00001990| 75 65 75 65 73 20 77 68 | 65 72 65 0a 58 23 51 43 |ueues wh|ere.X#QC|
|000019a0| 4f 4e 54 45 58 54 20 69 | 73 20 64 65 66 69 6e 65 |ONTEXT i|s define|
|000019b0| 64 2e 20 44 69 73 63 6f | 76 65 72 65 64 20 61 20 |d. Disco|vered a |
|000019c0| 27 66 65 61 74 75 72 65 | 27 3a 2d 29 20 69 6e 20 |'feature|':-) in |
|000019d0| 53 75 6e 27 73 20 0a 69 | 6d 70 6c 65 6d 65 6e 74 |Sun's .i|mplement|
|000019e0| 61 74 69 6f 6e 20 72 65 | 20 58 50 47 33 20 28 74 |ation re| XPG3 (t|
|000019f0| 6d 29 2e 20 74 68 65 20 | 63 6f 72 65 20 64 75 6d |m). the |core dum|
|00001a00| 70 20 77 61 73 20 61 74 | 20 74 68 65 20 66 6f 6c |p was at| the fol|
|00001a10| 6c 6f 77 69 6e 67 3a 0a | 58 0a 69 20 3d 20 73 73 |lowing:.|X.i = ss|
|00001a20| 63 61 6e 66 20 28 62 75 | 66 66 2c 20 22 25 73 20 |canf (bu|ff, "%s |
|00001a30| 25 64 20 25 64 22 2c 20 | 72 63 6d 64 2c 20 26 6a |%d %d", |rcmd, &j|
|00001a40| 6f 62 75 69 64 2c 20 26 | 6a 6f 62 67 69 64 29 3b |obuid, &|jobgid);|
|00001a50| 0a 58 0a 49 66 20 6a 6f | 62 75 69 64 20 61 6e 64 |.X.If jo|buid and|
|00001a60| 20 6a 6f 62 67 69 64 20 | 61 72 65 20 64 65 66 69 | jobgid |are defi|
|00001a70| 6e 65 64 20 28 70 65 72 | 20 58 2d 4f 50 45 4e 29 |ned (per| X-OPEN)|
|00001a80| 20 61 73 20 75 69 64 5f | 74 2c 20 61 6e 64 20 67 | as uid_|t, and g|
|00001a90| 69 64 5f 74 2c 0a 69 74 | 20 72 65 73 75 6c 74 73 |id_t,.it| results|
|00001aa0| 20 69 6e 20 61 20 62 75 | 73 20 65 72 72 6f 72 21 | in a bu|s error!|
|00001ab0| 0a 58 0a 62 75 67 20 66 | 69 78 65 64 20 62 79 20 |.X.bug f|ixed by |
|00001ac0| 75 73 69 6e 67 20 61 20 | 70 61 69 72 20 6f 66 20 |using a |pair of |
|00001ad0| 69 6e 74 73 20 66 6f 72 | 20 74 68 65 20 73 73 63 |ints for| the ssc|
|00001ae0| 61 6e 66 2c 20 61 6e 64 | 20 6d 6f 76 69 6e 67 20 |anf, and| moving |
|00001af0| 74 68 65 6d 0a 74 6f 20 | 6a 6f 62 5b 75 67 5d 69 |them.to |job[ug]i|
|00001b00| 64 2e 0a 58 0a 58 31 36 | 20 4f 63 74 6f 62 65 72 |d..X.X16| October|
|00001b10| 20 31 39 39 31 20 2e 2e | 0a 41 64 64 65 64 20 2d | 1991 ..|.Added -|
|00001b20| 6e 20 6f 70 74 69 6f 6e | 20 74 6f 20 71 66 20 74 |n option| to qf t|
|00001b30| 6f 20 67 65 74 20 74 68 | 65 20 70 72 69 6f 72 69 |o get th|e priori|
|00001b40| 74 79 20 6f 72 20 6e 69 | 63 65 20 76 61 6c 75 65 |ty or ni|ce value|
|00001b50| 2e 0a 41 64 64 65 64 20 | 2d 6c 20 6f 70 74 69 6f |..Added |-l optio|
|00001b60| 6e 20 74 6f 20 71 66 20 | 74 6f 20 6c 69 73 74 20 |n to qf |to list |
|00001b70| 73 75 6d 6d 61 72 79 20 | 6f 66 20 66 6c 61 67 73 |summary |of flags|
|00001b80| 2e 0a 41 64 64 65 64 20 | 71 74 20 70 72 6f 67 72 |..Added |qt progr|
|00001b90| 61 6d 20 74 6f 20 74 65 | 73 74 20 71 75 65 75 65 |am to te|st queue|
|00001ba0| 20 66 6c 61 67 73 2e 0a | 61 64 64 65 64 20 71 61 | flags..|added qa|
|00001bb0| 20 73 63 72 69 70 74 20 | 74 6f 20 6c 69 73 74 20 | script |to list |
|00001bc0| 71 75 65 75 65 73 20 61 | 76 61 69 6c 61 62 6c 65 |queues a|vailable|
|00001bd0| 20 74 6f 20 61 20 75 73 | 65 72 2e 0a 42 72 6f 75 | to a us|er..Brou|
|00001be0| 67 68 74 20 6d 61 6e 20 | 70 61 67 65 73 20 75 70 |ght man |pages up|
|00001bf0| 20 74 6f 20 64 61 74 65 | 2e 0a 58 0a 58 2e 2e 41 | to date|..X.X..A|
|00001c00| 44 53 0a 58 0a 58 33 31 | 20 4f 63 74 6f 62 65 72 |DS.X.X31| October|
|00001c10| 20 31 39 39 31 0a 57 72 | 6f 74 65 20 64 6f 63 75 | 1991.Wr|ote docu|
|00001c20| 6d 65 6e 74 61 74 69 6f | 6e 2e 2e 2e 20 54 68 69 |mentatio|n... Thi|
|00001c30| 73 20 69 73 20 70 72 65 | 6c 69 6d 69 6e 61 72 79 |s is pre|liminary|
|00001c40| 2c 20 61 6e 64 20 6e 6f | 74 20 66 6f 72 6d 61 74 |, and no|t format|
|00001c50| 74 65 64 2e 0a 4d 79 20 | 6b 6e 6f 77 6c 65 64 67 |ted..My |knowledg|
|00001c60| 65 20 6f 66 20 5b 6e 74 | 5d 72 6f 66 66 20 69 73 |e of [nt|]roff is|
|00001c70| 20 6c 69 6d 69 74 65 64 | 20 74 6f 20 74 68 65 20 | limited| to the |
|00001c80| 63 72 65 61 74 69 6f 6e | 20 6f 66 20 6d 61 6e 20 |creation| of man |
|00001c90| 70 61 67 65 73 2c 0a 61 | 6e 64 20 6d 79 20 6b 6e |pages,.a|nd my kn|
|00001ca0| 6f 77 6c 65 64 67 65 20 | 6f 66 20 5b 4c 61 5d 54 |owledge |of [La]T|
|00001cb0| 65 58 20 69 73 20 65 76 | 65 6e 20 6c 65 73 73 2e |eX is ev|en less.|
|00001cc0| 2e 2e 2e 20 41 6e 79 20 | 76 6f 6c 75 6e 74 65 65 |... Any |voluntee|
|00001cd0| 72 73 3f 0a 58 0a 58 2e | 2e 41 44 53 0a 45 4e 44 |rs?.X.X.|.ADS.END|
|00001ce0| 5f 4f 46 5f 46 49 4c 45 | 0a 69 66 20 74 65 73 74 |_OF_FILE|.if test|
|00001cf0| 20 36 30 39 36 20 2d 6e | 65 20 60 77 63 20 2d 63 | 6096 -n|e `wc -c|
|00001d00| 20 3c 27 4e 45 57 53 27 | 60 3b 20 74 68 65 6e 0a | <'NEWS'|`; then.|
|00001d10| 20 20 20 20 65 63 68 6f | 20 73 68 61 72 3a 20 5c | echo| shar: \|
|00001d20| 22 27 4e 45 57 53 27 5c | 22 20 75 6e 70 61 63 6b |"'NEWS'\|" unpack|
|00001d30| 65 64 20 77 69 74 68 20 | 77 72 6f 6e 67 20 73 69 |ed with |wrong si|
|00001d40| 7a 65 21 0a 66 69 0a 23 | 20 65 6e 64 20 6f 66 20 |ze!.fi.#| end of |
|00001d50| 27 4e 45 57 53 27 0a 66 | 69 0a 69 66 20 74 65 73 |'NEWS'.f|i.if tes|
|00001d60| 74 20 2d 66 20 27 64 6f | 63 2f 63 68 61 70 2e 30 |t -f 'do|c/chap.0|
|00001d70| 35 27 20 2d 61 20 22 24 | 7b 31 7d 22 20 21 3d 20 |5' -a "$|{1}" != |
|00001d80| 22 2d 63 22 20 3b 20 74 | 68 65 6e 20 0a 20 20 65 |"-c" ; t|hen . e|
|00001d90| 63 68 6f 20 73 68 61 72 | 3a 20 57 69 6c 6c 20 6e |cho shar|: Will n|
|00001da0| 6f 74 20 63 6c 6f 62 62 | 65 72 20 65 78 69 73 74 |ot clobb|er exist|
|00001db0| 69 6e 67 20 66 69 6c 65 | 20 5c 22 27 64 6f 63 2f |ing file| \"'doc/|
|00001dc0| 63 68 61 70 2e 30 35 27 | 5c 22 0a 65 6c 73 65 0a |chap.05'|\".else.|
|00001dd0| 65 63 68 6f 20 73 68 61 | 72 3a 20 45 78 74 72 61 |echo sha|r: Extra|
|00001de0| 63 74 69 6e 67 20 5c 22 | 27 64 6f 63 2f 63 68 61 |cting \"|'doc/cha|
|00001df0| 70 2e 30 35 27 5c 22 20 | 5c 28 36 34 31 34 20 63 |p.05'\" |\(6414 c|
|00001e00| 68 61 72 61 63 74 65 72 | 73 5c 29 0a 73 65 64 20 |haracter|s\).sed |
|00001e10| 22 73 2f 5e 58 2f 2f 22 | 20 3e 27 64 6f 63 2f 63 |"s/^X//"| >'doc/c|
|00001e20| 68 61 70 2e 30 35 27 20 | 3c 3c 27 45 4e 44 5f 4f |hap.05' |<<'END_O|
|00001e30| 46 5f 46 49 4c 45 27 0a | 58 0a 58 20 20 20 20 20 |F_FILE'.|X.X |
|00001e40| 20 20 20 20 20 20 20 20 | 51 42 41 54 43 48 20 20 | |QBATCH |
|00001e50| 61 20 71 75 65 75 65 64 | 20 62 61 74 63 68 20 70 |a queued| batch p|
|00001e60| 72 6f 63 65 73 73 69 6e | 67 20 73 79 73 74 65 6d |rocessin|g system|
|00001e70| 20 66 6f 72 20 55 4e 49 | 58 0a 58 0a 58 0a 58 09 | for UNI|X.X.X.X.|
|00001e80| 20 20 20 20 20 54 68 65 | 20 51 42 41 54 43 48 20 | The| QBATCH |
|00001e90| 73 79 73 74 65 6d 20 61 | 6e 64 20 69 74 73 20 72 |system a|nd its r|
|00001ea0| 65 6c 61 74 65 64 20 70 | 72 6f 67 72 61 6d 73 20 |elated p|rograms |
|00001eb0| 77 65 72 65 0a 58 09 20 | 20 20 20 20 77 72 69 74 |were.X. | writ|
|00001ec0| 74 65 6e 20 62 79 20 41 | 6c 61 6e 20 44 2e 20 53 |ten by A|lan D. S|
|00001ed0| 61 75 6e 64 65 72 73 20 | 61 6e 64 20 61 72 65 0a |aunders |and are.|
|00001ee0| 58 09 20 20 20 20 20 43 | 6f 70 79 72 69 67 68 74 |X. C|opyright|
|00001ef0| 20 28 63 29 20 56 69 74 | 61 20 53 65 72 76 69 63 | (c) Vit|a Servic|
|00001f00| 65 73 20 4c 74 64 2e 20 | 31 39 39 30 20 61 6e 64 |es Ltd. |1990 and|
|00001f10| 0a 58 09 20 20 20 20 20 | 43 6f 70 79 72 69 67 68 |.X. |Copyrigh|
|00001f20| 74 20 28 63 29 20 56 69 | 74 61 20 46 69 62 72 65 |t (c) Vi|ta Fibre|
|00001f30| 73 20 4c 74 64 2e 20 31 | 39 39 31 0a 58 0a 58 35 |s Ltd. 1|991.X.X5|
|00001f40| 2e 20 4d 4f 4e 49 54 4f | 52 53 2e 0a 58 0a 58 20 |. MONITO|RS..X.X |
|00001f50| 20 20 20 41 20 6d 6f 6e | 69 74 6f 72 20 69 6e 20 | A mon|itor in |
|00001f60| 51 42 41 54 43 48 20 74 | 65 72 6d 73 2c 20 69 73 |QBATCH t|erms, is|
|00001f70| 20 61 20 66 69 6c 65 20 | 74 6f 20 77 68 69 63 68 | a file |to which|
|00001f80| 20 74 68 65 20 63 6f 6d | 62 69 6e 65 64 20 73 74 | the com|bined st|
|00001f90| 64 6f 75 74 20 61 6e 64 | 0a 58 20 20 20 20 73 74 |dout and|.X st|
|00001fa0| 64 65 72 72 20 6f 75 74 | 70 75 74 20 6f 66 20 61 |derr out|put of a|
|00001fb0| 20 6a 6f 62 20 69 73 20 | 77 72 69 74 74 65 6e 2e | job is |written.|
|00001fc0| 20 20 49 6e 20 74 68 65 | 20 61 62 73 65 6e 63 65 | In the| absence|
|00001fd0| 20 6f 66 20 61 6e 79 20 | 6f 74 68 65 72 20 64 69 | of any |other di|
|00001fe0| 72 65 63 74 69 6f 6e 2c | 0a 58 20 20 20 20 74 68 |rection,|.X th|
|00001ff0| 65 20 6d 6f 6e 69 74 6f | 72 20 66 6f 72 20 61 20 |e monito|r for a |
|00002000| 67 69 76 65 6e 20 71 75 | 65 75 65 20 77 69 6c 6c |given qu|eue will|
|00002010| 20 68 61 76 65 20 61 20 | 6e 61 6d 65 20 3c 71 75 | have a |name <qu|
|00002020| 65 75 65 6e 61 6d 65 3e | 2e 6d 6f 6e 2c 20 61 6e |euename>|.mon, an|
|00002030| 64 20 72 65 73 69 64 65 | 0a 58 20 20 20 20 69 6e |d reside|.X in|
|00002040| 20 74 68 65 20 73 70 6f | 6f 6c 69 6e 67 20 64 69 | the spo|oling di|
|00002050| 72 65 63 74 6f 72 79 20 | 28 53 50 4f 4f 4c 50 41 |rectory |(SPOOLPA|
|00002060| 54 48 29 20 66 6f 72 20 | 74 68 61 74 20 71 75 65 |TH) for |that que|
|00002070| 75 65 2e 20 28 6d 6f 72 | 65 20 77 69 6c 6c 20 62 |ue. (mor|e will b|
|00002080| 65 20 73 61 69 64 0a 58 | 20 20 20 20 6c 61 74 65 |e said.X| late|
|00002090| 72 20 6f 6e 20 74 68 65 | 20 6c 6f 63 61 74 69 6f |r on the| locatio|
|000020a0| 6e 20 6f 66 20 61 6e 64 | 20 61 63 63 65 73 73 20 |n of and| access |
|000020b0| 74 6f 20 6d 6f 6e 69 74 | 6f 72 73 2e 29 0a 58 0a |to monit|ors.).X.|
|000020c0| 58 20 20 20 20 57 68 65 | 6e 20 74 68 65 20 71 75 |X Whe|n the qu|
|000020d0| 65 75 65 20 70 72 6f 63 | 65 73 73 20 65 6e 67 69 |eue proc|ess engi|
|000020e0| 6e 65 20 28 71 70 29 20 | 66 6f 72 20 61 20 67 69 |ne (qp) |for a gi|
|000020f0| 76 65 6e 20 71 75 65 75 | 65 20 72 65 63 65 69 76 |ven queu|e receiv|
|00002100| 65 73 20 61 20 6a 6f 62 | 20 74 6f 20 62 65 0a 58 |es a job| to be.X|
|00002110| 20 20 20 20 70 72 6f 63 | 65 73 73 65 64 2c 20 69 | proc|essed, i|
|00002120| 74 20 77 69 6c 6c 20 6f | 70 65 6e 20 74 68 65 20 |t will o|pen the |
|00002130| 6d 6f 6e 69 74 6f 72 20 | 61 6e 64 20 77 72 69 74 |monitor |and writ|
|00002140| 65 20 61 20 74 69 6d 65 | 73 74 61 6d 70 20 69 6e |e a time|stamp in|
|00002150| 20 69 74 20 62 65 66 6f | 72 65 20 74 68 65 0a 58 | it befo|re the.X|
|00002160| 20 20 20 20 6a 6f 62 20 | 69 73 20 66 6f 72 6b 65 | job |is forke|
|00002170| 64 2e 20 20 41 66 74 65 | 72 20 66 6f 72 6b 69 6e |d. Afte|r forkin|
|00002180| 67 2c 20 61 6e 64 20 62 | 65 66 6f 72 65 20 65 78 |g, and b|efore ex|
|00002190| 65 63 75 74 69 6e 67 20 | 74 68 65 20 6a 6f 62 2c |ecuting |the job,|
|000021a0| 20 71 70 20 77 69 6c 6c | 0a 58 20 20 20 20 61 74 | qp will|.X at|
|000021b0| 74 61 63 68 20 73 74 64 | 6f 75 74 20 61 6e 64 20 |tach std|out and |
|000021c0| 73 74 64 65 72 72 20 74 | 6f 20 74 68 65 20 6f 70 |stderr t|o the op|
|000021d0| 65 6e 20 6d 6f 6e 69 74 | 6f 72 2e 20 57 68 65 6e |en monit|or. When|
|000021e0| 20 74 68 65 20 6a 6f 62 | 20 69 73 20 63 6f 6d 70 | the job| is comp|
|000021f0| 6c 65 74 65 0a 58 20 20 | 20 20 28 6f 72 20 69 73 |lete.X | (or is|
|00002200| 20 6b 69 6c 6c 65 64 29 | 20 61 6e 64 20 74 68 65 | killed)| and the|
|00002210| 20 63 68 69 6c 64 20 70 | 72 6f 63 65 73 73 20 65 | child p|rocess e|
|00002220| 78 69 74 73 2c 20 71 70 | 20 77 69 6c 6c 20 61 67 |xits, qp| will ag|
|00002230| 61 69 6e 20 77 72 69 74 | 65 20 61 20 74 69 6d 65 |ain writ|e a time|
|00002240| 73 74 61 6d 70 0a 58 20 | 20 20 20 69 6e 20 74 68 |stamp.X | in th|
|00002250| 65 20 6d 6f 6e 69 74 6f | 72 20 2e 20 20 54 68 65 |e monito|r . The|
|00002260| 20 70 72 6f 66 69 6c 65 | 20 74 69 6d 69 6e 67 20 | profile| timing |
|00002270| 63 61 6c 63 75 6c 61 74 | 65 64 20 62 79 20 71 70 |calculat|ed by qp|
|00002280| 20 69 73 20 61 6c 73 6f | 20 77 72 69 74 74 65 6e | is also| written|
|00002290| 20 69 6e 74 6f 0a 58 20 | 20 20 20 74 68 65 20 6d | into.X | the m|
|000022a0| 6f 6e 69 74 6f 72 20 62 | 65 66 6f 72 65 20 63 6c |onitor b|efore cl|
|000022b0| 6f 73 69 6e 67 20 69 74 | 20 28 61 73 20 77 65 6c |osing it| (as wel|
|000022c0| 6c 20 61 73 20 61 63 63 | 75 6d 75 6c 61 74 65 64 |l as acc|umulated|
|000022d0| 20 69 6e 20 74 68 65 20 | 71 75 65 75 65 20 68 65 | in the |queue he|
|000022e0| 61 64 65 72 29 0a 58 20 | 20 20 20 76 69 7a 3a 0a |ader).X | viz:.|
|000022f0| 58 0a 58 20 20 20 20 23 | 23 0a 58 20 20 20 20 23 |X.X #|#.X #|
|00002300| 23 20 51 75 65 75 65 20 | 73 6f 70 74 20 65 6e 74 |# Queue |sopt ent|
|00002310| 72 79 20 31 20 28 75 69 | 64 20 3d 20 30 20 3a 20 |ry 1 (ui|d = 0 : |
|00002320| 72 6f 6f 74 29 20 4a 6f | 62 3a 20 51 42 41 54 43 |root) Jo|b: QBATC|
|00002330| 48 20 74 65 73 74 20 66 | 69 6c 65 0a 58 20 20 20 |H test f|ile.X |
|00002340| 20 23 23 20 53 74 61 72 | 74 65 64 20 46 72 69 20 | ## Star|ted Fri |
|00002350| 4f 63 74 20 31 31 20 31 | 31 3a 31 38 3a 33 32 20 |Oct 11 1|1:18:32 |
|00002360| 31 39 39 31 0a 58 20 20 | 20 20 23 23 0a 58 0a 58 |1991.X | ##.X.X|
|00002370| 20 20 20 20 5b 20 68 65 | 72 65 20 77 6f 75 6c 64 | [ he|re would|
|00002380| 20 61 70 70 65 61 72 20 | 74 68 65 20 73 74 64 6f | appear |the stdo|
|00002390| 75 74 20 61 6e 64 20 73 | 74 64 65 72 72 20 6f 66 |ut and s|tderr of|
|000023a0| 20 74 68 65 20 6a 6f 62 | 20 5d 0a 58 0a 58 20 20 | the job| ].X.X |
|000023b0| 20 20 23 23 0a 58 20 20 | 20 20 23 23 20 51 75 65 | ##.X | ## Que|
|000023c0| 75 65 20 73 6f 70 74 20 | 65 6e 74 72 79 20 31 20 |ue sopt |entry 1 |
|000023d0| 28 75 69 64 20 3d 20 30 | 20 3a 20 72 6f 6f 74 29 |(uid = 0| : root)|
|000023e0| 20 4a 6f 62 3a 20 51 42 | 41 54 43 48 20 74 65 73 | Job: QB|ATCH tes|
|000023f0| 74 20 66 69 6c 65 0a 58 | 20 20 20 20 23 23 20 73 |t file.X| ## s|
|00002400| 74 6f 70 70 65 64 20 46 | 72 69 20 4f 63 74 20 31 |topped F|ri Oct 1|
|00002410| 31 20 31 31 3a 31 38 3a | 34 33 20 31 39 39 31 0a |1 11:18:|43 1991.|
|00002420| 58 20 20 20 20 23 23 20 | 54 69 6d 65 73 3a 2d 20 |X ## |Times:- |
|00002430| 51 75 65 75 65 64 3a 20 | 20 20 20 20 20 31 3a 35 |Queued: | 1:5|
|00002440| 34 3a 33 34 2e 31 38 20 | 20 20 52 65 61 6c 3a 20 |4:34.18 | Real: |
|00002450| 20 20 20 20 20 20 20 20 | 20 20 31 30 2e 35 33 0a | | 10.53.|
|00002460| 58 20 20 20 20 23 23 20 | 20 20 20 20 20 20 20 20 |X ## | |
|00002470| 20 20 55 73 65 72 3a 20 | 20 20 20 20 20 20 20 20 | User: | |
|00002480| 20 20 20 30 2e 30 36 20 | 53 79 73 74 65 6d 3a 20 | 0.06 |System: |
|00002490| 20 20 20 20 20 20 20 20 | 20 20 20 30 2e 32 38 0a | | 0.28.|
|000024a0| 58 20 20 20 20 23 23 20 | 20 28 4a 6f 62 20 65 78 |X ## | (Job ex|
|000024b0| 69 74 65 64 20 77 69 74 | 68 20 73 74 61 74 75 73 |ited wit|h status|
|000024c0| 20 30 29 0a 58 20 20 20 | 20 23 23 0a 58 0a 58 20 | 0).X | ##.X.X |
|000024d0| 20 20 20 54 68 65 20 6d | 6f 6e 69 74 6f 72 20 74 | The m|onitor t|
|000024e0| 68 65 72 65 66 6f 72 65 | 20 6e 6f 74 20 6f 6e 6c |herefore| not onl|
|000024f0| 79 20 73 65 72 76 65 73 | 20 74 6f 20 72 65 63 6f |y serves| to reco|
|00002500| 72 64 20 74 68 65 20 6f | 75 74 70 75 74 20 6f 66 |rd the o|utput of|
|00002510| 20 61 20 6a 6f 62 2c 20 | 62 75 74 0a 58 20 20 20 | a job, |but.X |
|00002520| 20 61 6c 73 6f 20 74 6f | 20 67 69 76 65 20 73 6f | also to| give so|
|00002530| 6d 65 20 69 6e 64 69 63 | 61 74 69 6f 6e 20 6f 66 |me indic|ation of|
|00002540| 20 69 74 27 73 20 70 65 | 72 66 6f 72 6d 61 6e 63 | it's pe|rformanc|
|00002550| 65 2c 20 61 6e 64 20 72 | 65 73 6f 75 72 63 65 20 |e, and r|esource |
|00002560| 75 73 61 67 65 2e 0a 58 | 0a 58 20 20 20 20 4e 6f |usage..X|.X No|
|00002570| 72 6d 61 6c 6c 79 2c 20 | 71 75 65 75 65 20 64 65 |rmally, |queue de|
|00002580| 66 61 75 6c 74 20 6d 6f | 6e 69 74 6f 72 73 20 77 |fault mo|nitors w|
|00002590| 69 6c 6c 20 62 65 20 70 | 75 62 6c 69 63 6c 79 20 |ill be p|ublicly |
|000025a0| 72 65 61 64 61 62 6c 65 | 2c 20 74 6f 20 61 6c 6c |readable|, to all|
|000025b0| 6f 77 20 75 73 65 72 73 | 0a 58 20 20 20 20 74 6f |ow users|.X to|
|000025c0| 20 63 68 65 63 6b 20 6f | 6e 20 74 68 65 20 70 72 | check o|n the pr|
|000025d0| 6f 67 72 65 73 73 20 6f | 66 20 74 68 65 69 72 20 |ogress o|f their |
|000025e0| 6a 6f 62 73 2e 20 20 54 | 68 69 73 20 6f 62 76 69 |jobs. T|his obvi|
|000025f0| 6f 75 73 6c 79 20 6d 61 | 79 20 62 65 20 63 68 61 |ously ma|y be cha|
|00002600| 6e 67 65 64 20 62 79 0a | 58 20 20 20 20 74 68 65 |nged by.|X the|
|00002610| 20 6c 6f 63 61 6c 20 73 | 79 73 74 65 6d 20 61 64 | local s|ystem ad|
|00002620| 6d 69 6e 69 73 74 72 61 | 74 6f 72 2c 20 70 61 72 |ministra|tor, par|
|00002630| 74 69 63 75 6c 61 72 6c | 79 20 69 6e 20 74 68 65 |ticularl|y in the|
|00002640| 20 63 61 73 65 20 6f 66 | 20 6d 6f 6e 69 74 6f 72 | case of| monitor|
|00002650| 73 0a 58 20 20 20 20 70 | 6f 74 65 6e 74 69 61 6c |s.X p|otential|
|00002660| 6c 79 20 63 6f 6e 74 61 | 69 6e 69 6e 67 20 73 65 |ly conta|ining se|
|00002670| 6e 73 69 74 69 76 65 20 | 69 6e 66 6f 72 6d 61 74 |nsitive |informat|
|00002680| 69 6f 6e 2e 20 20 49 20 | 6d 69 67 68 74 20 73 75 |ion. I |might su|
|00002690| 67 67 65 73 74 20 68 6f | 77 65 76 65 72 20 74 68 |ggest ho|wever th|
|000026a0| 61 74 0a 58 20 20 20 20 | 61 20 70 72 6f 67 72 61 |at.X |a progra|
|000026b0| 6d 20 77 68 69 63 68 20 | 70 75 74 73 20 73 65 6e |m which |puts sen|
|000026c0| 73 69 74 69 76 65 20 69 | 6e 66 6f 72 6d 61 74 69 |sitive i|nformati|
|000026d0| 6f 6e 20 74 6f 20 73 74 | 64 6f 75 74 20 6f 72 20 |on to st|dout or |
|000026e0| 73 74 64 65 72 72 20 73 | 68 6f 75 6c 64 20 62 65 |stderr s|hould be|
|000026f0| 0a 58 20 20 20 20 6c 6f | 6f 6b 65 64 20 61 74 2e |.X lo|oked at.|
|00002700| 0a 58 0a 58 20 20 20 20 | 54 68 65 20 6d 6f 6e 69 |.X.X |The moni|
|00002710| 74 6f 72 20 66 6f 72 20 | 61 20 71 75 65 75 65 20 |tor for |a queue |
|00002720| 6d 61 79 20 62 65 20 61 | 63 63 65 73 73 65 64 20 |may be a|ccessed |
|00002730| 75 73 69 6e 67 20 71 66 | 20 74 6f 20 70 72 6f 76 |using qf| to prov|
|00002740| 69 64 65 20 74 68 65 20 | 70 61 74 68 73 70 65 63 |ide the |pathspec|
|00002750| 2e 0a 58 20 20 20 20 71 | 66 20 2d 71 20 72 65 74 |..X q|f -q ret|
|00002760| 75 72 6e 73 20 74 68 65 | 20 71 75 65 75 65 20 64 |urns the| queue d|
|00002770| 65 66 61 75 6c 74 20 6d | 6f 6e 69 74 6f 72 2c 20 |efault m|onitor, |
|00002780| 61 6e 64 0a 58 20 20 20 | 20 71 66 20 2d 6d 20 72 |and.X | qf -m r|
|00002790| 65 74 75 72 6e 73 20 74 | 68 65 20 6d 6f 6e 69 74 |eturns t|he monit|
|000027a0| 6f 72 20 6f 66 20 74 68 | 65 20 63 75 72 72 65 6e |or of th|e curren|
|000027b0| 74 6c 79 20 72 75 6e 6e | 69 6e 67 20 6a 6f 62 20 |tly runn|ing job |
|000027c0| 69 66 20 74 68 65 72 65 | 20 69 73 20 6f 6e 65 2c |if there| is one,|
|000027d0| 0a 58 20 20 20 20 6f 74 | 68 65 72 77 69 73 65 20 |.X ot|herwise |
|000027e0| 74 68 65 20 71 75 65 75 | 65 20 64 65 66 61 75 6c |the queu|e defaul|
|000027f0| 74 20 6d 6f 6e 69 74 6f | 72 2e 0a 58 20 20 20 20 |t monito|r..X |
|00002800| 73 6f 3a 0a 58 20 20 20 | 20 6d 6f 72 65 20 60 71 |so:.X | more `q|
|00002810| 66 20 2d 6d 20 77 6f 72 | 6b 60 0a 58 20 20 20 20 |f -m wor|k`.X |
|00002820| 77 69 6c 6c 20 61 6c 6c | 6f 77 20 74 68 65 20 75 |will all|ow the u|
|00002830| 73 65 72 20 74 6f 20 65 | 78 61 6d 69 6e 65 20 74 |ser to e|xamine t|
|00002840| 68 65 20 6d 6f 6e 69 74 | 6f 72 20 66 6f 72 20 74 |he monit|or for t|
|00002850| 68 65 20 6a 6f 62 20 72 | 75 6e 6e 69 6e 67 20 69 |he job r|unning i|
|00002860| 6e 20 74 68 65 20 77 6f | 72 6b 0a 58 20 20 20 20 |n the wo|rk.X |
|00002870| 71 75 65 75 65 2c 20 61 | 6e 64 0a 58 20 20 20 20 |queue, a|nd.X |
|00002880| 74 61 69 6c 20 2d 66 20 | 60 71 66 20 2d 6d 20 77 |tail -f |`qf -m w|
|00002890| 6f 72 6b 60 0a 58 20 20 | 20 20 77 69 6c 6c 20 61 |ork`.X | will a|
|000028a0| 6c 6c 6f 77 20 74 68 65 | 20 75 73 65 72 20 74 6f |llow the| user to|
|000028b0| 20 77 61 74 63 68 20 74 | 68 65 20 70 72 6f 67 72 | watch t|he progr|
|000028c0| 65 73 73 20 6f 66 20 74 | 68 65 20 63 75 72 72 65 |ess of t|he curre|
|000028d0| 6e 74 6c 79 20 72 75 6e | 6e 69 6e 67 20 6a 6f 62 |ntly run|ning job|
|000028e0| 2e 0a 58 0a 58 20 20 20 | 20 54 68 65 20 64 65 66 |..X.X | The def|
|000028f0| 61 75 6c 74 20 6d 6f 6e | 69 74 6f 72 20 66 6f 72 |ault mon|itor for|
|00002900| 20 61 20 71 75 65 75 65 | 20 69 73 20 64 65 66 69 | a queue| is defi|
|00002910| 6e 65 64 20 75 73 69 6e | 67 20 71 63 20 77 69 74 |ned usin|g qc wit|
|00002920| 68 20 74 68 65 20 2d 6d | 20 6f 70 74 69 6f 6e 2e |h the -m| option.|
|00002930| 0a 58 20 20 20 20 49 66 | 20 74 68 69 73 20 6f 70 |.X If| this op|
|00002940| 74 69 6f 6e 20 69 73 20 | 6e 6f 74 20 75 73 65 64 |tion is |not used|
|00002950| 2c 20 74 68 65 20 6d 6f | 6e 69 74 6f 72 20 69 73 |, the mo|nitor is|
|00002960| 20 63 72 65 61 74 65 64 | 20 61 73 20 61 62 6f 76 | created| as abov|
|00002970| 65 20 69 6e 20 74 68 65 | 20 71 75 65 75 65 0a 58 |e in the| queue.X|
|00002980| 20 20 20 20 73 70 6f 6f | 6c 69 6e 67 20 64 69 72 | spoo|ling dir|
|00002990| 65 63 74 6f 72 79 2e 20 | 20 54 68 65 20 2d 6d 20 |ectory. | The -m |
|000029a0| 6f 70 74 69 6f 6e 20 77 | 69 6c 6c 20 63 61 75 73 |option w|ill caus|
|000029b0| 65 20 74 68 65 20 61 62 | 73 6f 6c 75 74 65 20 70 |e the ab|solute p|
|000029c0| 61 74 68 73 70 65 63 20 | 6f 66 20 74 68 65 0a 58 |athspec |of the.X|
|000029d0| 20 20 20 20 6f 70 74 69 | 6f 6e 20 76 61 6c 75 65 | opti|on value|
|000029e0| 20 74 6f 20 62 65 20 75 | 73 65 64 2e 20 20 49 66 | to be u|sed. If|
|000029f0| 20 74 68 69 73 20 76 61 | 6c 75 65 20 69 73 20 61 | this va|lue is a|
|00002a00| 20 66 69 6c 65 2c 20 74 | 68 61 74 20 77 69 6c 6c | file, t|hat will|
|00002a10| 20 62 65 20 75 73 65 64 | 2c 20 49 66 20 69 74 0a | be used|, If it.|
|00002a20| 58 20 20 20 20 69 73 20 | 61 20 64 69 72 65 63 74 |X is |a direct|
|00002a30| 6f 72 79 2c 20 74 68 65 | 6e 20 74 68 65 20 66 69 |ory, the|n the fi|
|00002a40| 6c 65 20 3c 71 75 65 75 | 65 6e 61 6d 65 3e 2e 6d |le <queu|ename>.m|
|00002a50| 6f 6e 20 77 69 6c 6c 20 | 62 65 20 75 73 65 64 20 |on will |be used |
|00002a60| 69 6e 20 74 68 61 74 0a | 58 20 20 20 20 64 69 72 |in that.|X dir|
|00002a70| 65 63 74 6f 72 79 2e 0a | 58 0a 58 20 20 20 20 55 |ectory..|X.X U|
|00002a80| 73 65 72 73 20 73 75 62 | 6d 69 74 74 69 6e 67 20 |sers sub|mitting |
|00002a90| 6a 6f 62 73 20 74 6f 20 | 74 68 65 20 71 75 65 75 |jobs to |the queu|
|00002aa0| 65 20 63 61 6e 20 61 6c | 73 6f 20 75 73 65 20 61 |e can al|so use a|
|00002ab0| 20 2d 6d 20 6f 70 74 69 | 6f 6e 20 74 6f 20 6a 73 | -m opti|on to js|
|00002ac0| 20 74 6f 0a 58 20 20 20 | 20 6f 76 65 72 72 75 6c | to.X | overrul|
|00002ad0| 65 20 74 68 65 20 64 65 | 66 61 75 6c 74 20 71 75 |e the de|fault qu|
|00002ae0| 65 75 65 20 6d 6f 6e 69 | 74 6f 72 2e 20 28 74 68 |eue moni|tor. (th|
|00002af0| 65 20 72 75 6c 65 73 20 | 61 72 65 20 74 68 65 20 |e rules |are the |
|00002b00| 73 61 6d 65 29 2e 0a 58 | 0a 58 20 20 20 20 49 66 |same)..X|.X If|
|00002b10| 20 61 20 75 73 65 72 20 | 73 75 62 6d 69 74 74 69 | a user |submitti|
|00002b20| 6e 67 20 61 20 6a 6f 62 | 20 68 61 73 20 61 20 4d |ng a job| has a M|
|00002b30| 4f 4e 49 54 4f 52 20 65 | 6e 76 69 72 6f 6e 6d 65 |ONITOR e|nvironme|
|00002b40| 6e 74 20 76 61 72 69 61 | 62 6c 65 20 73 65 74 2c |nt varia|ble set,|
|00002b50| 20 74 68 65 6e 20 69 6e | 0a 58 20 20 20 20 74 68 | then in|.X th|
|00002b60| 65 20 61 62 73 65 6e 63 | 65 20 6f 66 20 61 20 2d |e absenc|e of a -|
|00002b70| 6d 20 6f 70 74 69 6f 6e | 20 74 6f 20 6a 73 2c 20 |m option| to js, |
|00002b80| 74 68 69 73 20 77 69 6c | 6c 20 62 65 20 75 73 65 |this wil|l be use|
|00002b90| 64 20 74 6f 20 64 65 74 | 65 72 6d 69 6e 65 20 74 |d to det|ermine t|
|00002ba0| 68 65 20 6d 6f 6e 69 74 | 6f 72 0a 58 20 20 20 20 |he monit|or.X |
|00002bb0| 66 6f 72 20 74 68 65 20 | 6a 6f 62 2e 0a 58 0a 58 |for the |job..X.X|
|00002bc0| 20 20 20 20 53 6f 2c 20 | 74 68 65 20 6d 6f 6e 69 | So, |the moni|
|00002bd0| 74 6f 72 20 66 6f 72 20 | 61 20 6a 6f 62 20 63 61 |tor for |a job ca|
|00002be0| 6e 20 62 65 20 64 65 74 | 65 72 6d 69 6e 65 64 20 |n be det|ermined |
|00002bf0| 73 65 76 65 72 61 6c 20 | 77 61 79 73 3a 0a 58 20 |several |ways:.X |
|00002c00| 20 20 20 31 2e 09 44 65 | 66 61 75 6c 74 65 64 20 | 1..De|faulted |
|00002c10| 77 68 65 6e 20 74 68 65 | 20 71 75 65 75 65 20 77 |when the| queue w|
|00002c20| 61 73 20 63 72 65 61 74 | 65 64 2e 0a 58 20 20 20 |as creat|ed..X |
|00002c30| 20 32 2e 09 53 70 65 63 | 69 66 69 65 64 20 77 68 | 2..Spec|ified wh|
|00002c40| 65 6e 20 74 68 65 20 71 | 75 65 75 65 20 77 61 73 |en the q|ueue was|
|00002c50| 20 63 72 65 61 74 65 64 | 20 6f 72 20 61 6d 65 6e | created| or amen|
|00002c60| 64 65 64 2e 0a 58 20 20 | 20 20 33 2e 20 20 46 72 |ded..X | 3. Fr|
|00002c70| 6f 6d 20 74 68 65 20 65 | 6e 76 69 72 6f 6e 6d 65 |om the e|nvironme|
|00002c80| 6e 74 20 6f 66 20 74 68 | 65 20 73 75 62 6d 69 74 |nt of th|e submit|
|00002c90| 74 69 6e 67 20 75 73 65 | 72 2e 0a 58 20 20 20 20 |ting use|r..X |
|00002ca0| 34 09 53 70 65 63 69 66 | 69 65 64 20 74 6f 20 6a |4.Specif|ied to j|
|00002cb0| 73 20 77 68 65 6e 20 74 | 68 65 20 6a 6f 62 20 69 |s when t|he job i|
|00002cc0| 73 20 73 75 62 6d 69 74 | 74 65 64 2e 0a 58 0a 58 |s submit|ted..X.X|
|00002cd0| 20 20 20 20 49 6e 20 65 | 61 63 68 20 63 61 73 65 | In e|ach case|
|00002ce0| 2c 20 69 66 20 74 68 65 | 20 6d 6f 6e 69 74 6f 72 |, if the| monitor|
|00002cf0| 20 64 65 74 65 72 6d 69 | 6e 65 64 20 69 73 20 61 | determi|ned is a|
|00002d00| 20 66 69 6c 65 2c 20 74 | 68 61 74 20 77 69 6c 6c | file, t|hat will|
|00002d10| 20 62 65 20 75 73 65 64 | 2e 20 20 49 66 0a 58 20 | be used|. If.X |
|00002d20| 20 20 20 69 74 20 69 73 | 20 61 20 64 69 72 65 63 | it is| a direc|
|00002d30| 74 6f 72 79 2c 20 61 20 | 66 69 6c 65 20 3c 71 75 |tory, a |file <qu|
|00002d40| 65 75 65 6e 61 6d 65 3e | 2e 6d 6f 6e 20 77 69 6c |euename>|.mon wil|
|00002d50| 6c 20 62 65 20 75 73 65 | 64 20 69 6e 20 74 68 61 |l be use|d in tha|
|00002d60| 74 20 64 69 72 65 63 74 | 6f 72 79 2e 0a 58 20 0a |t direct|ory..X .|
|00002d70| 58 20 20 20 20 49 6e 20 | 74 68 65 20 61 62 6f 76 |X In |the abov|
|00002d80| 65 20 6c 69 73 74 2c 20 | 69 66 20 6d 6f 72 65 20 |e list, |if more |
|00002d90| 74 68 61 6e 20 6f 6e 65 | 20 63 61 73 65 20 69 73 |than one| case is|
|00002da0| 20 61 76 61 69 6c 61 62 | 6c 65 20 61 20 73 6f 75 | availab|le a sou|
|00002db0| 72 63 65 20 6c 61 74 65 | 72 20 69 6e 20 74 68 65 |rce late|r in the|
|00002dc0| 0a 58 20 20 20 20 6c 69 | 73 74 20 77 69 6c 6c 20 |.X li|st will |
|00002dd0| 6f 76 65 72 72 75 6c 65 | 20 61 20 73 6f 75 72 63 |overrule| a sourc|
|00002de0| 65 20 65 61 72 6c 69 65 | 72 20 28 61 20 6d 6f 6e |e earlie|r (a mon|
|00002df0| 69 74 6f 72 20 73 6f 75 | 72 63 65 64 20 62 79 20 |itor sou|rced by |
|00002e00| 73 70 65 63 69 66 79 69 | 6e 67 20 2d 6d 20 74 6f |specifyi|ng -m to|
|00002e10| 0a 58 20 20 20 20 6a 73 | 20 77 69 6c 6c 20 61 6c |.X js| will al|
|00002e20| 77 61 79 73 20 62 65 20 | 75 73 65 64 20 65 76 65 |ways be |used eve|
|00002e30| 6e 20 69 66 20 61 20 4d | 4f 4e 49 54 4f 52 20 65 |n if a M|ONITOR e|
|00002e40| 6e 76 69 72 6f 6e 6d 65 | 6e 74 20 76 61 72 69 61 |nvironme|nt varia|
|00002e50| 62 6c 65 20 69 73 20 73 | 65 74 2e 29 0a 58 0a 58 |ble is s|et.).X.X|
|00002e60| 20 20 20 20 49 66 20 61 | 20 64 65 66 61 75 6c 74 | If a| default|
|00002e70| 20 6d 6f 6e 69 74 6f 72 | 20 6f 66 20 22 4e 4f 4e | monitor| of "NON|
|00002e80| 45 22 20 69 73 20 73 70 | 65 63 69 66 69 65 64 20 |E" is sp|ecified |
|00002e90| 74 6f 20 71 63 20 66 6f | 72 20 65 69 74 68 65 72 |to qc fo|r either|
|00002ea0| 20 61 20 6e 65 77 20 6f | 72 0a 58 20 20 20 20 65 | a new o|r.X e|
|00002eb0| 78 69 73 74 69 6e 67 20 | 71 75 65 75 65 3a 0a 58 |xisting |queue:.X|
|00002ec0| 20 0a 58 20 20 20 20 71 | 63 20 2d 6d 20 4e 4f 4e | .X q|c -m NON|
|00002ed0| 45 20 3c 71 75 65 75 65 | 6e 61 6d 65 3e 0a 58 20 |E <queue|name>.X |
|00002ee0| 0a 58 20 20 20 20 54 68 | 65 6e 20 74 68 65 72 65 |.X Th|en there|
|00002ef0| 20 77 69 6c 6c 20 62 65 | 20 6e 6f 20 64 65 66 61 | will be| no defa|
|00002f00| 75 6c 74 20 6d 6f 6e 69 | 74 6f 72 2e 20 20 6a 73 |ult moni|tor. js|
|00002f10| 20 74 68 65 6e 20 65 78 | 70 65 63 74 73 20 74 68 | then ex|pects th|
|00002f20| 65 20 75 73 65 72 20 6f | 6e 0a 58 20 20 20 20 73 |e user o|n.X s|
|00002f30| 75 62 6d 69 74 74 69 6e | 67 20 61 20 6a 6f 62 2c |ubmittin|g a job,|
|00002f40| 20 74 6f 20 70 72 6f 76 | 69 64 65 20 61 20 70 61 | to prov|ide a pa|
|00002f50| 74 68 73 70 65 63 20 66 | 6f 72 20 61 20 6d 6f 6e |thspec f|or a mon|
|00002f60| 69 74 6f 72 2c 20 65 69 | 74 68 65 72 20 74 68 72 |itor, ei|ther thr|
|00002f70| 6f 75 67 68 0a 58 20 20 | 20 20 74 68 65 20 2d 6d |ough.X | the -m|
|00002f80| 20 6f 70 74 69 6f 6e 20 | 6f 66 20 6a 73 2c 20 6f | option |of js, o|
|00002f90| 72 20 74 68 72 6f 75 67 | 68 20 61 6e 20 65 6e 76 |r throug|h an env|
|00002fa0| 69 72 6f 6e 6d 65 6e 74 | 20 76 61 72 69 61 62 6c |ironment| variabl|
|00002fb0| 65 20 22 4d 4f 4e 49 54 | 4f 52 22 2e 20 20 49 74 |e "MONIT|OR". It|
|00002fc0| 0a 58 20 20 20 20 57 49 | 4c 4c 20 4e 4f 54 20 61 |.X WI|LL NOT a|
|00002fd0| 6c 6c 6f 77 20 74 68 65 | 20 6a 6f 62 20 74 6f 20 |llow the| job to |
|00002fe0| 62 65 20 73 75 62 6d 69 | 74 74 65 64 20 69 66 20 |be submi|tted if |
|00002ff0| 61 20 6d 6f 6e 69 74 6f | 72 20 69 73 20 6e 6f 74 |a monito|r is not|
|00003000| 20 73 70 65 63 69 66 69 | 65 64 2e 0a 58 20 0a 58 | specifi|ed..X .X|
|00003010| 20 20 20 20 49 66 20 79 | 6f 75 20 77 69 73 68 20 | If y|ou wish |
|00003020| 74 6f 20 73 65 74 20 75 | 70 20 61 6e 20 65 6e 76 |to set u|p an env|
|00003030| 69 72 6f 6e 6d 65 6e 74 | 20 77 68 65 72 65 20 65 |ironment| where e|
|00003040| 61 63 68 20 75 73 65 72 | 20 6f 72 20 67 72 6f 75 |ach user| or grou|
|00003050| 70 20 6f 66 20 75 73 65 | 72 73 0a 58 20 20 20 20 |p of use|rs.X |
|00003060| 68 61 73 20 74 68 65 69 | 72 20 6f 77 6e 20 70 72 |has thei|r own pr|
|00003070| 69 76 61 74 65 20 6d 6f | 6e 69 74 6f 72 73 20 66 |ivate mo|nitors f|
|00003080| 6f 72 20 65 61 63 68 20 | 71 75 65 75 65 20 74 68 |or each |queue th|
|00003090| 65 79 20 75 73 65 2c 20 | 74 68 65 6e 20 73 65 74 |ey use, |then set|
|000030a0| 20 75 70 20 69 6e 0a 58 | 20 20 20 20 74 68 65 69 | up in.X| thei|
|000030b0| 72 20 2e 63 73 68 72 63 | 2c 20 2e 6c 6f 67 69 6e |r .cshrc|, .login|
|000030c0| 2c 20 6f 72 20 2e 70 72 | 6f 66 69 6c 65 2c 20 61 |, or .pr|ofile, a|
|000030d0| 6e 20 65 6e 76 69 72 6f | 6e 6d 65 6e 74 20 76 61 |n enviro|nment va|
|000030e0| 72 69 61 62 6c 65 20 70 | 6f 69 6e 74 69 6e 67 20 |riable p|ointing |
|000030f0| 74 6f 0a 58 20 20 20 20 | 61 20 44 49 52 45 43 54 |to.X |a DIRECT|
|00003100| 4f 52 59 20 69 6e 20 74 | 68 65 69 72 20 6f 77 6e |ORY in t|heir own|
|00003110| 20 66 69 6c 65 73 70 61 | 63 65 2e 20 20 4d 6f 6e | filespa|ce. Mon|
|00003120| 69 74 6f 72 73 20 6e 61 | 6d 65 64 20 66 6f 72 20 |itors na|med for |
|00003130| 74 68 65 20 71 75 65 75 | 65 73 0a 58 20 20 20 20 |the queu|es.X |
|00003140| 28 76 69 7a 3a 20 3c 71 | 75 65 75 65 6e 61 6d 65 |(viz: <q|ueuename|
|00003150| 3e 2e 6d 6f 6e 29 20 77 | 69 6c 6c 20 62 65 20 63 |>.mon) w|ill be c|
|00003160| 72 65 61 74 65 64 20 61 | 6e 64 20 75 73 65 64 20 |reated a|nd used |
|00003170| 69 6e 20 74 68 61 74 20 | 64 69 72 65 63 74 6f 72 |in that |director|
|00003180| 79 2e 0a 58 20 0a 58 20 | 20 20 20 57 41 52 4e 49 |y..X .X | WARNI|
|00003190| 4e 47 21 0a 58 20 0a 58 | 20 20 20 20 31 2e 20 53 |NG!.X .X| 1. S|
|000031a0| 75 63 68 20 70 72 69 76 | 61 74 65 20 6d 6f 6e 69 |uch priv|ate moni|
|000031b0| 74 6f 72 73 20 61 72 65 | 20 4f 4e 4c 59 20 75 73 |tors are| ONLY us|
|000031c0| 65 64 20 66 6f 72 20 71 | 75 65 75 65 73 20 77 68 |ed for q|ueues wh|
|000031d0| 6f 73 65 20 64 65 66 61 | 75 6c 74 20 6d 6f 6e 69 |ose defa|ult moni|
|000031e0| 74 6f 72 0a 58 20 20 20 | 20 20 20 20 69 73 20 4e |tor.X | is N|
|000031f0| 4f 4e 45 2e 0a 58 20 20 | 20 20 0a 58 20 20 20 20 |ONE..X | .X |
|00003200| 32 2e 20 41 6e 79 20 70 | 72 6f 66 69 6c 65 20 69 |2. Any p|rofile i|
|00003210| 6e 66 6f 72 6d 61 74 69 | 6f 6e 20 73 74 6f 72 65 |nformati|on store|
|00003220| 64 20 69 6e 20 74 68 65 | 20 6d 6f 6e 69 74 6f 72 |d in the| monitor|
|00003230| 73 20 77 69 6c 6c 20 62 | 65 20 73 70 6c 69 74 20 |s will b|e split |
|00003240| 75 70 20 0a 58 20 20 20 | 20 20 20 20 61 63 72 6f |up .X | acro|
|00003250| 73 73 20 73 65 76 65 72 | 61 6c 20 64 69 72 65 63 |ss sever|al direc|
|00003260| 74 6f 72 69 65 73 2c 20 | 74 68 75 73 20 6d 61 6b |tories, |thus mak|
|00003270| 69 6e 67 20 61 63 63 6f | 75 6e 74 69 6e 67 20 61 |ing acco|unting a|
|00003280| 6e 64 20 74 75 6e 69 6e | 67 20 6d 6f 72 65 0a 58 |nd tunin|g more.X|
|00003290| 20 20 20 20 20 20 20 64 | 69 66 66 69 63 75 6c 74 | d|ifficult|
|000032a0| 2e 0a 58 20 0a 58 20 20 | 20 20 33 2e 20 75 73 69 |..X .X | 3. usi|
|000032b0| 6e 67 20 27 6d 6f 72 65 | 20 60 71 66 20 2d 6d 20 |ng 'more| `qf -m |
|000032c0| 3c 71 75 65 75 65 6e 61 | 6d 65 3e 60 27 20 6d 61 |<queuena|me>`' ma|
|000032d0| 79 20 67 69 76 65 20 73 | 74 61 72 74 6c 69 6e 67 |y give s|tartling|
|000032e0| 20 72 65 73 75 6c 74 73 | 20 77 68 65 6e 0a 58 20 | results| when.X |
|000032f0| 20 20 20 20 20 20 75 73 | 65 64 20 66 6f 72 20 74 | us|ed for t|
|00003300| 72 6f 75 62 6c 65 73 68 | 6f 6f 74 69 6e 67 2e 20 |roublesh|ooting. |
|00003310| 20 28 54 68 65 20 72 65 | 73 75 6c 74 20 77 69 6c | (The re|sult wil|
|00003320| 6c 20 64 65 70 65 6e 64 | 20 6f 6e 20 74 68 65 20 |l depend| on the |
|00003330| 73 65 74 74 69 6e 67 0a | 58 20 20 20 20 20 20 20 |setting.|X |
|00003340| 6f 66 20 59 4f 55 52 20 | 4d 4f 4e 49 54 4f 52 20 |of YOUR |MONITOR |
|00003350| 65 6e 76 69 72 6f 6e 6d | 65 6e 74 20 76 61 72 69 |environm|ent vari|
|00003360| 61 62 6c 65 2c 20 61 6e | 64 20 6d 61 79 20 6e 6f |able, an|d may no|
|00003370| 74 20 68 61 76 65 20 61 | 6e 79 0a 58 20 20 20 20 |t have a|ny.X |
|00003380| 20 20 20 72 65 6c 61 74 | 69 6f 6e 73 68 69 70 20 | relat|ionship |
|00003390| 74 6f 20 74 68 65 20 6a | 6f 62 20 79 6f 75 20 77 |to the j|ob you w|
|000033a0| 69 73 68 20 74 6f 20 63 | 68 65 63 6b 29 2e 0a 58 |ish to c|heck)..X|
|000033b0| 20 20 20 20 0a 58 20 20 | 20 20 4d 6f 6e 69 74 6f | .X | Monito|
|000033c0| 72 73 2c 20 70 61 72 74 | 69 63 75 6c 61 72 6c 79 |rs, part|icularly|
|000033d0| 20 74 68 6f 73 65 20 6f | 66 20 61 63 74 69 76 65 | those o|f active|
|000033e0| 20 71 75 65 75 65 73 20 | 63 61 6e 20 65 78 70 61 | queues |can expa|
|000033f0| 6e 64 2c 20 73 6f 6d 65 | 74 69 6d 65 73 20 71 75 |nd, some|times qu|
|00003400| 69 74 65 0a 58 20 20 20 | 20 61 6c 61 72 6d 69 6e |ite.X | alarmin|
|00003410| 67 6c 79 2e 20 20 54 68 | 65 20 73 79 73 74 65 6d |gly. Th|e system|
|00003420| 20 61 64 6d 69 6e 69 73 | 74 72 61 74 6f 72 20 64 | adminis|trator d|
|00003430| 6f 65 73 20 6e 65 65 64 | 20 74 6f 20 6b 65 65 70 |oes need| to keep|
|00003440| 20 61 20 63 68 65 63 6b | 20 6f 6e 20 74 68 65 6d | a check| on them|
|00003450| 2e 0a 58 20 20 20 20 4c | 6f 63 61 6c 20 72 75 6c |..X L|ocal rul|
|00003460| 65 73 20 61 6e 64 20 63 | 6f 6e 76 65 6e 74 69 6f |es and c|onventio|
|00003470| 6e 73 20 6d 61 79 20 76 | 61 72 79 20 64 65 70 65 |ns may v|ary depe|
|00003480| 6e 64 69 6e 67 20 6f 6e | 20 74 68 65 20 72 65 71 |nding on| the req|
|00003490| 75 69 72 65 6d 65 6e 74 | 73 20 74 6f 20 6b 65 65 |uirement|s to kee|
|000034a0| 70 0a 58 20 20 20 20 6d | 6f 6e 69 74 6f 72 73 20 |p.X m|onitors |
|000034b0| 66 6f 72 20 70 6f 73 74 | 2d 6f 70 65 72 61 74 69 |for post|-operati|
|000034c0| 76 65 20 61 6e 61 6c 79 | 73 69 73 2c 20 61 6e 64 |ve analy|sis, and|
|000034d0| 20 6f 72 20 61 63 63 6f | 75 6e 74 69 6e 67 2c 20 | or acco|unting, |
|000034e0| 62 75 74 20 73 6f 6d 65 | 74 68 69 6e 67 0a 58 20 |but some|thing.X |
|000034f0| 20 20 20 73 68 6f 75 6c | 64 20 62 65 20 64 6f 6e | shoul|d be don|
|00003500| 65 20 74 6f 20 70 72 65 | 76 65 6e 74 20 74 68 65 |e to pre|vent the|
|00003510| 6d 20 67 65 74 74 69 6e | 67 20 6f 75 74 20 6f 66 |m gettin|g out of|
|00003520| 20 68 61 6e 64 2e 20 20 | 4f 6e 65 20 77 61 79 2c | hand. |One way,|
|00003530| 20 28 75 73 65 64 20 6f | 6e 20 6f 75 72 0a 58 20 | (used o|n our.X |
|00003540| 20 20 20 73 69 74 65 73 | 29 20 69 73 20 74 6f 20 | sites|) is to |
|00003550| 27 61 67 65 27 20 74 68 | 65 20 6d 6f 6e 69 74 6f |'age' th|e monito|
|00003560| 72 73 20 6f 6e 20 61 20 | 64 61 69 6c 79 20 62 61 |rs on a |daily ba|
|00003570| 73 69 73 20 75 73 69 6e | 67 20 63 72 6f 6e 2e 20 |sis usin|g cron. |
|00003580| 20 41 20 73 69 78 20 28 | 6f 72 0a 58 20 20 20 20 | A six (|or.X |
|00003590| 6d 6f 72 65 20 6f 72 20 | 6c 65 73 73 20 64 65 70 |more or |less dep|
|000035a0| 65 6e 64 69 6e 67 20 6f | 6e 20 72 65 71 75 69 72 |ending o|n requir|
|000035b0| 65 6d 65 6e 74 29 20 64 | 61 79 20 63 79 63 6c 65 |ement) d|ay cycle|
|000035c0| 20 69 73 20 75 73 65 64 | 2c 20 61 6e 64 20 74 68 | is used|, and th|
|000035d0| 65 20 6d 6f 6e 69 74 6f | 72 73 0a 58 20 20 20 20 |e monito|rs.X |
|000035e0| 66 6f 72 20 65 61 63 68 | 20 71 75 65 75 65 20 61 |for each| queue a|
|000035f0| 72 65 20 63 6f 70 69 65 | 64 20 74 6f 20 61 20 68 |re copie|d to a h|
|00003600| 69 73 74 6f 72 79 20 64 | 69 72 65 63 74 6f 72 79 |istory d|irectory|
|00003610| 20 61 6e 64 20 6e 75 6d | 62 65 72 65 64 20 0a 58 | and num|bered .X|
|00003620| 20 20 20 20 3c 71 75 65 | 75 65 6e 61 6d 65 3e 2e | <que|uename>.|
|00003630| 6d 6f 6e 2e 31 0a 58 20 | 20 20 20 3c 71 75 65 75 |mon.1.X | <queu|
|00003640| 65 6e 61 6d 65 3e 2e 6d | 6f 6e 2e 32 20 0a 58 20 |ename>.m|on.2 .X |
|00003650| 20 20 20 2e 2e 2e 0a 58 | 20 20 20 20 3c 71 75 65 | ....X| <que|
|00003660| 75 65 6e 61 6d 65 3e 2e | 6d 6f 6e 2e 36 0a 58 20 |uename>.|mon.6.X |
|00003670| 20 20 20 4f 6e 20 61 20 | 64 61 69 6c 79 20 62 61 | On a |daily ba|
|00003680| 73 69 73 2c 20 74 68 65 | 20 65 61 72 6c 69 65 73 |sis, the| earlies|
|00003690| 74 20 6d 6f 6e 69 74 6f | 72 20 28 36 20 69 6e 20 |t monito|r (6 in |
|000036a0| 74 68 69 73 20 63 61 73 | 65 29 20 69 73 20 72 65 |this cas|e) is re|
|000036b0| 6d 6f 76 65 64 20 61 6e | 64 20 74 68 65 0a 58 20 |moved an|d the.X |
|000036c0| 20 20 20 72 65 6d 61 69 | 6e 69 6e 67 20 6d 6f 6e | remai|ning mon|
|000036d0| 69 74 6f 72 73 20 61 72 | 65 20 72 65 6e 61 6d 65 |itors ar|e rename|
|000036e0| 64 3a 0a 58 20 20 20 20 | 35 2d 3e 36 0a 58 20 20 |d:.X |5->6.X |
|000036f0| 20 20 34 2d 3e 35 0a 58 | 20 20 20 20 2e 2e 2e 0a | 4->5.X| ....|
|00003700| 58 20 20 20 20 31 2d 3e | 32 0a 58 20 20 20 20 61 |X 1->|2.X a|
|00003710| 6e 64 20 74 68 65 20 63 | 75 72 72 65 6e 74 20 6d |nd the c|urrent m|
|00003720| 6f 6e 69 74 6f 72 20 69 | 73 20 63 6f 70 69 65 64 |onitor i|s copied|
|00003730| 20 69 6e 20 61 73 20 3c | 71 75 65 75 65 6e 61 6d | in as <|queuenam|
|00003740| 65 3e 2e 6d 6f 6e 2e 31 | 2e 0a 58 20 20 20 20 54 |e>.mon.1|..X T|
|00003750| 68 65 20 27 6c 69 76 65 | 27 20 6d 6f 6e 69 74 6f |he 'live|' monito|
|00003760| 72 20 63 61 6e 20 74 68 | 65 6e 20 62 65 20 74 72 |r can th|en be tr|
|00003770| 75 6e 63 61 74 65 64 20 | 28 63 61 74 20 2f 64 65 |uncated |(cat /de|
|00003780| 76 2f 6e 75 6c 6c 3e 3c | 6d 6f 6e 69 74 6f 72 73 |v/null><|monitors|
|00003790| 70 65 63 3e 29 2e 0a 58 | 20 20 20 20 54 68 69 73 |pec>)..X| This|
|000037a0| 20 61 70 70 72 6f 61 63 | 68 20 61 74 20 6c 65 61 | approac|h at lea|
|000037b0| 73 74 20 6b 65 65 70 73 | 20 74 68 65 20 70 72 6f |st keeps| the pro|
|000037c0| 62 6c 65 6d 20 6d 61 6e | 61 67 65 61 62 6c 65 2e |blem man|ageable.|
|000037d0| 0a 58 0a 45 4e 44 5f 4f | 46 5f 46 49 4c 45 0a 69 |.X.END_O|F_FILE.i|
|000037e0| 66 20 74 65 73 74 20 36 | 34 31 34 20 2d 6e 65 20 |f test 6|414 -ne |
|000037f0| 60 77 63 20 2d 63 20 3c | 27 64 6f 63 2f 63 68 61 |`wc -c <|'doc/cha|
|00003800| 70 2e 30 35 27 60 3b 20 | 74 68 65 6e 0a 20 20 20 |p.05'`; |then. |
|00003810| 20 65 63 68 6f 20 73 68 | 61 72 3a 20 5c 22 27 64 | echo sh|ar: \"'d|
|00003820| 6f 63 2f 63 68 61 70 2e | 30 35 27 5c 22 20 75 6e |oc/chap.|05'\" un|
|00003830| 70 61 63 6b 65 64 20 77 | 69 74 68 20 77 72 6f 6e |packed w|ith wron|
|00003840| 67 20 73 69 7a 65 21 0a | 66 69 0a 23 20 65 6e 64 |g size!.|fi.# end|
|00003850| 20 6f 66 20 27 64 6f 63 | 2f 63 68 61 70 2e 30 35 | of 'doc|/chap.05|
|00003860| 27 0a 66 69 0a 69 66 20 | 74 65 73 74 20 2d 66 20 |'.fi.if |test -f |
|00003870| 27 64 6f 63 2f 63 68 61 | 70 2e 30 36 27 20 2d 61 |'doc/cha|p.06' -a|
|00003880| 20 22 24 7b 31 7d 22 20 | 21 3d 20 22 2d 63 22 20 | "${1}" |!= "-c" |
|00003890| 3b 20 74 68 65 6e 20 0a | 20 20 65 63 68 6f 20 73 |; then .| echo s|
|000038a0| 68 61 72 3a 20 57 69 6c | 6c 20 6e 6f 74 20 63 6c |har: Wil|l not cl|
|000038b0| 6f 62 62 65 72 20 65 78 | 69 73 74 69 6e 67 20 66 |obber ex|isting f|
|000038c0| 69 6c 65 20 5c 22 27 64 | 6f 63 2f 63 68 61 70 2e |ile \"'d|oc/chap.|
|000038d0| 30 36 27 5c 22 0a 65 6c | 73 65 0a 65 63 68 6f 20 |06'\".el|se.echo |
|000038e0| 73 68 61 72 3a 20 45 78 | 74 72 61 63 74 69 6e 67 |shar: Ex|tracting|
|000038f0| 20 5c 22 27 64 6f 63 2f | 63 68 61 70 2e 30 36 27 | \"'doc/|chap.06'|
|00003900| 5c 22 20 5c 28 36 32 34 | 38 20 63 68 61 72 61 63 |\" \(624|8 charac|
|00003910| 74 65 72 73 5c 29 0a 73 | 65 64 20 22 73 2f 5e 58 |ters\).s|ed "s/^X|
|00003920| 2f 2f 22 20 3e 27 64 6f | 63 2f 63 68 61 70 2e 30 |//" >'do|c/chap.0|
|00003930| 36 27 20 3c 3c 27 45 4e | 44 5f 4f 46 5f 46 49 4c |6' <<'EN|D_OF_FIL|
|00003940| 45 27 0a 58 20 20 20 20 | 20 20 20 20 20 20 20 20 |E'.X | |
|00003950| 20 51 42 41 54 43 48 20 | 2e 2e 20 61 20 71 75 65 | QBATCH |.. a que|
|00003960| 75 65 64 20 62 61 74 63 | 68 20 70 72 6f 63 65 73 |ued batc|h proces|
|00003970| 73 69 6e 67 20 73 79 73 | 74 65 6d 20 66 6f 72 20 |sing sys|tem for |
|00003980| 55 4e 49 58 0a 58 0a 58 | 0a 58 09 09 54 68 65 20 |UNIX.X.X|.X..The |
|00003990| 51 42 41 54 43 48 20 73 | 79 73 74 65 6d 20 61 6e |QBATCH s|ystem an|
|000039a0| 64 20 69 74 73 20 72 65 | 6c 61 74 65 64 20 70 72 |d its re|lated pr|
|000039b0| 6f 67 72 61 6d 73 20 77 | 65 72 65 0a 58 09 09 77 |ograms w|ere.X..w|
|000039c0| 72 69 74 74 65 6e 20 62 | 79 20 41 6c 61 6e 20 44 |ritten b|y Alan D|
|000039d0| 2e 20 53 61 75 6e 64 65 | 72 73 20 61 6e 64 20 61 |. Saunde|rs and a|
|000039e0| 72 65 0a 58 09 09 43 6f | 70 79 72 69 67 68 74 20 |re.X..Co|pyright |
|000039f0| 28 63 29 20 56 69 74 61 | 20 53 65 72 76 69 63 65 |(c) Vita| Service|
|00003a00| 73 20 4c 74 64 2e 20 31 | 39 39 30 20 61 6e 64 0a |s Ltd. 1|990 and.|
|00003a10| 58 09 09 43 6f 70 79 72 | 69 67 68 74 20 28 63 29 |X..Copyr|ight (c)|
|00003a20| 20 56 69 74 61 20 46 69 | 62 72 65 73 20 4c 74 64 | Vita Fi|bres Ltd|
|00003a30| 2e 20 31 39 39 31 0a 58 | 0a 58 36 2e 20 43 4f 4e |. 1991.X|.X6. CON|
|00003a40| 46 49 47 55 52 41 54 49 | 4f 4e 2e 0a 58 0a 58 20 |FIGURATI|ON..X.X |
|00003a50| 20 20 20 57 68 65 6e 20 | 74 6f 20 75 73 65 20 51 | When |to use Q|
|00003a60| 42 41 54 43 48 2e 0a 58 | 20 20 20 20 0a 58 20 20 |BATCH..X| .X |
|00003a70| 20 20 54 68 65 20 73 74 | 72 65 6e 67 74 68 20 6f | The st|rength o|
|00003a80| 66 20 51 42 41 54 43 48 | 2c 20 6f 72 20 66 6f 72 |f QBATCH|, or for|
|00003a90| 20 74 68 61 74 20 6d 61 | 74 74 65 72 20 61 6e 79 | that ma|tter any|
|00003aa0| 20 71 75 65 75 65 64 20 | 62 61 74 63 68 20 70 72 | queued |batch pr|
|00003ab0| 6f 63 65 73 73 69 6e 67 | 0a 58 20 20 20 20 73 79 |ocessing|.X sy|
|00003ac0| 73 74 65 6d 20 69 73 20 | 69 6e 20 69 74 27 73 20 |stem is |in it's |
|00003ad0| 75 73 65 20 6f 66 20 71 | 75 65 75 65 73 2e 20 20 |use of q|ueues. |
|00003ae0| 49 66 20 79 6f 75 20 68 | 61 76 65 20 61 20 73 65 |If you h|ave a se|
|00003af0| 72 69 65 73 20 6f 66 20 | 6a 6f 62 73 20 77 68 69 |ries of |jobs whi|
|00003b00| 63 68 0a 58 20 20 20 20 | 63 61 6e 6e 6f 74 20 62 |ch.X |cannot b|
|00003b10| 65 20 70 72 6f 63 65 73 | 73 65 64 20 69 6e 20 70 |e proces|sed in p|
|00003b20| 61 72 61 6c 6c 65 6c 2c | 20 61 6e 64 20 6d 75 73 |arallel,| and mus|
|00003b30| 74 20 62 65 20 70 72 6f | 63 65 73 73 65 64 20 69 |t be pro|cessed i|
|00003b40| 6e 20 61 20 67 69 76 65 | 6e 20 6f 72 64 65 72 2c |n a give|n order,|
|00003b50| 0a 58 20 20 20 20 74 68 | 65 6e 20 61 20 71 75 65 |.X th|en a que|
|00003b60| 75 65 64 20 62 61 74 63 | 68 20 70 72 6f 63 65 73 |ued batc|h proces|
|00003b70| 73 69 6e 67 20 73 79 73 | 74 65 6d 20 69 73 20 69 |sing sys|tem is i|
|00003b80| 64 65 61 6c 2e 20 20 59 | 6f 75 20 63 6f 75 6c 64 |deal. Y|ou could|
|00003b90| 20 77 72 69 74 65 20 61 | 0a 58 20 20 20 20 28 70 | write a|.X (p|
|00003ba0| 72 6f 62 61 62 6c 79 20 | 6c 61 72 67 65 29 20 73 |robably |large) s|
|00003bb0| 68 65 6c 6c 20 73 63 72 | 69 70 74 20 74 6f 20 70 |hell scr|ipt to p|
|00003bc0| 72 6f 63 65 73 73 20 74 | 68 65 20 6a 6f 62 73 20 |rocess t|he jobs |
|00003bd0| 69 6e 20 74 68 65 20 72 | 69 67 68 74 20 6f 72 64 |in the r|ight ord|
|00003be0| 65 72 2c 20 62 75 74 0a | 58 20 20 20 20 77 68 61 |er, but.|X wha|
|00003bf0| 74 20 6f 66 20 6a 6f 62 | 73 20 74 68 61 74 20 64 |t of job|s that d|
|00003c00| 6f 6e 27 74 20 61 6c 77 | 61 79 73 20 6e 65 65 64 |on't alw|ays need|
|00003c10| 20 74 6f 20 62 65 20 72 | 75 6e 3f 20 20 44 6f 20 | to be r|un? Do |
|00003c20| 79 6f 75 20 63 68 61 6e | 67 65 20 79 6f 75 72 0a |you chan|ge your.|
|00003c30| 58 20 20 20 20 61 63 63 | 6f 75 6e 74 69 6e 67 20 |X acc|ounting |
|00003c40| 61 70 70 6c 69 63 61 74 | 69 6f 6e 20 72 75 6e 20 |applicat|ion run |
|00003c50| 73 63 72 69 70 74 20 61 | 74 20 70 65 72 69 6f 64 |script a|t period|
|00003c60| 20 65 6e 64 20 74 6f 20 | 61 64 64 20 74 68 65 20 | end to |add the |
|00003c70| 70 65 72 69 6f 64 20 65 | 6e 64 20 6a 6f 62 73 0a |period e|nd jobs.|
|00003c80| 58 20 20 20 20 69 6e 20 | 74 68 65 20 72 69 67 68 |X in |the righ|
|00003c90| 74 20 6f 72 64 65 72 3f | 20 20 44 6f 20 79 6f 75 |t order?| Do you|
|00003ca0| 20 68 61 76 65 20 61 20 | 73 65 70 61 72 61 74 65 | have a |separate|
|00003cb0| 20 70 65 72 69 6f 64 20 | 65 6e 64 20 73 63 72 69 | period |end scri|
|00003cc0| 70 74 3f 20 20 4f 72 20 | 64 6f 20 79 6f 75 0a 58 |pt? Or |do you.X|
|00003cd0| 20 20 20 20 73 69 6d 70 | 6c 79 20 73 75 62 6d 69 | simp|ly submi|
|00003ce0| 74 20 74 68 65 20 6a 6f | 62 73 20 74 6f 20 61 20 |t the jo|bs to a |
|00003cf0| 71 75 65 75 65 20 69 6e | 20 74 68 65 20 72 69 67 |queue in| the rig|
|00003d00| 68 74 20 6f 72 64 65 72 | 2c 20 61 6e 64 20 6f 6e |ht order|, and on|
|00003d10| 6c 79 20 73 75 62 6d 69 | 74 0a 58 20 20 20 20 74 |ly submi|t.X t|
|00003d20| 68 6f 73 65 20 74 68 61 | 74 20 6e 65 65 64 20 74 |hose tha|t need t|
|00003d30| 6f 20 62 65 20 72 75 6e | 20 74 68 69 73 20 74 69 |o be run| this ti|
|00003d40| 6d 65 3f 0a 58 0a 58 20 | 20 20 20 51 42 41 54 43 |me?.X.X | QBATC|
|00003d50| 48 20 68 6f 77 65 76 65 | 72 20 69 73 20 6e 6f 74 |H howeve|r is not|
|00003d60| 20 6c 69 6d 69 74 65 64 | 20 74 6f 20 74 68 65 20 | limited| to the |
|00003d70| 61 70 70 6c 69 63 61 74 | 69 6f 6e 20 6c 65 76 65 |applicat|ion leve|
|00003d80| 6c 2e 20 20 54 68 65 72 | 65 20 6d 61 79 20 62 65 |l. Ther|e may be|
|00003d90| 0a 58 20 20 20 20 73 65 | 76 65 72 61 6c 20 72 65 |.X se|veral re|
|00003da0| 61 73 6f 6e 73 20 77 68 | 79 20 6a 6f 62 73 20 6d |asons wh|y jobs m|
|00003db0| 75 73 74 20 6e 6f 74 20 | 72 75 6e 20 69 6e 20 70 |ust not |run in p|
|00003dc0| 61 72 61 6c 6c 65 6c 2e | 20 20 4e 6f 74 20 6c 65 |arallel.| Not le|
|00003dd0| 61 73 74 20 6f 66 20 74 | 68 65 73 65 20 69 73 0a |ast of t|hese is.|
|00003de0| 58 20 20 20 20 73 79 73 | 74 65 6d 20 6c 6f 61 64 |X sys|tem load|
|00003df0| 69 6e 67 20 28 6f 72 20 | 73 68 6f 75 6c 64 20 49 |ing (or |should I|
|00003e00| 20 73 61 79 20 6f 76 65 | 72 6c 6f 61 64 69 6e 67 | say ove|rloading|
|00003e10| 3f 29 2e 20 20 49 66 20 | 79 6f 75 20 68 61 76 65 |?). If |you have|
|00003e20| 20 61 20 6c 61 72 67 65 | 20 75 73 65 72 0a 58 20 | a large| user.X |
|00003e30| 20 20 20 62 61 73 65 2c | 20 61 6c 6c 20 6f 66 20 | base,| all of |
|00003e40| 77 68 6f 6d 20 61 72 65 | 20 61 74 20 6c 69 62 65 |whom are| at libe|
|00003e50| 72 74 79 20 74 6f 20 63 | 68 75 63 6b 20 6c 61 72 |rty to c|huck lar|
|00003e60| 67 65 20 6a 6f 62 73 20 | 69 6e 74 6f 20 74 68 65 |ge jobs |into the|
|00003e70| 20 62 61 63 6b 67 72 6f | 75 6e 64 2c 0a 58 20 20 | backgro|und,.X |
|00003e80| 20 20 79 6f 75 27 64 20 | 62 65 74 74 65 72 20 68 | you'd |better h|
|00003e90| 61 76 65 20 61 6e 20 69 | 6e 65 78 68 61 75 73 74 |ave an i|nexhaust|
|00003ea0| 69 62 6c 65 20 73 75 70 | 70 6c 79 20 6f 66 20 63 |ible sup|ply of c|
|00003eb0| 70 75 20 63 79 63 6c 65 | 73 20 61 6e 64 20 73 77 |pu cycle|s and sw|
|00003ec0| 61 70 20 73 70 61 63 65 | 20 66 6f 72 0a 58 20 20 |ap space| for.X |
|00003ed0| 20 20 74 68 65 6d 2e 20 | 20 59 6f 75 20 63 61 6e | them. | You can|
|00003ee0| 20 68 6f 77 65 76 65 72 | 20 65 61 73 65 20 74 68 | however| ease th|
|00003ef0| 65 20 70 72 6f 63 65 73 | 73 69 6e 67 20 6c 6f 61 |e proces|sing loa|
|00003f00| 64 20 62 79 20 68 61 76 | 69 6e 67 20 74 68 65 20 |d by hav|ing the |
|00003f10| 6a 6f 62 73 0a 58 20 20 | 20 20 73 75 62 6d 69 74 |jobs.X | submit|
|00003f20| 74 65 64 20 74 6f 20 6f | 6e 65 20 6f 72 20 6d 6f |ted to o|ne or mo|
|00003f30| 72 65 20 62 61 63 6b 67 | 72 6f 75 6e 64 20 71 75 |re backg|round qu|
|00003f40| 65 75 65 73 2e 20 20 57 | 68 69 63 68 20 77 69 6c |eues. W|hich wil|
|00003f50| 6c 20 63 61 75 73 65 20 | 6d 6f 72 65 0a 58 20 20 |l cause |more.X |
|00003f60| 20 20 63 6f 6d 70 6c 61 | 69 6e 74 73 2c 20 74 68 | compla|ints, th|
|00003f70| 65 20 6f 64 64 20 75 73 | 65 72 20 77 68 6f 20 68 |e odd us|er who h|
|00003f80| 61 73 20 74 6f 20 77 61 | 69 74 20 61 20 62 69 74 |as to wa|it a bit|
|00003f90| 20 6c 6f 6e 67 65 72 2c | 20 6f 72 20 65 76 65 72 | longer,| or ever|
|00003fa0| 79 20 75 73 65 72 20 77 | 68 6f 0a 58 20 20 20 20 |y user w|ho.X |
|00003fb0| 68 61 73 20 74 6f 20 77 | 61 69 74 20 77 68 69 6c |has to w|ait whil|
|00003fc0| 73 74 20 74 68 65 20 73 | 79 73 74 65 6d 20 73 6c |st the s|ystem sl|
|00003fd0| 6f 77 6c 79 20 64 69 65 | 73 3f 0a 58 0a 58 20 20 |owly die|s?.X.X |
|00003fe0| 20 20 48 6f 77 20 61 62 | 6f 75 74 20 72 65 73 6f | How ab|out reso|
|00003ff0| 75 72 63 65 20 73 68 61 | 72 69 6e 67 3f 20 20 49 |urce sha|ring? I|
|00004000| 66 20 79 6f 75 20 68 61 | 76 65 20 61 20 35 30 20 |f you ha|ve a 50 |
|00004010| 4d 62 20 73 63 72 61 74 | 63 68 20 70 61 72 74 69 |Mb scrat|ch parti|
|00004020| 74 69 6f 6e 2c 20 61 6e | 64 0a 58 20 20 20 20 31 |tion, an|d.X 1|
|00004030| 30 30 20 75 73 65 72 73 | 20 65 61 63 68 20 77 61 |00 users| each wa|
|00004040| 6e 74 20 74 6f 20 63 72 | 65 61 74 65 20 61 20 31 |nt to cr|eate a 1|
|00004050| 30 20 4d 62 20 73 63 72 | 61 74 63 68 20 66 69 6c |0 Mb scr|atch fil|
|00004060| 65 2c 20 73 6f 6d 65 6f | 6e 65 27 73 20 67 6f 69 |e, someo|ne's goi|
|00004070| 6e 67 20 74 6f 20 62 65 | 0a 58 20 20 20 20 64 69 |ng to be|.X di|
|00004080| 73 61 70 70 6f 69 6e 74 | 65 64 2e 20 20 49 66 20 |sappoint|ed. If |
|00004090| 68 6f 77 65 76 65 72 2c | 20 74 68 6f 73 65 20 31 |however,| those 1|
|000040a0| 30 30 20 6a 6f 62 73 20 | 77 65 72 65 20 73 68 61 |00 jobs |were sha|
|000040b0| 72 65 64 20 6f 76 65 72 | 20 35 20 71 75 65 75 65 |red over| 5 queue|
|000040c0| 73 2c 20 65 61 63 68 0a | 58 20 20 20 20 75 73 65 |s, each.|X use|
|000040d0| 72 27 73 20 6a 6f 62 20 | 63 6f 75 6c 64 20 71 75 |r's job |could qu|
|000040e0| 69 74 65 20 68 61 70 70 | 69 6c 79 20 63 72 65 61 |ite happ|ily crea|
|000040f0| 74 65 20 69 74 27 73 20 | 73 63 72 61 74 63 68 20 |te it's |scratch |
|00004100| 66 69 6c 65 2e 0a 58 0a | 58 20 20 20 20 49 6e 20 |file..X.|X In |
|00004110| 73 68 6f 72 74 20 61 20 | 71 75 65 75 65 64 20 62 |short a |queued b|
|00004120| 61 74 63 68 20 70 72 6f | 63 65 73 73 69 6e 67 20 |atch pro|cessing |
|00004130| 73 79 73 74 65 6d 20 69 | 73 20 64 65 73 69 72 61 |system i|s desira|
|00004140| 62 6c 65 20 69 66 3a 0a | 58 0a 58 20 20 20 20 41 |ble if:.|X.X A|
|00004150| 2e 20 54 68 65 72 65 20 | 69 73 20 61 20 6e 65 65 |. There |is a nee|
|00004160| 64 20 74 6f 20 6f 72 64 | 65 72 20 61 20 76 61 72 |d to ord|er a var|
|00004170| 69 61 62 6c 65 20 73 65 | 71 75 65 6e 63 65 20 6f |iable se|quence o|
|00004180| 66 20 6a 6f 62 73 20 77 | 68 69 63 68 20 6d 75 73 |f jobs w|hich mus|
|00004190| 74 20 6e 6f 74 20 72 75 | 6e 0a 58 20 20 20 20 20 |t not ru|n.X |
|000041a0| 20 20 69 6e 20 70 61 72 | 61 6c 6c 65 6c 2e 0a 58 | in par|allel..X|
|000041b0| 0a 58 20 20 20 20 42 2e | 20 54 68 65 72 65 20 69 |.X B.| There i|
|000041c0| 73 20 61 20 6e 65 65 64 | 20 66 6f 72 20 72 65 73 |s a need| for res|
|000041d0| 6f 75 72 63 65 20 28 69 | 6e 63 6c 75 64 69 6e 67 |ource (i|ncluding|
|000041e0| 20 63 70 75 20 61 6e 64 | 20 73 77 61 70 29 20 73 | cpu and| swap) s|
|000041f0| 68 61 72 69 6e 67 2e 0a | 58 0a 58 20 20 20 20 57 |haring..|X.X W|
|00004200| 68 61 74 20 64 6f 20 49 | 20 63 61 6c 6c 20 74 68 |hat do I| call th|
|00004210| 65 20 71 75 65 75 65 73 | 3f 0a 58 0a 58 20 20 20 |e queues|?.X.X |
|00004220| 20 51 42 41 54 43 48 20 | 70 6c 61 63 65 73 20 6e | QBATCH |places n|
|00004230| 6f 20 63 6f 6e 73 74 72 | 61 69 6e 74 73 20 6f 6e |o constr|aints on|
|00004240| 20 74 68 65 20 6e 61 6d | 69 6e 67 20 6f 66 20 71 | the nam|ing of q|
|00004250| 75 65 75 65 73 20 74 68 | 61 74 20 74 68 65 20 73 |ueues th|at the s|
|00004260| 79 73 74 65 6d 0a 58 20 | 20 20 20 69 74 73 65 6c |ystem.X | itsel|
|00004270| 66 20 64 6f 65 73 6e 27 | 74 20 70 6c 61 63 65 2e |f doesn'|t place.|
|00004280| 20 20 49 64 65 61 6c 6c | 79 20 74 68 65 20 71 75 | Ideall|y the qu|
|00004290| 65 75 65 20 6e 61 6d 65 | 20 73 68 6f 75 6c 64 20 |eue name| should |
|000042a0| 62 65 20 6d 65 61 6e 69 | 6e 67 66 75 6c 2e 20 20 |be meani|ngful. |
|000042b0| 4f 6e 6c 79 0a 58 20 20 | 20 20 74 68 65 20 66 69 |Only.X | the fi|
|000042c0| 72 73 74 20 66 6f 75 72 | 20 63 68 61 72 61 63 74 |rst four| charact|
|000042d0| 65 72 73 20 6f 66 20 74 | 68 65 20 6e 61 6d 65 20 |ers of t|he name |
|000042e0| 61 72 65 20 75 73 65 64 | 20 61 73 20 61 20 70 72 |are used| as a pr|
|000042f0| 65 66 69 78 20 66 6f 72 | 20 6e 61 6d 69 6e 67 20 |efix for| naming |
|00004300| 6a 63 6c 0a 58 20 20 20 | 20 66 69 6c 65 73 2c 20 |jcl.X | files, |
|00004310| 61 6e 64 20 6f 6e 6c 79 | 20 36 33 20 63 68 61 72 |and only| 63 char|
|00004320| 61 63 74 65 72 73 20 61 | 72 65 20 63 61 74 65 72 |acters a|re cater|
|00004330| 65 64 20 66 6f 72 20 69 | 6e 20 74 68 65 20 6a 63 |ed for i|n the jc|
|00004340| 6c 20 73 70 6f 6f 6c 70 | 61 74 68 2e 20 20 53 6f |l spoolp|ath. So|
|00004350| 0a 58 20 20 20 20 66 6f | 72 20 61 6c 6c 20 72 6f |.X fo|r all ro|
|00004360| 75 6e 64 20 63 6f 6d 70 | 61 74 69 62 69 6c 69 74 |und comp|atibilit|
|00004370| 79 2c 20 69 74 20 77 6f | 75 6c 64 20 62 65 20 62 |y, it wo|uld be b|
|00004380| 65 73 74 20 69 66 20 74 | 68 65 20 6e 61 6d 65 73 |est if t|he names|
|00004390| 20 77 65 72 65 20 61 72 | 6f 75 6e 64 0a 58 20 20 | were ar|ound.X |
|000043a0| 20 20 28 6f 72 20 61 74 | 20 6c 65 61 73 74 20 75 | (or at| least u|
|000043b0| 6e 69 71 75 65 20 69 6e | 20 74 68 65 20 66 69 72 |nique in| the fir|
|000043c0| 73 74 29 20 66 6f 75 72 | 20 63 68 61 72 61 63 74 |st) four| charact|
|000043d0| 65 72 73 2e 0a 58 0a 58 | 20 20 20 20 42 65 61 72 |ers..X.X| Bear|
|000043e0| 69 6e 67 20 69 6e 20 6d | 69 6e 64 20 74 68 61 74 |ing in m|ind that|
|000043f0| 20 74 68 65 20 70 72 69 | 6f 72 69 74 79 20 28 6f | the pri|ority (o|
|00004400| 72 20 6e 69 63 65 20 76 | 61 6c 75 65 29 20 6f 66 |r nice v|alue) of|
|00004410| 20 74 68 65 20 6a 6f 62 | 73 20 62 65 69 6e 67 20 | the job|s being |
|00004420| 72 75 6e 20 69 6e 0a 58 | 20 20 20 20 61 20 71 75 |run in.X| a qu|
|00004430| 65 75 65 20 63 61 6e 20 | 62 65 20 73 70 65 63 69 |eue can |be speci|
|00004440| 66 69 65 64 2c 20 6f 6e | 20 6f 75 72 20 73 79 73 |fied, on| our sys|
|00004450| 74 65 6d 73 20 77 65 20 | 68 61 76 65 20 74 68 65 |tems we |have the|
|00004460| 20 66 6f 6c 6c 6f 77 69 | 6e 67 20 71 75 65 75 65 | followi|ng queue|
|00004470| 73 3a 0a 58 0a 58 20 20 | 20 20 4f 6e 65 20 66 6f |s:.X.X | One fo|
|00004480| 72 20 65 61 63 68 20 6f | 66 20 74 68 65 20 6f 6e |r each o|f the on|
|00004490| 6c 69 6e 65 20 74 72 61 | 6e 73 61 63 74 69 6f 6e |line tra|nsaction|
|000044a0| 20 70 72 6f 63 65 73 73 | 69 6e 67 20 73 79 73 74 | process|ing syst|
|000044b0| 65 6d 73 20 65 2e 67 2e | 0a 58 20 20 20 20 73 6f |ems e.g.|.X so|
|000044c0| 70 74 09 28 73 61 6c 65 | 73 20 6f 72 64 65 72 20 |pt.(sale|s order |
|000044d0| 70 72 6f 63 65 73 73 69 | 6e 67 29 0a 58 0a 58 20 |processi|ng).X.X |
|000044e0| 20 20 20 4f 6e 65 20 66 | 6f 72 20 61 6e 79 20 72 | One f|or any r|
|000044f0| 65 70 6f 72 74 73 20 74 | 68 61 74 20 43 41 4e 20 |eports t|hat CAN |
|00004500| 62 65 20 70 72 6f 64 75 | 63 65 64 20 63 6f 6e 63 |be produ|ced conc|
|00004510| 75 72 72 65 6e 74 6c 79 | 20 77 69 74 68 20 74 68 |urrently| with th|
|00004520| 65 20 6f 6e 6c 69 6e 65 | 0a 58 20 20 20 20 73 79 |e online|.X sy|
|00004530| 73 74 65 6d 20 65 2e 67 | 2e 0a 58 20 20 20 20 73 |stem e.g|..X s|
|00004540| 6f 70 72 09 28 73 61 6c | 65 73 20 6f 72 64 65 72 |opr.(sal|es order|
|00004550| 20 70 72 6f 63 65 73 73 | 69 6e 67 20 72 65 70 6f | process|ing repo|
|00004560| 72 74 73 29 0a 58 0a 58 | 20 20 20 20 4f 6e 65 20 |rts).X.X| One |
|00004570| 67 65 6e 65 72 61 6c 20 | 70 75 72 70 6f 73 65 20 |general |purpose |
|00004580| 71 75 65 75 65 20 77 68 | 65 72 65 20 72 65 70 6f |queue wh|ere repo|
|00004590| 72 74 69 6e 67 20 69 73 | 20 6e 6f 6e 65 20 63 72 |rting is| none cr|
|000045a0| 69 74 69 63 61 6c 2e 0a | 58 20 20 20 20 77 6f 72 |itical..|X wor|
|000045b0| 6b 09 28 67 65 6e 65 72 | 61 6c 20 70 75 72 70 6f |k.(gener|al purpo|
|000045c0| 73 65 20 73 68 61 72 65 | 64 20 72 65 70 6f 72 74 |se share|d report|
|000045d0| 69 6e 67 20 71 75 65 75 | 65 29 0a 58 0a 58 20 20 |ing queu|e).X.X |
|000045e0| 20 20 4f 6e 65 20 61 64 | 64 69 74 69 6f 6e 61 6c | One ad|ditional|
|000045f0| 20 71 75 65 75 65 20 66 | 6f 72 20 73 6f 70 20 64 | queue f|or sop d|
|00004600| 69 73 70 61 74 63 68 20 | 6e 6f 74 65 73 20 28 77 |ispatch |notes (w|
|00004610| 68 65 72 65 20 77 69 74 | 68 20 61 20 6c 6f 72 72 |here wit|h a lorr|
|00004620| 79 20 77 61 69 74 69 6e | 67 2c 0a 58 20 20 20 20 |y waitin|g,.X |
|00004630| 74 68 65 20 74 68 72 6f | 75 67 68 70 75 74 20 69 |the thro|ughput i|
|00004640| 73 20 74 69 6d 65 20 63 | 72 69 74 69 63 61 6c 29 |s time c|ritical)|
|00004650| 2e 20 54 68 69 73 20 71 | 75 65 75 65 20 69 73 20 |. This q|ueue is |
|00004660| 73 65 74 20 74 6f 20 61 | 20 6c 6f 77 20 6e 69 63 |set to a| low nic|
|00004670| 65 20 76 61 6c 75 65 0a | 58 20 20 20 20 28 68 69 |e value.|X (hi|
|00004680| 67 68 20 70 72 69 6f 72 | 69 74 79 29 3a 0a 58 20 |gh prior|ity):.X |
|00004690| 20 20 20 73 6f 70 71 09 | 28 64 69 73 70 61 74 63 | sopq.|(dispatc|
|000046a0| 68 20 6e 6f 74 65 20 71 | 75 65 75 65 29 0a 58 0a |h note q|ueue).X.|
|000046b0| 58 20 20 20 20 49 6e 20 | 61 64 64 69 74 69 6f 6e |X In |addition|
|000046c0| 20 77 65 20 68 61 76 65 | 20 74 68 72 65 65 20 67 | we have| three g|
|000046d0| 65 6e 65 72 61 6c 20 70 | 75 72 70 6f 73 65 20 71 |eneral p|urpose q|
|000046e0| 75 65 75 65 73 20 73 68 | 61 72 65 64 20 62 79 20 |ueues sh|ared by |
|000046f0| 61 6c 6c 20 75 73 65 72 | 73 20 61 6e 64 0a 58 20 |all user|s and.X |
|00004700| 20 20 20 61 70 70 6c 69 | 63 61 74 69 6f 6e 73 2c | appli|cations,|
|00004710| 20 65 61 63 68 20 72 75 | 6e 6e 69 6e 67 20 6a 6f | each ru|nning jo|
|00004720| 62 73 20 61 74 20 64 69 | 66 66 65 72 65 6e 74 20 |bs at di|fferent |
|00004730| 70 72 69 6f 72 69 74 69 | 65 73 2c 20 61 6e 64 20 |prioriti|es, and |
|00004740| 6e 61 6d 65 64 20 66 6f | 72 20 74 68 65 0a 58 20 |named fo|r the.X |
|00004750| 20 20 20 74 68 72 6f 75 | 67 68 70 75 74 3a 0a 58 | throu|ghput:.X|
|00004760| 20 20 20 20 66 61 73 74 | 09 28 66 6f 72 20 73 6d | fast|.(for sm|
|00004770| 61 6c 6c 2c 20 66 61 73 | 74 2c 20 68 69 67 68 20 |all, fas|t, high |
|00004780| 70 72 69 6f 72 69 74 79 | 20 6a 6f 62 73 29 0a 58 |priority| jobs).X|
|00004790| 20 20 20 20 73 6c 6f 77 | 09 28 66 6f 72 20 62 69 | slow|.(for bi|
|000047a0| 67 20 72 65 73 6f 75 72 | 63 65 20 67 72 65 65 64 |g resour|ce greed|
|000047b0| 79 20 6a 6f 62 73 2c 20 | 72 75 6e 73 20 61 74 20 |y jobs, |runs at |
|000047c0| 6c 6f 77 20 70 72 69 6f | 72 69 74 79 29 0a 58 20 |low prio|rity).X |
|000047d0| 20 20 20 6e 6f 72 6d 09 | 28 61 6e 79 74 68 69 6e | norm.|(anythin|
|000047e0| 67 20 65 6c 73 65 29 0a | 58 0a 58 20 20 20 20 48 |g else).|X.X H|
|000047f0| 6f 77 20 4d 61 6e 79 20 | 51 75 65 75 65 73 3f 0a |ow Many |Queues?.|
|00004800| 58 0a 58 20 20 20 20 51 | 42 41 54 43 48 20 69 74 |X.X Q|BATCH it|
|00004810| 73 65 6c 66 20 70 6c 61 | 63 65 73 20 6e 6f 20 6c |self pla|ces no l|
|00004820| 69 6d 69 74 20 6f 6e 20 | 74 68 65 20 6e 75 6d 62 |imit on |the numb|
|00004830| 65 72 20 6f 66 20 71 75 | 65 75 65 73 20 74 68 61 |er of qu|eues tha|
|00004840| 74 20 6d 61 79 20 62 65 | 0a 58 20 20 20 20 63 6f |t may be|.X co|
|00004850| 6e 66 69 67 75 72 65 64 | 2e 0a 58 0a 58 20 20 20 |nfigured|..X.X |
|00004860| 20 50 6f 69 6e 74 73 20 | 74 6f 20 62 65 20 74 61 | Points |to be ta|
|00004870| 6b 65 6e 20 69 6e 74 6f | 20 61 63 63 6f 75 6e 74 |ken into| account|
|00004880| 20 61 72 65 3a 0a 58 20 | 20 20 20 61 2e 20 54 68 | are:.X | a. Th|
|00004890| 65 20 6e 65 65 64 20 74 | 6f 20 61 76 6f 69 64 20 |e need t|o avoid |
|000048a0| 63 6f 6e 63 75 72 72 65 | 6e 63 79 20 69 6e 20 61 |concurre|ncy in a|
|000048b0| 70 70 6c 69 63 61 74 69 | 6f 6e 73 2e 0a 58 20 20 |pplicati|ons..X |
|000048c0| 20 20 62 2e 20 54 68 65 | 20 63 61 70 61 63 69 74 | b. The| capacit|
|000048d0| 79 20 6f 66 20 74 68 65 | 20 73 79 73 74 65 6d 2e |y of the| system.|
|000048e0| 0a 58 20 20 20 20 63 2e | 20 54 68 65 20 61 76 61 |.X c.| The ava|
|000048f0| 69 6c 61 62 69 6c 69 74 | 79 20 6f 66 20 70 6f 74 |ilabilit|y of pot|
|00004900| 65 6e 74 69 61 6c 6c 79 | 20 73 68 61 72 65 64 20 |entially| shared |
|00004910| 72 65 73 6f 75 72 63 65 | 73 2e 0a 58 20 20 20 20 |resource|s..X |
|00004920| 64 2e 20 54 69 6d 69 6e | 67 20 63 6f 6e 73 74 72 |d. Timin|g constr|
|00004930| 61 69 6e 74 73 2e 0a 58 | 0a 58 20 20 20 20 61 2e |aints..X|.X a.|
|00004940| 20 41 74 20 77 6f 72 73 | 74 20 74 68 65 72 65 20 | At wors|t there |
|00004950| 77 69 6c 6c 20 62 65 20 | 61 20 6e 65 65 64 20 66 |will be |a need f|
|00004960| 6f 72 20 61 20 71 75 65 | 75 65 20 70 65 72 20 61 |or a que|ue per a|
|00004970| 70 70 6c 69 63 61 74 69 | 6f 6e 20 77 68 65 72 65 |pplicati|on where|
|00004980| 0a 58 20 20 20 20 20 20 | 20 63 6f 6e 63 75 72 72 |.X | concurr|
|00004990| 65 6e 63 79 20 69 73 20 | 61 20 70 72 6f 62 6c 65 |ency is |a proble|
|000049a0| 6d 2e 20 20 54 68 69 73 | 20 6d 61 79 20 62 65 20 |m. This| may be |
|000049b0| 74 65 6d 70 65 72 65 64 | 20 62 79 20 74 69 6d 69 |tempered| by timi|
|000049c0| 6e 67 20 63 6f 6e 73 74 | 72 61 69 6e 74 73 0a 58 |ng const|raints.X|
|000049d0| 20 20 20 20 20 20 20 77 | 69 74 68 69 6e 20 74 68 | w|ithin th|
|000049e0| 65 20 61 70 70 6c 69 63 | 61 74 69 6f 6e 73 2c 20 |e applic|ations, |
|000049f0| 66 6f 72 20 65 78 61 6d | 70 6c 65 20 69 66 20 74 |for exam|ple if t|
|00004a00| 68 65 20 62 61 74 63 68 | 20 77 6f 72 6b 20 66 6f |he batch| work fo|
|00004a10| 72 20 6f 6e 65 0a 58 20 | 20 20 20 20 20 20 61 70 |r one.X | ap|
|00004a20| 70 6c 69 63 61 74 69 6f | 6e 20 74 65 6e 64 73 20 |plicatio|n tends |
|00004a30| 74 6f 20 62 65 20 69 6e | 20 74 68 65 20 6d 6f 72 |to be in| the mor|
|00004a40| 6e 69 6e 67 2c 20 61 6e | 64 20 66 6f 72 20 61 6e |ning, an|d for an|
|00004a50| 6f 74 68 65 72 20 69 6e | 20 74 68 65 0a 58 20 20 |other in| the.X |
|00004a60| 20 20 20 20 20 61 66 74 | 65 72 6e 6f 6f 6e 2c 20 | aft|ernoon, |
|00004a70| 74 68 65 6e 20 74 68 65 | 72 65 20 69 73 20 70 72 |then the|re is pr|
|00004a80| 6f 62 61 62 6c 79 20 6e | 6f 20 72 65 61 73 6f 6e |obably n|o reason|
|00004a90| 20 74 68 61 74 20 74 68 | 65 79 20 63 61 6e 27 74 | that th|ey can't|
|00004aa0| 20 73 68 61 72 65 20 61 | 0a 58 20 20 20 20 20 20 | share a|.X |
|00004ab0| 20 71 75 65 75 65 2e 0a | 58 0a 58 20 20 20 20 62 | queue..|X.X b|
|00004ac0| 20 26 20 63 2e 20 20 41 | 73 20 61 20 27 72 75 6c | & c. A|s a 'rul|
|00004ad0| 65 20 6f 66 20 74 68 75 | 6d 62 27 20 74 61 6b 65 |e of thu|mb' take|
|00004ae0| 20 74 68 65 20 77 6f 72 | 73 74 20 63 61 73 65 20 | the wor|st case |
|00004af0| 72 65 71 75 69 72 65 6d | 65 6e 74 20 66 6f 72 20 |requirem|ent for |
|00004b00| 61 6e 0a 58 20 20 20 20 | 20 20 20 61 76 61 69 6c |an.X | avail|
|00004b10| 61 62 6c 65 20 72 65 73 | 6f 75 72 63 65 20 28 69 |able res|ource (i|
|00004b20| 6e 63 6c 75 64 69 6e 67 | 20 63 70 75 20 63 79 63 |ncluding| cpu cyc|
|00004b30| 6c 65 73 20 61 6e 64 20 | 6d 65 6d 6f 72 79 29 20 |les and |memory) |
|00004b40| 61 6e 64 20 64 69 76 69 | 64 65 20 74 68 69 73 0a |and divi|de this.|
|00004b50| 58 20 20 20 20 20 20 20 | 69 6e 74 6f 20 74 68 65 |X |into the|
|00004b60| 20 74 6f 74 61 6c 20 61 | 76 61 69 6c 61 62 6c 65 | total a|vailable|
|00004b70| 20 6f 66 20 74 68 65 20 | 63 6f 72 72 65 73 70 6f | of the |correspo|
|00004b80| 6e 64 69 6e 67 20 72 65 | 73 6f 75 72 63 65 2e 20 |nding re|source. |
|00004b90| 20 54 68 69 73 20 77 69 | 6c 6c 20 67 69 76 65 0a | This wi|ll give.|
|00004ba0| 58 20 20 20 20 20 20 20 | 74 68 65 20 6e 75 6d 62 |X |the numb|
|00004bb0| 65 72 20 6f 66 20 71 75 | 65 75 65 73 2c 20 65 61 |er of qu|eues, ea|
|00004bc0| 63 68 20 72 75 6e 6e 69 | 6e 67 20 74 68 65 20 77 |ch runni|ng the w|
|00004bd0| 6f 72 73 74 20 63 61 73 | 65 20 6a 6f 62 20 74 68 |orst cas|e job th|
|00004be0| 61 74 20 63 61 6e 20 62 | 65 0a 58 20 20 20 20 20 |at can b|e.X |
|00004bf0| 20 20 73 75 70 70 6f 72 | 74 65 64 2e 20 20 54 68 | suppor|ted. Th|
|00004c00| 69 73 20 69 73 20 4e 4f | 54 20 61 20 68 61 72 64 |is is NO|T a hard|
|00004c10| 20 61 6e 64 20 66 61 73 | 74 20 72 75 6c 65 2e 20 | and fas|t rule. |
|00004c20| 20 42 79 20 74 75 6e 69 | 6e 67 20 74 68 65 20 73 | By tuni|ng the s|
|00004c30| 63 72 69 70 74 73 0a 58 | 20 20 20 20 20 20 20 77 |cripts.X| w|
|00004c40| 68 69 63 68 20 73 75 62 | 6d 69 74 20 6a 6f 62 73 |hich sub|mit jobs|
|00004c50| 2c 20 28 61 6e 64 20 75 | 73 65 72 20 74 72 61 69 |, (and u|ser trai|
|00004c60| 6e 69 6e 67 29 20 69 74 | 20 69 73 20 70 6f 73 73 |ning) it| is poss|
|00004c70| 69 62 6c 65 20 74 6f 20 | 74 75 6e 65 20 74 68 65 |ible to |tune the|
|00004c80| 20 73 79 73 74 65 6d 0a | 58 20 20 20 20 20 20 20 | system.|X |
|00004c90| 73 75 63 68 20 74 68 61 | 74 20 71 75 69 63 6b 2c |such tha|t quick,|
|00004ca0| 20 6e 6f 6e 2d 20 63 70 | 75 20 69 6e 74 65 6e 73 | non- cp|u intens|
|00004cb0| 69 76 65 20 28 63 6f 6e | 73 65 72 76 61 74 69 76 |ive (con|servativ|
|00004cc0| 65 20 72 61 74 68 65 72 | 20 74 68 61 6e 20 67 72 |e rather| than gr|
|00004cd0| 65 65 64 79 29 0a 58 20 | 20 20 20 20 20 20 6a 6f |eedy).X | jo|
|00004ce0| 62 73 20 61 72 65 20 73 | 75 62 6d 69 74 74 65 64 |bs are s|ubmitted|
|00004cf0| 20 74 6f 20 74 68 65 20 | 73 61 6d 65 20 71 75 65 | to the |same que|
|00004d00| 75 65 20 6f 72 20 67 72 | 6f 75 70 20 6f 66 20 71 |ue or gr|oup of q|
|00004d10| 75 65 75 65 73 2e 20 20 | 49 66 20 74 68 65 73 65 |ueues. |If these|
|00004d20| 20 61 72 65 0a 58 20 20 | 20 20 20 20 20 6b 65 70 | are.X | kep|
|00004d30| 74 20 69 6e 20 73 65 70 | 61 72 61 74 65 20 71 75 |t in sep|arate qu|
|00004d40| 65 75 65 73 20 66 72 6f | 6d 20 72 65 73 6f 75 72 |eues fro|m resour|
|00004d50| 63 65 20 67 72 65 65 64 | 79 20 6a 6f 62 73 20 74 |ce greed|y jobs t|
|00004d60| 68 65 6e 20 74 68 65 20 | 6f 76 65 72 61 6c 6c 0a |hen the |overall.|
|00004d70| 58 20 20 20 20 20 20 20 | 6e 75 6d 62 65 72 20 6f |X |number o|
|00004d80| 66 20 71 75 65 75 65 73 | 20 63 61 6e 20 62 65 20 |f queues| can be |
|00004d90| 69 6e 63 72 65 61 73 65 | 64 2e 20 20 49 6e 20 6f |increase|d. In o|
|00004da0| 74 68 65 72 20 77 6f 72 | 64 73 2c 20 73 65 70 61 |ther wor|ds, sepa|
|00004db0| 72 61 74 65 20 6a 6f 62 | 73 0a 58 20 20 20 20 20 |rate job|s.X |
|00004dc0| 20 20 72 65 71 75 69 72 | 69 6e 67 20 64 69 66 66 | requir|ing diff|
|00004dd0| 65 72 65 6e 74 20 74 79 | 70 65 73 20 6f 66 20 72 |erent ty|pes of r|
|00004de0| 65 73 6f 75 72 63 65 73 | 20 69 6e 74 6f 20 64 69 |esources| into di|
|00004df0| 66 66 65 72 65 6e 74 20 | 71 75 65 75 65 73 2c 20 |fferent |queues, |
|00004e00| 61 6e 64 20 74 75 6e 65 | 0a 58 20 20 20 20 20 20 |and tune|.X |
|00004e10| 20 74 68 65 20 71 75 65 | 75 65 20 61 76 61 69 6c | the que|ue avail|
|00004e20| 61 62 69 6c 69 74 79 20 | 74 6f 20 74 68 65 20 61 |ability |to the a|
|00004e30| 76 61 69 6c 61 62 69 6c | 69 74 79 20 6f 66 20 74 |vailabil|ity of t|
|00004e40| 68 65 20 72 65 73 6f 75 | 72 63 65 73 2e 0a 58 0a |he resou|rces..X.|
|00004e50| 58 20 20 20 20 49 6e 20 | 67 65 6e 65 72 61 6c 2c |X In |general,|
|00004e60| 20 74 68 65 72 65 20 69 | 73 20 6e 6f 20 77 61 79 | there i|s no way|
|00004e70| 20 74 68 61 74 20 61 20 | 73 79 73 74 65 6d 73 20 | that a |systems |
|00004e80| 61 64 6d 69 6e 69 73 74 | 72 61 74 6f 72 20 63 61 |administ|rator ca|
|00004e90| 6e 20 41 4c 57 41 59 53 | 20 67 65 74 20 69 74 0a |n ALWAYS| get it.|
|00004ea0| 58 20 20 20 20 72 69 67 | 68 74 20 66 69 72 73 74 |X rig|ht first|
|00004eb0| 20 74 69 6d 65 2e 20 20 | 54 61 6b 65 20 61 20 72 | time. |Take a r|
|00004ec0| 65 61 73 6f 6e 61 62 6c | 65 20 65 73 74 69 6d 61 |easonabl|e estima|
|00004ed0| 74 65 2c 20 69 6d 70 6c | 65 6d 65 6e 74 20 69 74 |te, impl|ement it|
|00004ee0| 2c 20 61 6e 64 20 6d 6f | 6e 69 74 6f 72 0a 58 20 |, and mo|nitor.X |
|00004ef0| 20 20 20 69 74 2e 20 20 | 42 65 20 70 72 65 70 61 | it. |Be prepa|
|00004f00| 72 65 64 20 74 6f 20 6d | 61 6b 65 20 63 68 61 6e |red to m|ake chan|
|00004f10| 67 65 73 20 61 73 20 74 | 68 65 20 61 63 74 75 61 |ges as t|he actua|
|00004f20| 6c 20 72 65 71 75 69 72 | 65 6d 65 6e 74 73 20 6d |l requir|ements m|
|00004f30| 61 6b 65 0a 58 20 20 20 | 20 74 68 65 6d 73 65 6c |ake.X | themsel|
|00004f40| 76 65 73 20 6b 6e 6f 77 | 6e 2e 20 20 49 74 27 73 |ves know|n. It's|
|00004f50| 20 70 72 6f 62 61 62 6c | 79 20 62 65 74 74 65 72 | probabl|y better|
|00004f60| 20 69 6e 20 74 68 65 20 | 65 61 72 6c 79 20 73 74 | in the |early st|
|00004f70| 61 67 65 73 20 74 6f 20 | 68 61 76 65 20 74 6f 6f |ages to |have too|
|00004f80| 0a 58 20 20 20 20 66 65 | 77 20 71 75 65 75 65 73 |.X fe|w queues|
|00004f90| 20 72 61 74 68 65 72 20 | 74 68 61 6e 20 74 6f 6f | rather |than too|
|00004fa0| 20 6d 61 6e 79 2e 20 20 | 49 74 27 73 20 67 6f 74 | many. |It's got|
|00004fb0| 20 74 6f 20 62 65 20 65 | 61 73 69 65 72 20 74 6f | to be e|asier to|
|00004fc0| 20 61 64 64 20 61 20 71 | 75 65 75 65 2c 0a 58 20 | add a q|ueue,.X |
|00004fd0| 20 20 20 61 6e 64 20 63 | 68 61 6e 67 65 20 6f 6e | and c|hange on|
|00004fe0| 65 20 6f 72 20 74 77 6f | 20 73 63 72 69 70 74 73 |e or two| scripts|
|00004ff0| 20 74 6f 20 75 73 65 20 | 74 68 65 20 6e 65 77 20 | to use |the new |
|00005000| 71 75 65 75 65 2c 20 74 | 68 61 6e 20 74 6f 20 72 |queue, t|han to r|
|00005010| 65 6d 6f 76 65 20 6f 6e | 65 2c 0a 58 20 20 20 20 |emove on|e,.X |
|00005020| 61 6e 64 20 74 72 79 20 | 74 6f 20 72 65 6d 65 6d |and try |to remem|
|00005030| 62 65 72 20 77 68 69 63 | 68 20 73 63 72 69 70 74 |ber whic|h script|
|00005040| 73 20 75 73 65 64 20 69 | 74 21 0a 58 0a 58 20 20 |s used i|t!.X.X |
|00005050| 20 20 49 66 20 74 68 65 | 20 73 79 73 74 65 6d 20 | If the| system |
|00005060| 69 73 20 61 20 6c 61 72 | 67 65 20 6d 75 6c 74 69 |is a lar|ge multi|
|00005070| 20 75 73 65 72 20 73 79 | 73 74 65 6d 2c 20 77 69 | user sy|stem, wi|
|00005080| 74 68 20 61 20 6c 61 72 | 67 65 20 75 73 65 72 20 |th a lar|ge user |
|00005090| 62 61 73 65 2c 20 74 68 | 65 6e 0a 58 20 20 20 20 |base, th|en.X |
|000050a0| 70 65 72 68 61 70 73 20 | 61 20 6d 6f 72 65 20 73 |perhaps |a more s|
|000050b0| 79 73 74 65 6d 61 74 69 | 63 61 6c 20 61 70 70 72 |ystemati|cal appr|
|000050c0| 6f 61 63 68 20 63 61 6e | 20 62 65 20 74 61 6b 65 |oach can| be take|
|000050d0| 6e 2e 20 20 49 66 20 74 | 68 65 20 75 73 65 72 73 |n. If t|he users|
|000050e0| 20 61 72 65 0a 58 20 20 | 20 20 73 65 70 61 72 61 | are.X | separa|
|000050f0| 74 65 64 20 69 6e 74 6f | 20 67 72 6f 75 70 73 2c |ted into| groups,|
|00005100| 20 74 68 65 6e 20 61 63 | 63 65 73 73 20 74 6f 20 | then ac|cess to |
|00005110| 71 75 65 75 65 73 20 6d | 61 79 20 62 65 20 72 65 |queues m|ay be re|
|00005120| 73 74 72 69 63 74 65 64 | 20 74 6f 20 63 65 72 74 |stricted| to cert|
|00005130| 61 69 6e 0a 58 20 20 20 | 20 67 72 6f 75 70 73 20 |ain.X | groups |
|00005140| 62 79 20 75 73 69 6e 67 | 20 66 69 78 65 64 20 63 |by using| fixed c|
|00005150| 6f 6e 74 65 78 74 20 71 | 75 65 75 65 73 2e 20 20 |ontext q|ueues. |
|00005160| 4f 6e 63 65 20 73 75 66 | 66 69 63 69 65 6e 74 20 |Once suf|ficient |
|00005170| 71 75 65 75 65 73 20 74 | 6f 20 63 61 74 65 72 20 |queues t|o cater |
|00005180| 66 6f 72 0a 58 20 20 20 | 20 74 68 65 20 6d 61 6a |for.X | the maj|
|00005190| 6f 72 20 73 79 73 74 65 | 6d 73 20 6a 6f 62 73 20 |or syste|ms jobs |
|000051a0| 68 61 76 65 20 62 65 65 | 6e 20 63 6f 6e 73 69 64 |have bee|n consid|
|000051b0| 65 72 65 64 2c 20 74 68 | 65 6e 20 6f 74 68 65 72 |ered, th|en other|
|000051c0| 20 67 65 6e 65 72 61 6c | 20 70 75 72 70 6f 73 65 | general| purpose|
|000051d0| 0a 58 20 20 20 20 71 75 | 65 75 65 73 20 63 6f 75 |.X qu|eues cou|
|000051e0| 6c 64 20 62 65 20 63 6f | 6e 66 69 67 75 72 65 64 |ld be co|nfigured|
|000051f0| 20 6f 6e 20 61 20 67 72 | 6f 75 70 20 62 79 20 67 | on a gr|oup by g|
|00005200| 72 6f 75 70 20 28 69 6e | 64 69 76 69 64 75 61 6c |roup (in|dividual|
|00005210| 20 6f 72 20 73 68 61 72 | 65 64 29 0a 58 20 20 20 | or shar|ed).X |
|00005220| 20 62 61 73 69 73 2e 0a | 45 4e 44 5f 4f 46 5f 46 | basis..|END_OF_F|
|00005230| 49 4c 45 0a 69 66 20 74 | 65 73 74 20 36 32 34 38 |ILE.if t|est 6248|
|00005240| 20 2d 6e 65 20 60 77 63 | 20 2d 63 20 3c 27 64 6f | -ne `wc| -c <'do|
|00005250| 63 2f 63 68 61 70 2e 30 | 36 27 60 3b 20 74 68 65 |c/chap.0|6'`; the|
|00005260| 6e 0a 20 20 20 20 65 63 | 68 6f 20 73 68 61 72 3a |n. ec|ho shar:|
|00005270| 20 5c 22 27 64 6f 63 2f | 63 68 61 70 2e 30 36 27 | \"'doc/|chap.06'|
|00005280| 5c 22 20 75 6e 70 61 63 | 6b 65 64 20 77 69 74 68 |\" unpac|ked with|
|00005290| 20 77 72 6f 6e 67 20 73 | 69 7a 65 21 0a 66 69 0a | wrong s|ize!.fi.|
|000052a0| 23 20 65 6e 64 20 6f 66 | 20 27 64 6f 63 2f 63 68 |# end of| 'doc/ch|
|000052b0| 61 70 2e 30 36 27 0a 66 | 69 0a 69 66 20 74 65 73 |ap.06'.f|i.if tes|
|000052c0| 74 20 2d 66 20 27 6d 61 | 6e 2f 71 63 2e 6c 27 20 |t -f 'ma|n/qc.l' |
|000052d0| 2d 61 20 22 24 7b 31 7d | 22 20 21 3d 20 22 2d 63 |-a "${1}|" != "-c|
|000052e0| 22 20 3b 20 74 68 65 6e | 20 0a 20 20 65 63 68 6f |" ; then| . echo|
|000052f0| 20 73 68 61 72 3a 20 57 | 69 6c 6c 20 6e 6f 74 20 | shar: W|ill not |
|00005300| 63 6c 6f 62 62 65 72 20 | 65 78 69 73 74 69 6e 67 |clobber |existing|
|00005310| 20 66 69 6c 65 20 5c 22 | 27 6d 61 6e 2f 71 63 2e | file \"|'man/qc.|
|00005320| 6c 27 5c 22 0a 65 6c 73 | 65 0a 65 63 68 6f 20 73 |l'\".els|e.echo s|
|00005330| 68 61 72 3a 20 45 78 74 | 72 61 63 74 69 6e 67 20 |har: Ext|racting |
|00005340| 5c 22 27 6d 61 6e 2f 71 | 63 2e 6c 27 5c 22 20 5c |\"'man/q|c.l'\" \|
|00005350| 28 35 39 34 32 20 63 68 | 61 72 61 63 74 65 72 73 |(5942 ch|aracters|
|00005360| 5c 29 0a 73 65 64 20 22 | 73 2f 5e 58 2f 2f 22 20 |\).sed "|s/^X//" |
|00005370| 3e 27 6d 61 6e 2f 71 63 | 2e 6c 27 20 3c 3c 27 45 |>'man/qc|.l' <<'E|
|00005380| 4e 44 5f 4f 46 5f 46 49 | 4c 45 27 0a 58 2e 54 48 |ND_OF_FI|LE'.X.TH|
|00005390| 20 51 43 20 38 4c 20 22 | 31 34 20 4d 61 79 20 31 | QC 8L "|14 May 1|
|000053a0| 39 39 31 22 20 51 43 20 | 22 51 55 45 55 45 44 20 |991" QC |"QUEUED |
|000053b0| 42 41 54 43 48 20 50 52 | 4f 43 45 53 53 49 4e 47 |BATCH PR|OCESSING|
|000053c0| 20 53 59 53 54 45 4d 22 | 0a 58 2e 53 48 20 43 4f | SYSTEM"|.X.SH CO|
|000053d0| 50 59 52 49 47 48 54 0a | 54 68 65 0a 58 2e 42 20 |PYRIGHT.|The.X.B |
|000053e0| 51 42 41 54 43 48 0a 73 | 79 73 74 65 6d 20 61 6e |QBATCH.s|ystem an|
|000053f0| 64 20 69 74 73 20 72 65 | 6c 61 74 65 64 20 70 72 |d its re|lated pr|
|00005400| 6f 67 72 61 6d 73 20 61 | 72 65 20 43 6f 70 79 72 |ograms a|re Copyr|
|00005410| 69 67 68 74 3a 0a 58 2e | 62 72 0a 58 28 63 29 20 |ight:.X.|br.X(c) |
|00005420| 56 69 74 61 20 53 65 72 | 76 69 63 65 73 20 4c 74 |Vita Ser|vices Lt|
|00005430| 64 2e 20 31 39 39 30 0a | 58 2e 62 72 0a 58 28 63 |d. 1990.|X.br.X(c|
|00005440| 29 20 56 69 74 61 20 46 | 69 62 72 65 73 20 4c 74 |) Vita F|ibres Lt|
|00005450| 64 2e 20 31 39 39 31 0a | 58 2e 53 48 20 4e 41 4d |d. 1991.|X.SH NAM|
|00005460| 45 20 0a 58 2e 42 49 20 | 71 63 0a 58 5c 2d 20 51 |E .X.BI |qc.X\- Q|
|00005470| 75 65 75 65 20 63 72 65 | 61 74 65 2e 20 63 72 65 |ueue cre|ate. cre|
|00005480| 61 74 65 20 61 20 62 61 | 74 63 68 20 70 72 6f 63 |ate a ba|tch proc|
|00005490| 65 73 73 69 6e 67 20 71 | 75 65 75 65 2c 20 6f 72 |essing q|ueue, or|
|000054a0| 20 61 6c 74 65 72 20 69 | 74 27 73 20 64 65 66 61 | alter i|t's defa|
|000054b0| 75 6c 74 20 70 61 72 61 | 6d 65 74 65 72 73 2e 0a |ult para|meters..|
|000054c0| 58 2e 53 48 20 53 59 4e | 4f 50 53 49 53 0a 58 2e |X.SH SYN|OPSIS.X.|
|000054d0| 42 20 71 63 0a 58 5b 0a | 58 2e 42 20 5c 2d 20 66 |B qc.X[.|X.B \- f|
|000054e0| 0a 58 5d 0a 58 5b 0a 58 | 2e 42 49 20 5c 2d 6d 20 |.X].X[.X|.BI \-m |
|000054f0| 22 20 6d 6f 6e 69 74 6f | 72 22 0a 58 5d 0a 58 5b |" monito|r".X].X[|
|00005500| 0a 58 2e 42 49 20 5c 2d | 70 20 22 20 70 72 69 6f |.X.BI \-|p " prio|
|00005510| 72 69 74 79 22 0a 58 5d | 0a 58 5b 0a 58 2e 42 49 |rity".X]|.X[.X.BI|
|00005520| 20 5c 2d 73 20 22 20 73 | 70 6f 6f 6c 70 61 74 68 | \-s " s|poolpath|
|00005530| 22 0a 58 5d 0a 58 2e 42 | 20 71 6e 61 6d 65 0a 58 |".X].X.B| qname.X|
|00005540| 7c 5b 0a 58 2e 42 49 20 | 5c 2d 76 0a 58 5d 0a 58 ||[.X.BI |\-v.X].X|
|00005550| 2e 53 48 20 44 45 53 43 | 52 49 50 54 49 4f 4e 0a |.SH DESC|RIPTION.|
|00005560| 41 20 66 69 6c 65 20 6f | 66 20 6e 61 6d 65 20 71 |A file o|f name q|
|00005570| 6e 61 6d 65 20 77 69 6c | 6c 20 62 65 20 63 72 65 |name wil|l be cre|
|00005580| 61 74 65 64 20 69 6e 20 | 51 55 45 55 45 50 41 54 |ated in |QUEUEPAT|
|00005590| 48 20 28 6f 72 20 69 6e | 20 74 68 65 0a 64 69 72 |H (or in| the.dir|
|000055a0| 65 63 74 6f 72 79 20 74 | 6f 20 77 68 69 63 68 20 |ectory t|o which |
|000055b0| 69 74 20 69 73 20 61 20 | 73 79 6d 62 6f 6c 69 63 |it is a |symbolic|
|000055c0| 20 6c 69 6e 6b 29 2e 20 | 54 68 65 20 66 69 6c 65 | link). |The file|
|000055d0| 20 77 69 6c 6c 0a 63 6f | 6e 74 61 69 6e 20 61 20 | will.co|ntain a |
|000055e0| 71 75 65 75 65 20 68 65 | 61 64 65 72 20 72 65 63 |queue he|ader rec|
|000055f0| 6f 72 64 20 63 6f 6e 74 | 61 69 6e 69 6e 67 20 74 |ord cont|aining t|
|00005600| 68 65 20 69 6e 66 6f 72 | 6d 61 74 69 6f 6e 0a 65 |he infor|mation.e|
|00005610| 69 74 68 65 72 20 61 73 | 20 73 70 65 63 69 66 69 |ither as| specifi|
|00005620| 65 64 20 69 6e 20 74 68 | 65 20 63 6f 6d 6d 61 6e |ed in th|e comman|
|00005630| 64 20 6c 69 6e 65 2c 20 | 6f 72 20 61 73 20 74 68 |d line, |or as th|
|00005640| 65 20 64 65 66 61 75 6c | 74 20 76 61 6c 75 65 73 |e defaul|t values|
|00005650| 2e 20 54 68 65 0a 69 6e | 69 74 69 61 6c 20 71 75 |. The.in|itial qu|
|00005660| 65 75 65 20 73 74 61 74 | 75 73 20 66 6c 61 67 73 |eue stat|us flags|
|00005670| 20 77 69 6c 6c 20 62 65 | 20 73 65 74 20 74 6f 20 | will be| set to |
|00005680| 61 6c 6c 6f 77 20 65 6e | 74 72 69 65 73 0a 74 6f |allow en|tries.to|
|00005690| 20 62 65 20 73 75 62 6d | 69 74 74 65 64 2c 20 61 | be subm|itted, a|
|000056a0| 6e 64 20 71 75 65 75 65 | 20 69 64 6c 65 2e 0a 58 |nd queue| idle..X|
|000056b0| 2e 73 70 0a 49 66 20 74 | 68 65 20 71 75 65 75 65 |.sp.If t|he queue|
|000056c0| 20 61 6c 72 65 61 64 79 | 20 65 78 69 73 74 73 2c | already| exists,|
|000056d0| 20 74 68 65 20 68 65 61 | 64 65 72 20 63 6f 6e 74 | the hea|der cont|
|000056e0| 65 6e 74 73 20 77 69 6c | 6c 20 62 65 20 63 68 61 |ents wil|l be cha|
|000056f0| 6e 67 65 64 20 74 6f 20 | 72 65 66 6c 65 63 74 0a |nged to |reflect.|
|00005700| 74 68 65 20 6f 70 74 69 | 6f 6e 73 20 73 70 65 63 |the opti|ons spec|
|00005710| 69 66 69 65 64 20 6f 6e | 20 74 68 65 20 63 6f 6d |ified on| the com|
|00005720| 6d 61 6e 64 20 6c 69 6e | 65 2e 0a 58 2e 73 70 0a |mand lin|e..X.sp.|
|00005730| 49 66 20 74 68 65 20 71 | 75 65 75 65 20 69 73 20 |If the q|ueue is |
|00005740| 74 6f 20 62 65 20 61 20 | 66 69 78 65 64 20 63 6f |to be a |fixed co|
|00005750| 6e 74 65 78 74 20 71 75 | 65 75 65 2c 20 28 2d 66 |ntext qu|eue, (-f|
|00005760| 20 6f 70 74 69 6f 6e 29 | 20 0a 58 2e 42 20 6a 73 | option)| .X.B js|
|00005770| 0a 58 28 74 68 65 20 6a | 6f 62 20 73 75 62 6d 69 |.X(the j|ob submi|
|00005780| 74 20 70 72 6f 67 72 61 | 6d 29 20 77 69 6c 6c 20 |t progra|m) will |
|00005790| 61 6c 73 6f 20 65 78 70 | 65 63 74 20 74 6f 20 66 |also exp|ect to f|
|000057a0| 69 6e 64 20 61 20 66 69 | 6c 65 20 2e 3c 71 6e 61 |ind a fi|le .<qna|
|000057b0| 6d 65 3e 72 63 20 69 6e | 20 74 68 65 0a 71 62 61 |me>rc in| the.qba|
|000057c0| 74 63 68 20 64 69 72 65 | 63 74 6f 72 79 2e 20 54 |tch dire|ctory. T|
|000057d0| 68 69 73 20 66 69 6c 65 | 20 69 73 20 75 73 65 64 |his file| is used|
|000057e0| 20 74 6f 20 73 65 74 20 | 75 70 20 74 68 65 20 65 | to set |up the e|
|000057f0| 6e 76 69 72 6f 6e 6d 65 | 6e 74 20 69 6e 20 77 68 |nvironme|nt in wh|
|00005800| 69 63 68 20 61 6c 6c 0a | 6a 6f 62 73 20 69 6e 20 |ich all.|jobs in |
|00005810| 74 68 69 73 20 71 75 65 | 75 65 20 77 69 6c 6c 20 |this que|ue will |
|00005820| 72 75 6e 2c 20 61 6e 64 | 20 63 6f 6e 74 72 6f 6c |run, and| control|
|00005830| 73 20 61 63 63 65 73 73 | 20 74 6f 20 74 68 65 20 |s access| to the |
|00005840| 71 75 65 75 65 2e 20 54 | 68 65 20 63 6f 6e 74 65 |queue. T|he conte|
|00005850| 6e 74 73 0a 6f 66 20 74 | 68 65 20 72 63 20 66 69 |nts.of t|he rc fi|
|00005860| 6c 65 20 61 72 65 20 73 | 74 61 6e 64 61 72 64 20 |le are s|tandard |
|00005870| 28 73 65 65 20 6e 6f 74 | 65 29 20 73 68 65 6c 6c |(see not|e) shell|
|00005880| 20 6a 63 6c 2c 20 61 6e | 64 20 61 72 65 20 61 64 | jcl, an|d are ad|
|00005890| 64 65 64 20 74 6f 20 74 | 68 65 20 62 65 67 69 6e |ded to t|he begin|
|000058a0| 6e 69 6e 67 0a 6f 66 20 | 6a 63 6c 20 77 72 69 74 |ning.of |jcl writ|
|000058b0| 74 65 6e 20 66 6f 72 20 | 73 75 62 6d 69 74 74 65 |ten for |submitte|
|000058c0| 64 20 6a 6f 62 73 2c 20 | 65 78 63 65 70 74 20 66 |d jobs, |except f|
|000058d0| 6f 72 20 63 65 72 74 61 | 69 6e 20 73 74 61 74 65 |or certa|in state|
|000058e0| 6d 65 6e 74 73 20 61 73 | 20 66 6f 6c 6c 6f 77 73 |ments as| follows|
|000058f0| 3a 0a 58 2e 54 50 20 31 | 35 0a 58 2e 42 20 23 51 |:.X.TP 1|5.X.B #Q|
|00005900| 43 4f 4e 54 45 58 54 0a | 44 65 66 69 6e 65 73 20 |CONTEXT.|Defines |
|00005910| 74 68 65 20 75 69 64 20 | 61 6e 64 20 67 69 64 20 |the uid |and gid |
|00005920| 75 6e 64 65 72 20 77 68 | 69 63 68 20 6a 6f 62 73 |under wh|ich jobs|
|00005930| 20 72 75 6e 20 69 6e 20 | 74 68 69 73 20 71 75 65 | run in |this que|
|00005940| 75 65 0a 77 69 6c 6c 20 | 62 65 20 70 72 6f 63 65 |ue.will |be proce|
|00005950| 73 73 65 64 2e 20 49 66 | 20 74 68 69 73 20 73 74 |ssed. If| this st|
|00005960| 61 74 65 6d 65 6e 74 20 | 69 73 20 6e 6f 74 20 70 |atement |is not p|
|00005970| 72 65 73 65 6e 74 2c 20 | 74 68 65 20 73 75 62 6d |resent, |the subm|
|00005980| 69 74 74 69 6e 67 0a 75 | 73 65 72 27 73 20 75 69 |itting.u|ser's ui|
|00005990| 64 20 61 6e 64 20 67 69 | 64 20 77 69 6c 6c 20 62 |d and gi|d will b|
|000059a0| 65 20 75 73 65 64 2e 0a | 58 2e 54 50 0a 58 2e 42 |e used..|X.TP.X.B|
|000059b0| 20 73 79 6e 74 61 78 3a | 0a 58 23 51 43 4f 4e 54 | syntax:|.X#QCONT|
|000059c0| 45 58 54 20 3c 75 69 64 | 3e 20 3c 67 69 64 3e 0a |EXT <uid|> <gid>.|
|000059d0| 58 2e 62 72 0a 58 2e 42 | 20 4e 4f 54 45 3a 0a 41 |X.br.X.B| NOTE:.A|
|000059e0| 20 66 69 78 65 64 20 63 | 6f 6e 74 65 78 74 20 71 | fixed c|ontext q|
|000059f0| 75 65 75 65 20 77 69 74 | 68 20 61 20 51 43 4f 4e |ueue wit|h a QCON|
|00005a00| 54 45 58 54 20 75 69 64 | 20 6f 66 20 30 20 28 72 |TEXT uid| of 0 (r|
|00005a10| 6f 6f 74 29 20 69 73 20 | 4e 4f 54 20 70 65 72 6d |oot) is |NOT perm|
|00005a20| 69 74 74 65 64 2e 0a 58 | 28 27 30 27 20 69 6e 20 |itted..X|('0' in |
|00005a30| 65 69 74 68 65 72 20 66 | 69 65 6c 64 20 72 65 73 |either f|ield res|
|00005a40| 75 6c 74 73 20 69 6e 20 | 74 68 65 20 6f 72 69 67 |ults in |the orig|
|00005a50| 69 6e 61 6c 20 73 75 62 | 6d 69 74 74 6f 72 73 20 |inal sub|mittors |
|00005a60| 75 69 64 20 28 67 69 64 | 29 20 62 65 69 6e 67 20 |uid (gid|) being |
|00005a70| 75 73 65 64 29 2e 0a 58 | 2e 54 50 0a 58 2e 42 20 |used)..X|.TP.X.B |
|00005a80| 23 51 55 53 45 52 53 0a | 49 66 20 74 68 69 73 20 |#QUSERS.|If this |
|00005a90| 73 74 61 74 65 6d 65 6e | 74 20 69 73 20 70 72 65 |statemen|t is pre|
|00005aa0| 73 65 6e 74 2c 20 69 74 | 20 64 65 66 69 6e 65 73 |sent, it| defines|
|00005ab0| 20 61 20 6c 69 73 74 20 | 6f 66 20 73 75 62 6d 69 | a list |of submi|
|00005ac0| 74 74 69 6e 67 20 75 73 | 65 72 20 75 69 64 73 20 |tting us|er uids |
|00005ad0| 70 65 72 6d 69 74 74 65 | 64 0a 74 6f 20 73 75 62 |permitte|d.to sub|
|00005ae0| 6d 69 74 20 6a 6f 62 73 | 20 74 6f 20 74 68 69 73 |mit jobs| to this|
|00005af0| 20 71 75 65 75 65 2e 0a | 58 2e 54 50 0a 58 2e 42 | queue..|X.TP.X.B|
|00005b00| 20 73 79 6e 74 61 78 3a | 0a 58 23 51 55 53 45 52 | syntax:|.X#QUSER|
|00005b10| 53 20 75 69 64 20 5b 75 | 69 64 20 2e 2e 5d 0a 58 |S uid [u|id ..].X|
|00005b20| 2e 62 72 0a 58 5b 23 51 | 55 53 45 52 53 20 75 69 |.br.X[#Q|USERS ui|
|00005b30| 64 20 5b 75 69 64 20 2e | 2e 5d 5d 0a 58 2e 62 72 |d [uid .|.]].X.br|
|00005b40| 0a 41 20 6d 61 78 69 6d | 75 6d 20 6f 66 20 31 30 |.A maxim|um of 10|
|00005b50| 20 75 69 64 73 20 6d 61 | 79 20 62 65 20 70 72 65 | uids ma|y be pre|
|00005b60| 73 65 6e 74 20 69 6e 20 | 61 20 73 69 6e 67 6c 65 |sent in |a single|
|00005b70| 20 51 55 53 45 52 53 0a | 73 74 61 74 65 6d 65 6e | QUSERS.|statemen|
|00005b80| 74 2c 20 62 75 74 20 74 | 68 65 20 73 74 61 74 65 |t, but t|he state|
|00005b90| 6d 65 6e 74 20 6d 61 79 | 20 62 65 20 72 65 70 65 |ment may| be repe|
|00005ba0| 61 74 65 64 20 69 66 20 | 74 68 65 72 65 20 61 72 |ated if |there ar|
|00005bb0| 65 20 74 6f 20 62 65 20 | 6d 6f 72 65 2e 0a 58 2e |e to be |more..X.|
|00005bc0| 54 50 0a 58 2e 42 20 23 | 51 47 52 4f 55 50 53 0a |TP.X.B #|QGROUPS.|
|00005bd0| 49 66 20 74 68 69 73 20 | 73 74 61 74 65 6d 65 6e |If this |statemen|
|00005be0| 74 20 69 73 20 70 72 65 | 73 65 6e 74 2c 20 69 74 |t is pre|sent, it|
|00005bf0| 20 64 65 66 69 6e 65 73 | 20 61 20 6c 69 73 74 20 | defines| a list |
|00005c00| 6f 66 20 73 75 62 6d 69 | 74 74 69 6e 67 20 75 73 |of submi|tting us|
|00005c10| 65 72 20 67 69 64 73 20 | 70 65 72 6d 69 74 74 65 |er gids |permitte|
|00005c20| 64 0a 74 6f 20 73 75 62 | 6d 69 74 20 6a 6f 62 73 |d.to sub|mit jobs|
|00005c30| 20 74 6f 20 74 68 69 73 | 20 71 75 65 75 65 2e 0a | to this| queue..|
|00005c40| 58 2e 54 50 0a 58 2e 42 | 20 73 79 6e 74 61 78 3a |X.TP.X.B| syntax:|
|00005c50| 0a 58 23 51 47 52 4f 55 | 50 53 20 67 69 64 20 5b |.X#QGROU|PS gid [|
|00005c60| 67 69 64 20 2e 2e 5d 0a | 58 2e 62 72 0a 58 5b 23 |gid ..].|X.br.X[#|
|00005c70| 51 47 52 4f 55 50 53 20 | 67 69 64 20 5b 67 69 64 |QGROUPS |gid [gid|
|00005c80| 20 2e 2e 5d 5d 0a 58 2e | 62 72 0a 41 20 6d 61 78 | ..]].X.|br.A max|
|00005c90| 69 6d 75 6d 20 6f 66 20 | 31 30 20 67 69 64 73 20 |imum of |10 gids |
|00005ca0| 6d 61 79 20 62 65 20 70 | 72 65 73 65 6e 74 20 69 |may be p|resent i|
|00005cb0| 6e 20 61 20 73 69 6e 67 | 6c 65 20 51 47 52 4f 55 |n a sing|le QGROU|
|00005cc0| 50 53 0a 73 74 61 74 65 | 6d 65 6e 74 2c 20 62 75 |PS.state|ment, bu|
|00005cd0| 74 20 74 68 65 20 73 74 | 61 74 65 6d 65 6e 74 20 |t the st|atement |
|00005ce0| 6d 61 79 20 62 65 20 72 | 65 70 65 61 74 65 64 20 |may be r|epeated |
|00005cf0| 69 66 20 74 68 65 72 65 | 20 61 72 65 20 74 6f 20 |if there| are to |
|00005d00| 62 65 20 6d 6f 72 65 2e | 0a 58 2e 73 70 0a 49 66 |be more.|.X.sp.If|
|00005d10| 20 6e 65 69 74 68 65 72 | 20 51 55 53 45 52 53 20 | neither| QUSERS |
|00005d20| 6e 6f 72 20 51 47 52 4f | 55 50 53 20 61 72 65 20 |nor QGRO|UPS are |
|00005d30| 70 72 65 73 65 6e 74 2c | 20 61 6e 79 20 75 73 65 |present,| any use|
|00005d40| 72 20 6d 61 79 20 73 75 | 62 6d 69 74 20 6a 6f 62 |r may su|bmit job|
|00005d50| 73 20 74 6f 0a 74 68 69 | 73 20 71 75 65 75 65 2e |s to.thi|s queue.|
|00005d60| 0a 58 2e 54 50 0a 58 2e | 42 20 23 51 47 45 54 45 |.X.TP.X.|B #QGETE|
|00005d70| 4e 56 0a 4e 6f 72 6d 61 | 6c 6c 79 2c 20 74 68 65 |NV.Norma|lly, the|
|00005d80| 20 75 73 65 72 20 65 6e | 76 69 72 6f 6e 6d 65 6e | user en|vironmen|
|00005d90| 74 20 69 73 20 69 67 6e | 6f 72 65 64 20 69 6e 20 |t is ign|ored in |
|00005da0| 61 20 66 69 78 65 64 20 | 63 6f 6e 74 65 78 74 20 |a fixed |context |
|00005db0| 71 75 65 75 65 2e 20 54 | 68 69 73 20 73 74 61 74 |queue. T|his stat|
|00005dc0| 65 6d 65 6e 74 20 0a 70 | 72 6f 76 69 64 65 73 20 |ement .p|rovides |
|00005dd0| 61 20 6d 65 63 68 61 6e | 69 73 6d 20 66 6f 72 20 |a mechan|ism for |
|00005de0| 61 63 63 65 73 73 69 6e | 67 20 65 6e 76 69 72 6f |accessin|g enviro|
|00005df0| 6e 6d 65 6e 74 20 76 61 | 72 69 61 62 6c 65 73 2c |nment va|riables,|
|00005e00| 20 61 6e 64 20 70 61 73 | 73 69 6e 67 20 74 68 65 | and pas|sing the|
|00005e10| 6d 20 74 6f 20 74 68 65 | 20 6a 6f 62 2e 0a 58 2e |m to the| job..X.|
|00005e20| 54 50 0a 58 2e 42 20 73 | 79 6e 74 61 78 3a 0a 58 |TP.X.B s|yntax:.X|
|00005e30| 23 51 47 45 54 45 4e 56 | 20 3c 65 6e 76 61 72 3e |#QGETENV| <envar>|
|00005e40| 0a 58 2e 62 72 0a 58 5b | 23 51 47 45 54 45 4e 56 |.X.br.X[|#QGETENV|
|00005e50| 20 3c 65 6e 76 61 72 3e | 5d 0a 58 2e 62 72 0a 58 | <envar>|].X.br.X|
|00005e60| 5b 2e 2e 5d 0a 58 2e 54 | 50 0a 65 78 61 6d 70 6c |[..].X.T|P.exampl|
|00005e70| 65 3a 0a 58 23 51 47 45 | 54 45 4e 56 20 50 52 49 |e:.X#QGE|TENV PRI|
|00005e80| 4e 54 45 52 0a 58 2e 62 | 72 0a 77 69 6c 6c 20 65 |NTER.X.b|r.will e|
|00005e90| 6e 73 75 72 65 20 74 68 | 61 74 20 74 68 65 20 75 |nsure th|at the u|
|00005ea0| 73 65 72 27 73 20 63 75 | 72 72 65 6e 74 20 73 65 |ser's cu|rrent se|
|00005eb0| 74 74 69 6e 67 20 6f 66 | 20 74 68 65 20 50 52 49 |tting of| the PRI|
|00005ec0| 4e 54 45 52 20 65 6e 76 | 69 72 6f 6e 6d 65 6e 74 |NTER env|ironment|
|00005ed0| 20 76 61 72 69 61 62 6c | 65 20 0a 69 73 20 61 76 | variabl|e .is av|
|00005ee0| 61 69 6c 61 62 6c 65 20 | 77 68 65 6e 20 74 68 65 |ailable |when the|
|00005ef0| 20 6a 6f 62 20 69 73 20 | 72 75 6e 6e 69 6e 67 2e | job is |running.|
|00005f00| 0a 58 2e 54 50 20 30 0a | 4e 6f 74 65 20 74 68 61 |.X.TP 0.|Note tha|
|00005f10| 74 20 77 68 65 72 65 76 | 65 72 20 61 20 71 75 65 |t wherev|er a que|
|00005f20| 75 65 20 6e 61 6d 65 20 | 69 73 20 75 73 65 64 2c |ue name |is used,|
|00005f30| 20 74 6f 20 63 72 65 61 | 74 65 20 61 20 6d 6f 6e | to crea|te a mon|
|00005f40| 69 74 6f 72 0a 66 69 6c | 65 6e 61 6d 65 2c 20 6f |itor.fil|ename, o|
|00005f50| 72 20 61 73 20 61 20 70 | 72 65 66 69 78 20 66 6f |r as a p|refix fo|
|00005f60| 72 20 74 68 65 20 6a 63 | 6c 20 66 69 6c 65 6e 61 |r the jc|l filena|
|00005f70| 6d 65 2c 20 6f 6e 6c 79 | 20 74 68 65 0a 66 69 72 |me, only| the.fir|
|00005f80| 73 74 20 66 6f 75 72 20 | 63 68 61 72 61 63 74 65 |st four |characte|
|00005f90| 72 73 20 61 72 65 20 75 | 73 65 64 2e 20 49 74 20 |rs are u|sed. It |
|00005fa0| 69 73 20 74 68 65 72 65 | 66 6f 72 65 20 61 64 76 |is there|fore adv|
|00005fb0| 69 73 61 62 6c 65 0a 74 | 68 61 74 20 71 75 65 75 |isable.t|hat queu|
|00005fc0| 65 20 6e 61 6d 65 73 20 | 61 72 65 20 72 65 73 74 |e names |are rest|
|00005fd0| 72 69 63 74 65 64 20 74 | 6f 20 66 6f 75 72 20 63 |ricted t|o four c|
|00005fe0| 68 61 72 61 63 74 65 72 | 73 20 69 6e 20 0a 6c 65 |haracter|s in .le|
|00005ff0| 6e 67 74 68 2e 0a 58 2e | 53 48 20 49 4d 50 4f 52 |ngth..X.|SH IMPOR|
|00006000| 54 41 4e 54 20 4e 4f 54 | 45 0a 53 69 6e 63 65 20 |TANT NOT|E.Since |
|00006010| 74 68 65 20 73 68 65 6c | 6c 20 75 6e 64 65 72 20 |the shel|l under |
|00006020| 77 68 69 63 68 20 62 61 | 74 63 68 20 6a 6f 62 73 |which ba|tch jobs|
|00006030| 20 77 69 6c 6c 20 72 75 | 6e 20 69 73 20 6e 6f 77 | will ru|n is now|
|00006040| 20 64 65 66 69 6e 61 62 | 6c 65 20 61 74 20 73 75 | definab|le at su|
|00006050| 62 6d 69 74 0a 74 69 6d | 65 20 28 73 65 65 20 6a |bmit.tim|e (see j|
|00006060| 73 20 28 6c 29 29 2c 20 | 69 74 20 73 68 6f 75 6c |s (l)), |it shoul|
|00006070| 64 20 62 65 20 6e 6f 74 | 65 64 20 74 68 61 74 20 |d be not|ed that |
|00006080| 74 68 65 20 6a 63 6c 20 | 69 6e 20 61 20 3c 71 6e |the jcl |in a <qn|
|00006090| 61 6d 65 3e 72 63 20 66 | 69 6c 65 20 73 68 6f 75 |ame>rc f|ile shou|
|000060a0| 6c 64 20 62 65 0a 6f 66 | 20 74 68 65 20 63 6f 72 |ld be.of| the cor|
|000060b0| 72 65 63 74 20 73 79 6e | 74 61 78 20 66 6f 72 20 |rect syn|tax for |
|000060c0| 74 68 65 20 73 68 65 6c | 6c 20 69 6e 20 75 73 65 |the shel|l in use|
|000060d0| 2e 20 54 68 69 73 20 69 | 73 20 6f 6e 6c 79 20 61 |. This i|s only a|
|000060e0| 20 70 72 6f 62 6c 65 6d | 20 77 68 65 72 65 20 74 | problem| where t|
|000060f0| 68 65 20 2d 73 20 6f 70 | 74 69 6f 6e 20 74 6f 20 |he -s op|tion to |
|00006100| 0a 6a 73 20 69 73 20 75 | 73 65 64 2e 20 54 68 65 |.js is u|sed. The|
|00006110| 20 27 64 65 66 61 75 6c | 74 27 20 73 68 65 6c 6c | 'defaul|t' shell|
|00006120| 20 66 6f 72 20 61 20 66 | 69 78 65 64 20 63 6f 6e | for a f|ixed con|
|00006130| 74 65 78 74 20 71 75 65 | 75 65 20 6d 61 79 20 62 |text que|ue may b|
|00006140| 65 20 66 6f 72 63 65 64 | 20 62 79 20 69 6e 63 6c |e forced| by incl|
|00006150| 75 64 69 6e 67 0a 58 28 | 61 73 20 74 68 65 20 46 |uding.X(|as the F|
|00006160| 49 52 53 54 20 6c 69 6e | 65 20 69 6e 20 74 68 65 |IRST lin|e in the|
|00006170| 20 2e 3c 71 75 65 75 65 | 6e 61 6d 65 3e 72 63 20 | .<queue|name>rc |
|00006180| 66 69 6c 65 29 20 61 20 | 6c 69 6e 65 20 6f 66 20 |file) a |line of |
|00006190| 74 68 65 20 66 6f 72 6d | 0a 58 2e 62 72 0a 58 23 |the form|.X.br.X#|
|000061a0| 21 3c 73 68 65 6c 6c 20 | 70 61 74 68 73 70 65 63 |!<shell |pathspec|
|000061b0| 3e 0a 58 2e 62 72 0a 54 | 68 69 73 20 77 69 6c 6c |>.X.br.T|his will|
|000061c0| 20 74 68 65 6e 20 6f 76 | 65 72 72 69 64 65 20 2f | then ov|erride /|
|000061d0| 62 69 6e 2f 73 68 20 61 | 73 20 74 68 65 20 64 65 |bin/sh a|s the de|
|000061e0| 66 61 75 6c 74 20 73 68 | 65 6c 6c 20 66 6f 72 20 |fault sh|ell for |
|000061f0| 74 68 69 73 20 71 75 65 | 75 65 2e 0a 53 75 62 6d |this que|ue..Subm|
|00006200| 69 74 20 74 69 6d 65 20 | 65 6e 76 69 72 6f 6e 6d |it time |environm|
|00006210| 65 6e 74 20 76 61 72 69 | 61 62 6c 65 73 20 61 72 |ent vari|ables ar|
|00006220| 65 20 70 61 73 73 65 64 | 20 64 69 72 65 63 74 6c |e passed| directl|
|00006230| 79 20 74 6f 20 74 68 65 | 20 72 75 6e 6e 69 6e 67 |y to the| running|
|00006240| 20 6a 6f 62 2c 20 73 6f | 20 61 72 65 20 73 68 65 | job, so| are she|
|00006250| 6c 6c 20 69 6e 64 65 70 | 65 6e 64 65 6e 74 2e 0a |ll indep|endent..|
|00006260| 58 2e 53 48 20 4f 50 54 | 49 4f 4e 53 0a 58 2e 54 |X.SH OPT|IONS.X.T|
|00006270| 50 20 31 32 0a 58 2e 42 | 20 20 5c 2d 66 0a 54 6f |P 12.X.B| \-f.To|
|00006280| 67 67 6c 65 20 74 68 65 | 20 66 69 78 65 64 20 63 |ggle the| fixed c|
|00006290| 6f 6e 74 65 78 74 20 66 | 6c 61 67 20 66 6f 72 20 |ontext f|lag for |
|000062a0| 74 68 69 73 20 71 75 65 | 75 65 2e 0a 49 66 20 74 |this que|ue..If t|
|000062b0| 68 65 20 71 75 65 75 65 | 20 64 6f 65 73 20 6e 6f |he queue| does no|
|000062c0| 74 20 65 78 69 73 74 20 | 28 69 73 20 62 65 69 6e |t exist |(is bein|
|000062d0| 67 20 63 72 65 61 74 65 | 64 20 69 6e 20 74 68 69 |g create|d in thi|
|000062e0| 73 20 6f 70 65 72 61 74 | 69 6f 6e 29 0a 74 68 65 |s operat|ion).the|
|000062f0| 6e 20 74 68 65 20 2d 66 | 20 6f 70 74 69 6f 6e 20 |n the -f| option |
|00006300| 77 69 6c 6c 20 63 61 75 | 73 65 20 74 68 65 20 66 |will cau|se the f|
|00006310| 69 78 65 64 20 63 6f 6e | 74 65 78 74 20 66 6c 61 |ixed con|text fla|
|00006320| 67 20 74 6f 20 62 65 20 | 73 65 74 20 28 44 65 66 |g to be |set (Def|
|00006330| 61 75 6c 74 20 69 73 20 | 6e 6f 74 20 73 65 74 29 |ault is |not set)|
|00006340| 2e 0a 49 66 20 74 68 65 | 20 71 75 65 75 65 20 61 |..If the| queue a|
|00006350| 6c 72 65 61 64 79 20 65 | 78 69 73 74 73 2c 20 74 |lready e|xists, t|
|00006360| 68 65 20 2d 66 20 6f 70 | 74 69 6f 6e 20 77 69 6c |he -f op|tion wil|
|00006370| 6c 20 74 6f 67 67 6c 65 | 20 74 68 65 20 73 74 61 |l toggle| the sta|
|00006380| 74 65 20 6f 66 20 74 68 | 65 0a 66 69 78 65 64 20 |te of th|e.fixed |
|00006390| 63 6f 6e 74 65 78 74 20 | 66 6c 61 67 2e 0a 58 2e |context |flag..X.|
|000063a0| 54 50 0a 58 2e 42 49 20 | 5c 2d 6d 20 22 20 6d 6f |TP.X.BI |\-m " mo|
|000063b0| 6e 69 74 6f 72 22 0a 53 | 70 65 63 69 66 79 20 61 |nitor".S|pecify a|
|000063c0| 20 64 65 66 61 75 6c 74 | 20 6d 6f 6e 69 74 6f 72 | default| monitor|
|000063d0| 20 66 6f 72 20 74 68 69 | 73 20 71 75 65 75 65 2e | for thi|s queue.|
|000063e0| 0a 6d 6f 6e 69 74 6f 72 | 20 6d 61 79 20 62 65 20 |.monitor| may be |
|000063f0| 61 20 64 69 72 65 63 74 | 6f 72 79 2c 20 6f 72 20 |a direct|ory, or |
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.