NAME
getLeases - list cpu and comms leases established on specified node node
SYNOPSIS
getLeases nodeHostname
DESCRIPTION
The getLeases utility lists all current cpu and comms leases that have been established on the specified MOOS node. For example, to see the leases on "node6":
 
% getLeases node6
SIAM version $Name:  $

Found 2 Lease(s).

id = 71
type = COMM
Current Node System Time = Oct 27, 2006 5:09:48 PM
Establishment Time = Oct 27, 2006 5:09:33 PM
Times Lease Renewed = 0
Total Lease Active Time = 14 seconds
Lease Acquired By = user ops@node11
Lease Duration = 900 seconds
Estimated Lease Time Remaining =~ 885 seconds

id = 2
type = CPU
Current Node System Time = Oct 27, 2006 5:09:48 PM
Establishment Time = Oct 27, 2006 5:12:04 PM
Lease Duration = 36 seconds
Estimated Lease Time Remaining =~ 171 seconds
Listed information includes the lease ID, the original duration of the lease, time remaining in the lease, and for comms leases a "Lease Acquired By" note identifying the "lessee".


ENVIRONMENT

The following environment variables must be set:


SEE ALSO

 lease, cpuAwake