Add documentation for show files command

This commit is contained in:
blymn 2008-07-10 12:43:03 +00:00
parent 8a19e9911c
commit 09145e4d2b
1 changed files with 15 additions and 1 deletions

View File

@ -1,4 +1,4 @@
.\" $NetBSD: ddb.4,v 1.114 2008/05/23 17:01:32 tsutsui Exp $ .\" $NetBSD: ddb.4,v 1.115 2008/07/10 12:43:03 blymn Exp $
.\" .\"
.\" Copyright (c) 1997 - 2007 The NetBSD Foundation, Inc. .\" Copyright (c) 1997 - 2007 The NetBSD Foundation, Inc.
.\" All rights reserved. .\" All rights reserved.
@ -687,6 +687,20 @@ If
.Cm /f .Cm /f
is specified, all event counters with a count of zero are printed as well. is specified, all event counters with a count of zero are printed as well.
.It Xo .It Xo
.Ic show files
.Ar address
.Xc
Display information about the vnodes of the files that are currently
open by the process associated with the proc structure at
.Ar address .
This address can be found using the
.Ic show all procs /a
command.
If the kernel is compiled with
.Cd options LOCKDEBUG
then details about the locking of the underlying uvm object will also
be displayed.
.It Xo
.Ic show lock .Ic show lock
.Ar address .Ar address
.Xc .Xc