Date: Thu, 22 Dec 2005 13:36:40 +0200 From: Danny Braniss <danny@cs.huji.ac.il> To: Torfinn Ingolfsen <torfinn.ingolfsen@broadpark.no> Cc: freebsd-stable@freebsd.org Subject: Re: lsof on 6.0 Message-ID: <E1EpOkS-000KIv-EO@cs1.cs.huji.ac.il> In-Reply-To: Message from Torfinn Ingolfsen <torfinn.ingolfsen@broadpark.no> of "Thu, 22 Dec 2005 12:06:20 %2B0100." <20051222120620.67b63f3d.torfinn.ingolfsen@broadpark.no>
next in thread | previous in thread | raw e-mail | index | archive | help
> On Thu, 22 Dec 2005 10:12:17 +0200
> Danny Braniss <danny@cs.huji.ac.il> wrote:
>
> > i keep getting:
> > lsof: can't determine user device random seed.
> > is it only me?
>
> You'll have to be more specific: do you get that by doing only 'lsof' or
> are you using any parameters? _Do you run as a normal user, or as root?
> FWIW, plain 'lsof' works here, on
>
> tingo@kg-quiet$ uname -a
> FreeBSD kg-quiet.kg4.no 6.0-STABLE FreeBSD 6.0-STABLE #1: Thu Dec 22
> 06:29:24 CET 2005 root@kg-quiet.kg4.no:/usr/obj/usr/src/sys/QUIET
> amd64
>
> both as a normal user and as root.
> I don't see the message you are referring to.
either root, or just a mere mortal, just typing lsof, no arguments:
shuttle-3> lsof
lsof: can't determine user device random seed.
shuttle-3> uname -a
FreeBSD shuttle-3 6.0-STABLE FreeBSD 6.0-STABLE #23: Mon Dec 19 11:53:42 IST 2005 danny@x-dev:/r+d/obj/x-dev/amd64/r+d/6.0/src/sys/HUJI amd64
shuttle-3> lsof -v
lsof version information:
revision: 4.77
latest revision: ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/
latest FAQ: ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/FAQ
latest man page: ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/lsof_man
constructed: Thu Dec 22 09:42:49 IST 2005
constructed by and on: danny@shuttle-3
compiler: cc
compiler flags: -fno-strict-aliasing -pipe -DHASEFFNLINK=i_effnlink -DHASF_VNODE -DHASCPUMASK_T -DHASSBSTATE -DHAS_KVM_VNODE -D
HAS_UFS1_2 -DHAS_NO_SI_UDEV -DHAS_SI_PRIV -DFREEBSDV=6000 -DHASFDESCFS=2 -DHASPSEUDOFS -DHASNULLFS -DHAS9660FS -DHAS_NO_ISO_DEV -DH
ASIPv6 -DLSOF_VSTR="6.0-STABLE" -I/usr/src/sys -O2
loader flags: -L./lib -llsof -lkvm
system info: FreeBSD shuttle-3 6.0-STABLE FreeBSD 6.0-STABLE #23: Mon Dec 19 11:53:42 IST 2005 danny@x-dev:/r+d/obj/x-dev/amd64
/r+d/6.0/src/sys/HUJI amd64
Only root can list all files.
/dev warnings are enabled.
Kernel ID check is enabled.
Device cache file read-only paths:
Named via -D: none
Named in environment variable LSOFDEVCACHE: none
Personal path format (HASPERSDC): "%h/%p.lsof_%L"
Modified personal path environment variable: LSOFPERSDCPATH
LSOFPERSDCPATH value: none
Personal path: /cs/system/danny/.lsof_shuttle-3
Device cache file write paths:
Named via -D: none
Named in environment variable LSOFDEVCACHE: none
Personal path format (HASPERSDC): "%h/%p.lsof_%L"
Modified personal path environment variable: LSOFPERSDCPATH
LSOFPERSDCPATH value: none
Personal path: /cs/system/danny/.lsof_shuttle-3
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1EpOkS-000KIv-EO>
