fstat.1 (906c1e27fc15d09fe630e425166401aaea7020a5) | fstat.1 (ca7e3117d443779a9e74b01072157cff8be0f5a2) |
---|---|
1.\" Copyright (c) 1987, 1991, 1993 2.\" The Regents of the University of California. All rights reserved. 3.\" 4.\" Redistribution and use in source and binary forms, with or without 5.\" modification, are permitted provided that the following conditions 6.\" are met: 7.\" 1. Redistributions of source code must retain the above copyright 8.\" notice, this list of conditions and the following disclaimer. --- 35 unchanged lines hidden (view full) --- 44.Op Fl N Ar system 45.Op Fl p Ar pid 46.Op Fl u Ar user 47.Op Ar filename... 48.Sh DESCRIPTION 49.Nm Fstat 50identifies open files. 51A file is considered open by a process if it was explicitly opened, | 1.\" Copyright (c) 1987, 1991, 1993 2.\" The Regents of the University of California. All rights reserved. 3.\" 4.\" Redistribution and use in source and binary forms, with or without 5.\" modification, are permitted provided that the following conditions 6.\" are met: 7.\" 1. Redistributions of source code must retain the above copyright 8.\" notice, this list of conditions and the following disclaimer. --- 35 unchanged lines hidden (view full) --- 44.Op Fl N Ar system 45.Op Fl p Ar pid 46.Op Fl u Ar user 47.Op Ar filename... 48.Sh DESCRIPTION 49.Nm Fstat 50identifies open files. 51A file is considered open by a process if it was explicitly opened, |
52is the working directory, root directory, active pure text, or kernel | 52is the working directory, root directory, active executable text, or kernel |
53trace file for that process. 54If no options are specified, 55.Nm fstat 56reports on all open files in the system. 57.Pp 58Options: 59.Bl -tag -width Ds 60.It Fl f --- 46 unchanged lines hidden (view full) --- 107The command name of the process. 108.It Li PID 109The process id. 110.It Li FD 111The file number in the per-process open file table or one of the following 112special names: 113.Pp 114.Bd -ragged -offset indent -compact | 53trace file for that process. 54If no options are specified, 55.Nm fstat 56reports on all open files in the system. 57.Pp 58Options: 59.Bl -tag -width Ds 60.It Fl f --- 46 unchanged lines hidden (view full) --- 107The command name of the process. 108.It Li PID 109The process id. 110.It Li FD 111The file number in the per-process open file table or one of the following 112special names: 113.Pp 114.Bd -ragged -offset indent -compact |
115text - pure text inode | 115text - executable text inode |
116wd - current working directory 117root - root inode 118tr - kernel trace file 119.Ed 120.Pp 121If the file number is followed by an asterisk (``*''), the file is 122not an inode, but rather a socket, 123.Tn FIFO , --- 96 unchanged lines hidden --- | 116wd - current working directory 117root - root inode 118tr - kernel trace file 119.Ed 120.Pp 121If the file number is followed by an asterisk (``*''), the file is 122not an inode, but rather a socket, 123.Tn FIFO , --- 96 unchanged lines hidden --- |