From owner-freebsd-stable Wed Jul 5 4:14:33 2000 Delivered-To: freebsd-stable@freebsd.org Received: from noc.nextra.sk (noc.nextra.sk [195.168.1.8]) by hub.freebsd.org (Postfix) with ESMTP id D31E137B8C7; Wed, 5 Jul 2000 04:14:23 -0700 (PDT) (envelope-from plk@noc.nextra.sk) Received: (from plk@localhost) by noc.nextra.sk (8.9.3/8.9.3) id NAA20798; Wed, 5 Jul 2000 13:14:18 +0200 (CEST) (envelope-from plk) Date: Wed, 5 Jul 2000 13:14:18 +0200 From: Bohus Plucinsky 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> Reply-To: plk@in.nextra.sk Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i Organization: NEXTRA, Bratislava, SLOVAKIA X-NCC-RegID: sk.nextra Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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-stable" in the body of the message