Next | Prev | Up | Top | Contents | Index

Commands to Display Locks and Semaphores

The commands summarized in Table 11-8 display the state of semaphores and locks of different kinds, including metering information when the metered-lock module is included in the kernel.

Commands to Display Locks and Semaphores
CommandOperation
;ock addr Display the state of the spinlock at addr. This command is available only in multiprocessor systems.
mrlock addr Display the state of the reader/writer lock at addr.
mutex addr Display the state of the mutual exclusion lock at addr.
sema addr Display the state of the semaphore at addr.
smeter addr Display metering information about the semaphore at addr. When addr is positive, it is taken as an index to the semaphore metering array.
sv addr Display the state of the synchronizing variable at addr, including waiting processes and metering information.


Next | Prev | Up | Top | Contents | Index