From: Craig Small Date: Mon, 12 Sep 2005 22:47:14 +0000 (+0000) Subject: warning for fuser and tcp/udp ports not found X-Git-Tag: v22.11~107 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ca3816dd084fad695b6a5762e0c764a01fe85a13;p=psmisc warning for fuser and tcp/udp ports not found --- diff --git a/ChangeLog b/ChangeLog index 1ce8367..5a0daca 100644 --- a/ChangeLog +++ b/ChangeLog @@ -11,6 +11,7 @@ Changes in 21.7 * pstree checks to see it is a real tty Debian #326500 * pstree shows child threads with {commandname} Debian #230924 * better capitalisation with usage SF# 1150042 + * Added warning about fuser and tcp/udp access Debian #327813 * Applied psmisc-21.4-alt-progname to find pstrees name * configure.in checks for tinfo library diff --git a/doc/fuser.1 b/doc/fuser.1 index 0d89cc3..5d80767 100644 --- a/doc/fuser.1 +++ b/doc/fuser.1 @@ -1,4 +1,4 @@ -.TH FUSER 1 2004-11-09 "Linux" "User Commands" +.TH FUSER 1 2005-09-13 "Linux" "User Commands" .SH NAME fuser \- identify processes using files or sockets .SH SYNOPSIS @@ -6,13 +6,16 @@ fuser \- identify processes using files or sockets .B fuser .RB [ \-a | \-s | \-c ] .RB [ \-4 | \-6 ] -.RB [ \-n\ \fIspace ] +.RB [ \-n\ +.IR space\ ] .RB [ \-k .RB [ \-i ] -.RB [ \-\fIsignal\fR ] +.RB [ \- +.IR signal\ ] ] .RB [ \-muvf ] -.I name ... +.I name +... .br .B fuser .RB \-l @@ -154,6 +157,15 @@ The \fB\-k\fP option only works on processes. If the user is the kernel, fuser \-m /dev/sgX will show (or kill with the \-k flag) all processes, even if you don't have that device configured. There may be other devices it does this for too. +.PP +.B fuser +cannot report on any processes that it doesn't have permission to look at +the file descriptor table for. The most common time this problem occurs +is when looking for TCP or UDP sockets when running +.B fuser +as a non-root user. In this case +.B fuser +will report no access .SH AUTHORS .PP Werner Almesberger