[ale] Fuser questions

James Sumners james.sumners at gmail.com
Tue Jan 4 14:56:07 EST 2011


I think that might be your distributions version of fuser. The one
packaged with Debian Lenny isn't showing this behavior for me[1].

[1] -- http://dl.dropbox.com/u/1038672/lsof-fuser.png

On Tue, Jan 4, 2011 at 10:51 AM, Brian Pitts <brian at polibyte.com> wrote:
> I have two questions about the fuser command.
>
> Can anyone explain why fuser identifies the process as running as root
> but ps says it is running as pbr?
>
> $ sudo /sbin/fuser -vn tcp 6013
> here: 6013
>
>                     USER        PID ACCESS COMMAND
> 6013/tcp             root      24376 f....  sshd
>
> $ ps -p 24376 -o '%U'
> USER
> pbr
>
> Can anyone explain what fuser means by "here" and why it does not list
> the two processes that lsof does?
>
> $ /sbin/fuser -vn tcp 51422
> here: 51422
>
> $ sudo /usr/sbin/lsof -i TCP:51422
> COMMAND   PID USER   FD   TYPE    DEVICE SIZE NODE NAME
> sshd    24372 root    3u  IPv4 103565535       TCP foo:ssh->bar:51422
> (ESTABLISHED)
> sshd    24376  pbr    3u  IPv4 103565535       TCP foo:ssh->bar:51422
> (ESTABLISHED)
>
> --
> All the best,
> Brian Pitts
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://mail.ale.org/mailman/listinfo/ale
> See JOBS, ANNOUNCE and SCHOOLS lists at
> http://mail.ale.org/mailman/listinfo
>



-- 
James Sumners
http://james.roomfullofmirrors.com/

"All governments suffer a recurring problem: Power attracts
pathological personalities. It is not that power corrupts but that it
is magnetic to the corruptible. Such people have a tendency to become
drunk on violence, a condition to which they are quickly addicted."

Missionaria Protectiva, Text QIV (decto)
CH:D 59



More information about the Ale mailing list