COW snap-shots for kernel memory. :-))))) Chip
> -----Original Message----- > From: dtrace-discuss-boun...@opensolaris.org [mailto:dtrace-discuss- > boun...@opensolaris.org] On Behalf Of James Carlson > Sent: Friday, December 12, 2008 11:00 AM > To: Nicolas Williams > Cc: dtrace-discuss@opensolaris.org; Lars Bruun-Hansen > Subject: Re: [dtrace-discuss] lsof vs Dtrace > > Nicolas Williams writes: > > But the point is that kmdb scripting and lsof are on the same > footing. > > Yes, it's exactly the same thing by slightly different means. > > The difference, and it's not much, is that a user of mdb looking at > the kernel likely knows that unless the target is stopped (as with mdb > -K), the data structures are volatile, and that the contents of most > of the structures is undocumented territory, so you need to have > cscope open in another window while you try this trick. > > The user of 'lsof', on the other hand, is likely an administrator who > believes he's getting the truth about what his system is actually > doing. Unfortunately, that faith is at least a little misplaced due > to the nature of reading from live kernel memory. > > -- > James Carlson, Solaris Networking > <james.d.carl...@sun.com> > Sun Microsystems / 35 Network Drive 71.232W Vox +1 781 442 > 2084 > MS UBUR02-212 / Burlington MA 01803-2757 42.496N Fax +1 781 442 > 1677 > _______________________________________________ > dtrace-discuss mailing list > dtrace-discuss@opensolaris.org _______________________________________________ dtrace-discuss mailing list dtrace-discuss@opensolaris.org