From owner-svn-src-projects@FreeBSD.ORG Fri Jul 31 13:51:26 2009 Return-Path: Delivered-To: svn-src-projects@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EE374106568F; Fri, 31 Jul 2009 13:51:26 +0000 (UTC) (envelope-from stas@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id C2F898FC23; Fri, 31 Jul 2009 13:51:26 +0000 (UTC) (envelope-from stas@FreeBSD.org) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id n6VDpQes070908; Fri, 31 Jul 2009 13:51:26 GMT (envelope-from stas@svn.freebsd.org) Received: (from stas@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id n6VDpQvK070906; Fri, 31 Jul 2009 13:51:26 GMT (envelope-from stas@svn.freebsd.org) Message-Id: <200907311351.n6VDpQvK070906@svn.freebsd.org> From: Stanislav Sedov Date: Fri, 31 Jul 2009 13:51:26 +0000 (UTC) To: src-committers@freebsd.org, svn-src-projects@freebsd.org X-SVN-Group: projects MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r195996 - projects/libprocstat/usr.bin/fstat X-BeenThere: svn-src-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the src " projects" tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 31 Jul 2009 13:51:27 -0000 Author: stas Date: Fri Jul 31 13:51:26 2009 New Revision: 195996 URL: http://svn.freebsd.org/changeset/base/195996 Log: - Manpage improvements. Modified: projects/libprocstat/usr.bin/fstat/fuser.1 Modified: projects/libprocstat/usr.bin/fstat/fuser.1 ============================================================================== --- projects/libprocstat/usr.bin/fstat/fuser.1 Fri Jul 31 13:40:06 2009 (r195995) +++ projects/libprocstat/usr.bin/fstat/fuser.1 Fri Jul 31 13:51:26 2009 (r195996) @@ -1,4 +1,4 @@ -.\" Copyright (c) 2005 Stanislav Sedov +.\" Copyright (c) 2005-2009 Stanislav Sedov .\" All rights reserved. .\" .\" Redistribution and use in source and binary forms, with or without @@ -22,9 +22,9 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.\" $Id: fuser.1,v 1.3 2005/08/29 12:07:19 stas Exp $ +.\" $FreeBSD$ .\" -.Dd August 24, 2005 +.Dd July 31, 2009 .Dt FUSER 1 .Os .Sh NAME @@ -40,18 +40,19 @@ .Sh DESCRIPTION The .Nm -utility shall write to stdout the process IDs of processes that have one or -more named files open. For block and character special devices, all processes -using files on that device are listed. +utility writes to stdout the PIDs of processes that have one or +more named files open. +For block and character special devices, all processes using files +on that device are listed. A file is considered open by a process if it was explicitly opened, is the working directory, root directory, jail root directory, -active executable text, kernel trace file for that process or controlling tty +active executable text, kernel trace file or the controlling terminal of the process. If .Fl m option is specified, the .Nm -utility will search through mmapped files also. +utility will also look trhough mmapped files. .Pp The following options are available: .Bl -tag -width indent @@ -63,9 +64,9 @@ The report must be only for named files. Send signal to reported processes .Pq SIGKILL by default . .It Fl m -Report on mmapped files too. +Search through mmapped files too. .It Fl u -Write the user name, associated with each process, to stdout. +Write the user name associated with each process to stdout. .It Fl M Extract values associated with the name list from the specified core instead of the default @@ -134,9 +135,14 @@ Since .Nm takes a snapshot of the system, it is only correct for a very short period of time. -Currently, not all filesystems are supported. +When working via +.Xr kvm 3 +interface the report will be limited to filesystems the +.Nm +utility knows about (currently only cd9660, devfs, nfs, ntfs, nwfs, udf, +ufs and zfs). .Sh AUTHORS The .Nm -utility and this manual page was contributed by -.An Stanislav Sedov Aq ssedov@mbsd.msk.ru . +utility and this manual page was written by +.An Stanislav Sedov Aq stas@FreeBSD.org .