krn.EnumSessionResources
This job returns the resources currently held (in memory) by a specified work session. It is the detail-rich live view; the compact view persisted in the database is returned by krn.SessionEnumResourcesDB. Both refer to the same named server resources held by a session or service.
1. Input Parameters
| Name | Type | Required | Description |
|---|---|---|---|
|
INT |
Yes |
Currently not supported — pass |
|
STRING |
Yes |
ID of the work session |
2. Output Parameters
| Name | Type | Dependency | Description |
|---|---|---|---|
|
STRING |
Optional |
One consecutively numbered parameter per held resource ( |
3. Structure of a resource record
Each Resource… parameter contains a ;-separated set of key=value pairs with the following fields:
| Field | Description |
|---|---|
|
Name of the named server resource or lock (e.g. |
|
Type of the resource |
|
Maximum preserve duration |
|
Identifier of the server group |
|
Time of acquisition (Unix epoch seconds) |
|
Bit mask with resource flags |
|
Preserve term |
4. Return Value
(INT): 0 = Job successful, otherwise error code.
See also: krn.SessionEnumResourcesDB, krn.SessionEnum