|
|
1.1 root 1: .TH LIM 1 SHARE
2: .SH NAME
3: lim \- change shares for users
4: .SH SYNOPSIS
5: \fBlim\fP limit{+|\-|=}string[,string...][;...] \-|name|uid-uid|uid\fB..\fP ...
6: .SH DESCRIPTION
7: .I Lim
8: changes shares file records for several users,
9: a range of uids
10: or a list from standard input.
11: The changeable limits are designated by their names as defined
12: in the files
13: .IR <sys/lnode.h> ,
14: and
15: .I <shares.h>
16: as follows:
17: .TP "\w'lastusedXXXXXX'u"
18: .B charge
19: Long term account charge.
20: .TP
21: .B flags
22: The only specifiable flag is:-
23: .IR notshared .
24: Only the first few letters needed to ensure a unique match are required.
25: .TP
26: .B lastused
27: Date account last used.
28: .TP
29: .B sgroup
30: Scheduling group for the account.
31: .TP
32: .B shares
33: Allocated shares.
34: .TP
35: .B usage
36: Usage for scheduling.
37: .PP
38: The next character designates that the limit is to be
39: incremented (\c
40: \fB+\fR\c
41: ), decremented (\c
42: \fB\-\fR\c
43: ), or set (\c
44: \fB=\fR\c
45: ).
46: .PP
47: The third group of characters is interpreted as a number,
48: a date (if the string contains a `/'),
49: or as a string
50: (or as a comma-separated list)
51: depending on the type of limit being changed.
52: However, if the first character is '\fB?\fR',
53: then an explanation of the
54: options available with the given limit will be listed.
55: .PP
56: Additional limits are specified by a semi-colon separated list.
57: .PP
58: If any following argument is just a `\fB\-\fR',
59: then the standard input is read for a list of user names,
60: one per line.
61: If any following argument \fIcontains\fP a `\fB\-\fR'
62: then it is interpreted as a range of uids,
63: otherwise if it ends in trailing dots (eg: 100\fB..\fR)
64: it is interpreted as a range running from the first uid up to the
65: maximum number of registered users.
66: Otherwise the argument is interpreted as a name.
67: .PP
68: A list of valid limits is printed out if
69: .I lim
70: is invoked with invalid arguments (or no arguments).
71: .SH FILES
72: .PD 0
73: .TP 16
74: /etc/shares
75: for share details.
76: .TP
77: /etc/passwd
78: for user names and \s-1ID\s0s.
79: .PD
80: .SH SEE ALSO
81: pl(1), lnode(5), shares(5).
82: .SH DIAGNOSTICS
83: .TP
84: \&... could not change kernel lnode ...
85: The limits system call failed for a logged in user,
86: usually because you are attempting to change a scheduling group
87: to one that isn't currently active.
88: .SH BUGS
89: .I Lim
90: does not use
91: .IR getshput (3),
92: so be careful something else is not updating the same entry simultaneously.
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.