1 02/25/85 make_commands
 2 
 3 Syntax as a command:  make_commands path_name
 4 
 5 
 6 Function:  creates a Limited Service Subsystem (LSS) control segment
 7 from an ASCII input segment.  The control segment is referenced by the
 8 Limited Service System (LSS) when it is limiting the commands and
 9 percentage of CPU time of a user (see also the enter_lss command).
10 
11 The input segment consists of a series of statements.  Each statement
12 is composed of two parts.  The first part is the name of the command to
13 be transformed; i.e., the command that is to be typed by the user in a
14 limited system.  If there is more than one name for the command, they
15 should all be enclosed in parentheses and separated from each other by
16 one or more blanks.  The name field is terminated by a colon preceded
17 by any number of blanks.
18 
19 
20 The second part of each statement is the pathname (which may be a
21 relative pathname) of the command to be executed when the user types
22 one of the names in the first part.  If a relative pathname is used, it
23 is relative to the current working directory.  If only an entryname is
24 given, the standard system search rules are applied.  It is followed by
25 any number of blanks and terminated by a semicolon.  If the pathname is
26 omitted (semicolon still required), it is assumed to be the same as the
27 last name in the name field.
28 
29 The first and second parts of each statement may be separated from each
30 other by any number of blanks or tabs.  Newlines are ignored and are
31 allowed anywhere.  Comments enclosed between "/*" and "*/" are allowed
32 and are treated as blanks.
33 
34 
35 If the first two statements have as their first part the names "ratio"
36 and "interval", respectively, the second parts of the two statements
37 are assumed to be decimal integers to be assigned to the ratio and
38 interval_length variables of the LSS control segment.  Otherwise, the
39 two variables are set to zero.
40 
41 The ratio and interval variables control the amount of CPU time used by
42 the process.  The LSS forces the process to use no more than
43 (interval/ratio) virtual CPU seconds in each (interval) real second(s).
44 If it attempts to do so, the process is rendered inactive for the
45 remainder of the interval.
46 
47 
48 Arguments:
49 path_name
50    is the pathname of an ASCII input segment that has the name
51    path_name.ct.  (The .ct suffix is assumed if it is not included.)
52    The output segment has the same entryname as the input segment with
53    the .ct suffix removed, and is placed in the working directory.
54 
55 
56 Notes:  See the enter_lss command for additional information.