Example for SHOW

Example:

LKE>SHOW -ALL

This command displays all LOCKs mapped to all regions of the current global directory. It produces an output like the following:

DEFAULT 
^A Owned by PID= 3640 which is an existing process 
No locks were found in NEW_REGION

Example:

LKE>show -lock="^a"(""b"")"

This command shows lock ^a("b") in the default region.

Example:

LKE>SHOW -CRIT

This command displays all the applicable locks held by a process that is holding a critical section.

Example:

LKE>show -all -output="abc.lk"

This command create a new file called abc.lk that contains the output of the SHOW -ALL command.

Example:

LKE> SHOW -PID=4109

This command displays all locks held by process with PID 4109.

Example:

LKE> show -region=DEFAULT -lock=""^A""

This command displays the lock on ^A in the region DEFAULT. It produces an output like the following:

DEFAULT 
^A Owned by PID= 3556 which is an existing process 
LKE> show -region=DEFAULT -lock=""^B""