lsof on 6.0
Danny Braniss
danny at cs.huji.ac.il
Thu Dec 22 03:36:42 PST 2005
> On Thu, 22 Dec 2005 10:12:17 +0200
> Danny Braniss <danny at 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 at 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 at 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 at 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 at 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 at 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
More information about the freebsd-stable
mailing list