Re: lsof
Re: lsof
- Subject: Re: lsof
- From: Terry Lambert <email@hidden>
- Date: Tue, 12 Jun 2007 04:07:09 -0700
On Jun 11, 2007, at 1:37 PM, cristian panciĆ wrote:
After rebuiding the kernel in debug version xnu-792.17.14/BUILD/obj/
RELEASE_PPC
lsof is not giving me any result,just got
lsof: can't read process table
Anyone can pointng' me to the light?
Did you build with the 3.3 compiler or the 4.0 compiler?
If you built from Intel sources for PPC so that you could use the
newer compiler, then you need to recompile lsof.
Specifically, /dev/kmem is disabled by default on Intel and later
builds, and lsof has to use a library that lets it get kernel
information through a procedural rather than a data interface. This
incidently reduces lsof overhead, and also makes the output more like
a snapshot, so that on a per process basis, it's more self-consistent.
You could also search the boot args (there is an argument that will
reenable /dev/kmem for local hacks), but I can't remember what it is
off the top of my head.
-- Terry _______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
- Follow-Ups:
- Re: lsof
- From: "Justin Ko" <email@hidden>
References: | |
| >lsof (From: "cristian panciĆ " <email@hidden>) |