Subject: Re: More ELF stuff
To: Ben Harris <bjh21@netbsd.org>
From: Simon Burge <simonb@wasabisystems.com>
List: port-arm26
Date: 02/13/2001 23:14:31
Ben Harris wrote:
> > bash-2.04$ ./ps
> > PID TT STAT TIME COMMAND
> > 207 p0 Is 0:00.56 -bash
> > 21164 p1 Ss 0:01.33 -bash
> > 22138 p1 R+ 0:00.02 ./ps
>
> Coo! I suppose that's just using sysctl(), so the fact that libkvm
> (probably) doesn't work doesn't matter.
Also, all the sysctl's (that return structs) that ps, w and top use have
an 8 byte alignment on all structure members.
Simon.
--
Simon Burge <simonb@wasabisystems.com>
NetBSD CDs, Support and Service: http://www.wasabisystems.com/