Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Jul 2012 18:08:52 +0100
From:      Chris Rees <crees@FreeBSD.org>
To:        Daniel Braniss <danny@cs.huji.ac.il>, Larry Rosenman <ler@lerctr.org>
Cc:        stable@freebsd.org, Rick Macklem <rmacklem@uoguelph.ca>, David O'Brien <obrien@freebsd.org>
Subject:   Re: lsof needs update
Message-ID:  <CADLo83_YekzhHKxYKMq3jdDEyD7PJwbrtOx6hPiG%2BRp4B7Mayw@mail.gmail.com>
In-Reply-To: <E1Ssd63-000I3t-Tp@kabab.cs.huji.ac.il>
References:  <E1SsW7A-000E2j-Id@kabab.cs.huji.ac.il> <CADLo839KQrBMP_f7pXgHh9_ctAR8EdUp%2BW1=%2B0fhNcJKB4yM9w@mail.gmail.com> <E1Ssd63-000I3t-Tp@kabab.cs.huji.ac.il>

next in thread | previous in thread | raw e-mail | index | archive | help
On 21 July 2012 18:04, Daniel Braniss <danny@cs.huji.ac.il> wrote:
>> On 21 July 2012 10:36, Daniel Braniss <danny@cs.huji.ac.il> wrote:
>> > hi, lsof on freebsd 9.1:
>> > COMMAND  PID USER   FD   TYPE             DEVICE SIZE/OFF NODE NAME
>> > ntpd    1707 root  cwd                                         unknown=
 file
>> > system type: newnfs
>> > ntpd    1707 root  rtd                                         unknown=
 file
>> > system type: newnfs
>> > ntpd    1707 root  txt                                         unknown=
 file
>> > system type: newnfs
>> > ntpd    1707 root  txt                                         unknown=
 file
>> > system type: newnfs
>> > ntpd    1707 root  txt                                         unknown=
 file
>> > system type: newnfs
>> > ntpd    1707 root  txt                                         unknown=
 file
>> > system type: newnfs
>> > ntpd    1707 root  txt                                         unknown=
 file
>> > system type: newnfs
>> > ntpd    1707 root  txt                                         unknown=
 file
>> > system type: newnfs
>> > ntpd    1707 root  txt                                         unknown=
 file
>> > system type: newnfs
>> > ntpd    1707 root  txt                                         unknown=
 file
>> > system type: newnfs
>>
>> Did you recompile lsof when upgrading?
>>
>> Chris
> I compiled it last week, but just in case I did it again, samr result
>
> lsof -v
> lsof version information:
>     revision: 4.86
>     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: Sat Jul 21 20:00:36 IDT 2012
>     constructed by and on: root@pe-00
>     compiler: cc
>     compiler flags: -pipe -fno-strict-aliasing -DHASEFFNLINK=3Di_effnlink=
 -DHASF_VNODE -DHASSBSTATE -DHAS_KVM_VNODE -DHAS_UFS1_2 -DHAS_VM_MEMATTR_T =
-DHAS_CDEV2PRIV -DHAS_NO_SI_UDEV -DHAS_SYS_SX_H -DHAS_ZFS -DHAS_V_LOCKF -DH=
AS_LOCKF_ENTRY -DHAS_NO_6PORT -DHAS_NO_6PPCB -DNEEDS_BOOLEAN_T -DFREEBSDV=
=3D9000 -DHASFDESCFS=3D2 -DHASPSEUDOFS -DHASNULLFS -DHASIPv6 -DHASUTMPX -DH=
AS_STRFTIME -DLSOF_VSTR=3D"9.1-PRERELEASE" -I/usr/src/sys -O2
>     loader flags: -L./lib -llsof  -lkvm
>     system info: FreeBSD pe-00 9.1-PRERELEASE FreeBSD 9.1-PRERELEASE #6: =
Fri Jul 20 17:41:41 IDT 2012 danny@rnd:/home/obj/rnd/r+d/stable/9/sys/HUJI =
amd64
>     Anyone 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: /root/.lsof_pe-00
>     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: /root/.lsof_pe-00

OK, I've copied in the lsof port maintainer too then, so he knows.

Chris



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CADLo83_YekzhHKxYKMq3jdDEyD7PJwbrtOx6hPiG%2BRp4B7Mayw>