NetBSD/bin/ps
joerg 1907ec3a61 Switch device database to cdb(5). Rework ttyname(3) and ttyname_r(3) to
depend on new devname_r(3) as heart. Add /dev/pts magic directly to
devname(3). While it can lead to returning non-existing paths, the
behavior is more consistent that way. Drop caching layer in devname(3),
it doesn't buy anything for the common case of having access to the
database. Teach devname(3) proper fallback behavior of scanning /dev.
Create both old-style and new-style database for now in /etc/rc.d/sysdb.
2012-06-03 21:42:44 +00:00
..
extern.h Fix ps(1) and top(1) to show reasonable CPU numbers i.e. cpu_index() provided 2010-05-31 03:18:33 +00:00
fmt.c use __RCSID() 2007-12-12 22:55:42 +00:00
keyword.c Remove uarea swap-out functionality: 2009-10-21 21:11:57 +00:00
Makefile Document non-literal formats 2011-08-14 10:53:16 +00:00
nlist.c Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
print.c Use C89 function definitions 2012-03-20 18:42:28 +00:00
ps.1 Switch device database to cdb(5). Rework ttyname(3) and ttyname_r(3) to 2012-06-03 21:42:44 +00:00
ps.c Push logic to convert a ttyname to a device number into its own 2012-05-07 13:14:31 +00:00
ps.h * When all columns are given null customised headers, the blank header 2006-10-02 17:54:35 +00:00