Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Jul 2000 13:14:18 +0200
From:      Bohus Plucinsky <plk@in.nextra.sk>
To:        freebsd-stable@freebsd.org
Cc:        freebsd-questions@freebsd.org
Subject:   lsof 4.50 don't work on 4.0-20000602-STABLE
Message-ID:  <20000705131418.L20883@in.nextra.sk>

next in thread | raw e-mail | index | archive | help
Hi,

I installed lsof 4.50 on FreeBSD 4.0-20000602-STABLE from the "ports".

lsof version information:
    revision: 4.50 -- find the latest revision at:
        ftp://vic.cc.purdue.edu/pub/tools/unix/lsof
    constructed: Wed Jul 5 10:36:43 CEST 2000
    constructed by and on: plk@in.nextra.sk
    compiler: cc
    compiler version: 2.95.2 19991024 (release)
    compiler flags: -pipe -DFREEBSDV=400 -DHASFDESCFS=1 -DHASFDLINK -DHASPROCFS -DHAS9660FS -DHASIPv6 -DLSOF_VSTR="4.0-20000602-STABLE" -I/usr/include -I/usr/src/sys -O -DCOMPAT_LINUX_THREADS
    loader flags: -L./lib -llsof -lkvm
    system info: FreeBSD xxxx.xxx.sk 4.0-20000602-STABLE FreeBSD 4.0-20000602-STABLE #8: Sun Jun 11 22:51:54 CEST 2000 root@xxx.xxx.sk:/usr/src/sys/compile/QWAK i386


The compilation was OK, but the informations, which I get from lsof are
strange. This is output from the command lsof. (It has been run from the root
account)

103 [qwak: /root] # lsof

lsof: no pwd entry for UID 5
lsof: no pwd entry for UID 5
lsof: no pwd entry for UID 5
lsof: no pwd entry for UID 5
lsof: no pwd entry for UID 5
lsof: no pwd entry for UID 5
lsof: no pwd entry for UID 5
lsof: no pwd entry for UID 5
lsof: no pwd entry for UID 5
lsof: no pwd entry for UID 5
lsof: no pwd entry for UID 5
lsof: no pwd entry for UID 5
lsof: no pwd entry for UID 5
lsof: no pwd entry for UID 5
lsof: no pwd entry for UID 5
lsof: no pwd entry for UID 5
lsof: no pwd entry for UID 5
lsof: no pwd entry for UID 5
lsof: no pwd entry for UID 5
lsof: no pwd entry for UID 5
lsof: no pwd entry for UID 5
lsof: no pwd entry for UID 5
COMMAND    PID     USER   FD   TYPE     DEVICE SIZE/OFF   NODE NAME
(unknown) 8816        5  cwd   VDIR 116,196616      512 238080 /root
(unknown) 8816        5  rtd   VDIR 116,196616     1024      2 /
(unknown) 8816        5  txt   VREG 116,196616   111465 225540 /usr/ports/sysutils/lsof/work/lsof_4.50/lsof
(unknown) 8816        5  txt   VREG 116,196616    71976  55658 /usr/libexec/ld-elf.so.1
(unknown) 8816        5  txt   VREG 116,196616    18036 198487 /usr/lib/libkvm.so.2
(unknown) 8816        5  txt   VREG 116,196616   533972 198626 /usr/lib/libc.so.4
(unknown) 8816        5    0                                   no more information
(unknown) 8816        5    1                                   no more information
(unknown) 8816        5    2                                   no more information
(unknown) 8816        5    3                                   no more information
(unknown) 8816        5    4                                   no more information



When I run it with parameters e.g lsof -u root I get no output.
Can somebody help me, where is a problem?

Regards,

Bohus Plucinsky


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000705131418.L20883>