freebsd-nq/bin/ps
Attilio Rao 4610a8114d [1] When showing threads, the thread name just appears if the comm
label is choosen as last printout (ucomm suffers of this such bug
	too).  That bug is caused by the fact that the fixed size of
	printout doesn't leave enough space for them to be printed out.
	Implement ucomm and comm commands with a dynamic size lenght for
	buffers.

[2]	On AMD64 architecture pointers don't have enough chars space to
	be shown (8 chars while they need 16).  Fix them by providing
	a variadic space so that it fits well on both 64 and 32 bits
	architectures.

[3]	Check a return value of malloc() that wasn't checked before.

PR:		bin/128841, bin/128842
Reviewed by:	jhb, emaste
Sponsored by:	Sandvine Incorporated
2009-02-26 18:01:07 +00:00
..
extern.h [1] When showing threads, the thread name just appears if the comm 2009-02-26 18:01:07 +00:00
fmt.c Get rid of a cast to '(void) ' on the return of a call to strcpy. 2004-06-22 02:18:29 +00:00
keyword.c [1] When showing threads, the thread name just appears if the comm 2009-02-26 18:01:07 +00:00
Makefile ps(1) is WARNS=6 on all Tier-1 platforms as far as I can test, 2005-01-27 13:42:40 +00:00
nlist.c Remove clause 3 from the UCB licenses. 2004-04-06 20:06:54 +00:00
print.c [1] When showing threads, the thread name just appears if the comm 2009-02-26 18:01:07 +00:00
ps.1 - P_SA has been removed. 2008-03-12 10:01:34 +00:00
ps.c Remove unnessasary cast 2008-07-18 14:55:22 +00:00
ps.h Change "struct varent" to use the standard queue(8) macros, instead of 2004-06-23 23:48:09 +00:00