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

Mikolaj Golub trociny at freebsd.org
Mon Nov 28 19:51:11 UTC 2011


On Mon, 28 Nov 2011 13:30:11 -0500 John Baldwin wrote:

 JB> On Thursday, November 24, 2011 3:54:06 pm Mikolaj Golub wrote:
 >> Author: trociny
 >> Date: Thu Nov 24 20:54:06 2011
 >> New Revision: 227956
 >> URL: http://svn.freebsd.org/changeset/base/227956
 >> 
 >> Log:
 >>   usr.bin/procstat
 >>   
 >>   Add -l flag to display resource limits.
 >>   
 >>   PR:                bin/161257
 >>   Reviewed by:        kib
 >>   MFC after:        2 weeks

 JB> Thanks for doing this!  Did you consider making the procstat -l output use
 JB> "pretty" output similar to the output of /usr/bin/limits?  For example,
 JB> using "infinity" instead of -1 and using humanize_number() for finite limits
 JB> that are in units of bytes?

Looks like a good idea. I used procfs output as a reference but limits(1)
looks prettier :-). Will do.

-- 
Mikolaj Golub


More information about the svn-src-all mailing list