svn commit: r227873 - head/usr.bin/procstat

Kostik Belousov kostikbel at gmail.com
Sat Nov 26 18:16:15 UTC 2011


On Sat, Nov 26, 2011 at 06:13:14PM +0000, Robert N. M. Watson wrote:
> 
> On 26 Nov 2011, at 17:48, Kostik Belousov wrote:
> 
> >> in138:~% procstat -x 2008
> >>  PID COMM             AUXV             VALUE           
> >> 2008 nginx            AT_PHDR          0x400040
> >> 2008 nginx            AT_PHENT         56
> >> 2008 nginx            AT_PHNUM         8
> >> 2008 nginx            AT_PAGESZ        4096
> >> 2008 nginx            AT_FLAGS         0
> >> 2008 nginx            AT_ENTRY         0x40de00
> >> 2008 nginx            AT_BASE          0x800689000
> >> 2008 nginx            AT_EXECPATH      0x7fffffffefca
> >> 2008 nginx            AT_OSRELDATE     1000001
> >> 2008 nginx            AT_CANARY        0x7fffffffef8a
> >> 2008 nginx            AT_CANARYLEN     64
> >> 2008 nginx            AT_NCPUS         2
> >> 2008 nginx            AT_PAGESIZES     0x7fffffffef72
> >> 2008 nginx            AT_PAGESIZESLEN  24
> >> 2008 nginx            AT_STACKPROT     VM_PROT_ALL
> > I like this output much better. The only thing I am unsure of is
> > the pretty-printing of AT_STACKPROT. Might be, change it to
> > EXECUTABLE/NONEXECUTABLE printout.
> 
> On a related note, I wouldn't mind if we stripped AT_ and lower-cased the rest of the field name to make it slightly easier on the eyes. :-)

It would then need some explanation what the names mean.
For my, AT_SOMETHING has a unique meaning, while something does not.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/svn-src-all/attachments/20111126/3cbc24dd/attachment.pgp


More information about the svn-src-all mailing list