1 02/20/85 resource_status, rst
2
3 Syntax as a command: rst type STR1...STRN -control_args
4
5
6 Syntax as an active function: rst type name -control_arg
7
8
9 Function: prints selected information about the status of a given
10 resource. As an active function, returns the value requested by the
11 specified control argument.
12
13
14 Arguments:
15 type
16 is a resource type defined in the resource type description table
17 RTDT. For more information and for a list of the resource types
18 on the system use the list_resources and list_resource_types
19 commands.
20 STRi
21 is the unique identifying name of the particular resource desired.
22 If STR looks like a control argument, precede it by -name.
23
24
25 Control arguments:
26 -access_class, -acc
27 prints the AIM access class or the access class range of the
28 resource.
29 -acs_path
30 prints the pathname of the ACS for this resource.
31 -all, -a
32 prints all information maintained about this resource. It is not
33 allowed in the active function.
34 -alloc
35 prints the state of your allocation switch for this resource.
36 -attributes, -attr
37 prints the current and protected attributes of this resource.
38 -charge_type, -crgtp
39 prints the charge type for this resource.
40
41
42 -comment, -com
43 prints the user-settable comment associated with this resource.
44 -location, -loc
45 prints the location field associated with this resource.
46 -lock
47 prints the status of the resource lock for this resource. In the
48 active function, returns "true" if the lock is on, "false" if it is
49 off.
50 -mode, -md
51 prints your effective mode to the resource.
52 -owner, -ow
53 prints the name of the owner of the resource.
54 -potential_access_class, -pacc
55 prints the potential access class or potential access class range
56 for this resource.
57
58
59 -potential_attributes, -pattr
60 prints the potential attributes of this resource.
61 -priv
62 returns your privileged effective access to the resource see
63 "Access required" below
64 -release_lock, -rll
65 prints the status of the lock that prevents the owner from releasing
66 this resource. In the active function, returns "true" if the lock
67 prevents the owner from releasing the resource, "false" otherwise.
68 -uid
69 prints the unique identifier of this resource.
70
71
72 Access required: You need execute access to the rcp_admin_ gate to
73 use -priv.