# gl command

The gl command displays or removes group
locks.

## Syntax

```
gl{-}
```
With no options, the monitor prints the status of the
global group lock (with a G+ or a G-), and scans memory for any frames that are marked as locked. For
each locked frame, the monitor displays the FID, the address of the
buffer table entry, and all group lock information held in the frame
itself.

- To clear all group locks, type gl-.

- To clear a specific group lock, type gl-{fid}.

Note: Locks cleared from the monitor debugger can still display
with the list-locks command. Such locks should
be cleared with a clear-locks command when the
virtual machine becomes accessible. In general, group locks should
always be cleared with TCL commands only. The monitor debugger should
only be used when system access is denied due to a lock set on a critical
file (for example, the mds,, file).

---
Source: https://d3codex.com/unix/gl-command/ - part of the D3Codex reference.
