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

Robert N. M. Watson rwatson at freebsd.org
Sat Nov 26 18:13:18 UTC 2011


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. :-)

Robert


More information about the svn-src-head mailing list