Up to [local] / src / bin / ps
Request diff between arbitrary revisions
Default branch: MAIN
Revision 1.24 / (download) - annotate - [select for diffs], Thu Sep 1 21:15:54 2022 UTC (21 months, 1 week ago) by job
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE,
OPENBSD_7_5,
OPENBSD_7_4_BASE,
OPENBSD_7_4,
OPENBSD_7_3_BASE,
OPENBSD_7_3,
OPENBSD_7_2_BASE,
OPENBSD_7_2,
HEAD
Changes since 1.23: +34 -34 lines
Diff to previous 1.23 (colored)
Add forest (-f) mode In -f mode group & display parent/child process relationships using ASCII art. Borrows heavily from Brian Somers' work on FreeBSD ps(1). With input from deraadt@ and tb@ OK benno@ claudio@
Revision 1.23 / (download) - annotate - [select for diffs], Wed Jan 5 04:10:36 2022 UTC (2 years, 5 months ago) by guenther
Branch: MAIN
CVS Tags: OPENBSD_7_1_BASE,
OPENBSD_7_1
Changes since 1.22: +1 -2 lines
Diff to previous 1.22 (colored)
Delete 'emul' keyword: it's been just returned 'native' for a long time ok jsg@ deraadt@
Revision 1.22 / (download) - annotate - [select for diffs], Sat Aug 28 20:54:54 2021 UTC (2 years, 9 months ago) by chrisz
Branch: MAIN
CVS Tags: OPENBSD_7_0_BASE,
OPENBSD_7_0
Changes since 1.21: +3 -1 lines
Diff to previous 1.21 (colored)
/bin/ps: Implement reporting of supplemental groups with help from sthen@ and tim@. OK tim@
Revision 1.21 / (download) - annotate - [select for diffs], Sun Jun 23 17:18:50 2019 UTC (4 years, 11 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_6_9_BASE,
OPENBSD_6_9,
OPENBSD_6_8_BASE,
OPENBSD_6_8,
OPENBSD_6_7_BASE,
OPENBSD_6_7,
OPENBSD_6_6_BASE,
OPENBSD_6_6
Changes since 1.20: +2 -1 lines
Diff to previous 1.20 (colored)
add "ps -o pledge" option, which prints a comma-seperated list of pledges active on each process. So go forth and "ps agux -o pledge" to find pledges which can be improved. (I hesitated adding this before because I am afraid of people enforcing extra-strict pledge in programs without testing all the use cases -- thereby breaking software).
Revision 1.20 / (download) - annotate - [select for diffs], Thu Sep 8 15:11:29 2016 UTC (7 years, 9 months ago) by tedu
Branch: MAIN
CVS Tags: OPENBSD_6_5_BASE,
OPENBSD_6_5,
OPENBSD_6_4_BASE,
OPENBSD_6_4,
OPENBSD_6_3_BASE,
OPENBSD_6_3,
OPENBSD_6_2_BASE,
OPENBSD_6_2,
OPENBSD_6_1_BASE,
OPENBSD_6_1
Changes since 1.19: +2 -1 lines
Diff to previous 1.19 (colored)
etime isn't just an alias for start. the output format is different. diff from Carlin Bingham. ok millert.
Revision 1.19 / (download) - annotate - [select for diffs], Sun Jan 10 14:04:16 2016 UTC (8 years, 5 months ago) by schwarze
Branch: MAIN
CVS Tags: OPENBSD_6_0_BASE,
OPENBSD_6_0,
OPENBSD_5_9_BASE,
OPENBSD_5_9
Changes since 1.18: +1 -3 lines
Diff to previous 1.18 (colored)
UTF-8 support: In a UTF-8 locale, columnate correctly and replace valid, but non- printable characters with the Unicode replacement character U+FFFD. No change in the C/POSIX locale, and no change for invalid bytes. Grand total, the code becomes shorter by almost 30 lines. Feedback from czarkoff@, OK millert@.
Revision 1.18 / (download) - annotate - [select for diffs], Wed Dec 30 14:59:10 2015 UTC (8 years, 5 months ago) by tedu
Branch: MAIN
Changes since 1.17: +2 -2 lines
Diff to previous 1.17 (colored)
rename a few variables/functions to avoid shadowing
Revision 1.17 / (download) - annotate - [select for diffs], Mon Jun 29 15:03:33 2015 UTC (8 years, 11 months ago) by bluhm
Branch: MAIN
CVS Tags: OPENBSD_5_8_BASE,
OPENBSD_5_8
Changes since 1.16: +2 -2 lines
Diff to previous 1.16 (colored)
After removing the p_swtime from the kernel, ps always printed 0.0 as %cpu time. Remove the calculation in ps that includes the process lifetime. Just print the p_pctcpu value, that was done before when ps was called with -C. Keep -C as a no-op for existing scripts. OK millert@
Revision 1.16 / (download) - annotate - [select for diffs], Thu Dec 29 17:13:55 2011 UTC (12 years, 5 months ago) by guenther
Branch: MAIN
CVS Tags: OPENBSD_5_7_BASE,
OPENBSD_5_7,
OPENBSD_5_6_BASE,
OPENBSD_5_6,
OPENBSD_5_5_BASE,
OPENBSD_5_5,
OPENBSD_5_4_BASE,
OPENBSD_5_4,
OPENBSD_5_3_BASE,
OPENBSD_5_3,
OPENBSD_5_2_BASE,
OPENBSD_5_2,
OPENBSD_5_1_BASE,
OPENBSD_5_1
Changes since 1.15: +2 -2 lines
Diff to previous 1.15 (colored)
Suppress the header line if all the field headers have been set to empty. ok millert@
Revision 1.15 / (download) - annotate - [select for diffs], Sun Dec 11 00:16:49 2011 UTC (12 years, 6 months ago) by nicm
Branch: MAIN
Changes since 1.14: +3 -2 lines
Diff to previous 1.14 (colored)
Make ps understand -o cwd using the new KERN_PROC_CWD sysctl. Some help and suggestions from guenther. ok guenther
Revision 1.14 / (download) - annotate - [select for diffs], Sun Apr 10 03:20:58 2011 UTC (13 years, 2 months ago) by guenther
Branch: MAIN
CVS Tags: OPENBSD_5_0_BASE,
OPENBSD_5_0
Changes since 1.13: +32 -32 lines
Diff to previous 1.13 (colored)
Switch back from KERN_PROC2/kinfo_proc2 to KERN_PROC/kinfo_proc now that we've got name we want for the API we want "ZAP!" deraadt@
Revision 1.13 / (download) - annotate - [select for diffs], Tue May 2 05:25:19 2006 UTC (18 years, 1 month ago) by hugh
Branch: MAIN
CVS Tags: OPENBSD_4_9_BASE,
OPENBSD_4_9,
OPENBSD_4_8_BASE,
OPENBSD_4_8,
OPENBSD_4_7_BASE,
OPENBSD_4_7,
OPENBSD_4_6_BASE,
OPENBSD_4_6,
OPENBSD_4_5_BASE,
OPENBSD_4_5,
OPENBSD_4_4_BASE,
OPENBSD_4_4,
OPENBSD_4_3_BASE,
OPENBSD_4_3,
OPENBSD_4_2_BASE,
OPENBSD_4_2,
OPENBSD_4_1_BASE,
OPENBSD_4_1,
OPENBSD_4_0_BASE,
OPENBSD_4_0
Changes since 1.12: +2 -1 lines
Diff to previous 1.12 (colored)
Format nicelevel relative NZERO as other tools do. Surely, says millert.
Revision 1.12 / (download) - annotate - [select for diffs], Fri Jan 7 20:41:13 2005 UTC (19 years, 5 months ago) by otto
Branch: MAIN
CVS Tags: OPENBSD_3_9_BASE,
OPENBSD_3_9,
OPENBSD_3_8_BASE,
OPENBSD_3_8,
OPENBSD_3_7_BASE,
OPENBSD_3_7
Changes since 1.11: +3 -2 lines
Diff to previous 1.11 (colored)
avoid negative memory sizes, ok deraadt@
Revision 1.11 / (download) - annotate - [select for diffs], Tue Sep 14 23:45:14 2004 UTC (19 years, 9 months ago) by deraadt
Branch: MAIN
Changes since 1.10: +2 -2 lines
Diff to previous 1.10 (colored)
rename internal uname() to euname() to avoid libc conflict
Revision 1.10 / (download) - annotate - [select for diffs], Thu Jan 8 18:18:35 2004 UTC (20 years, 5 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_3_6_BASE,
OPENBSD_3_6,
OPENBSD_3_5_BASE,
OPENBSD_3_5
Changes since 1.9: +32 -36 lines
Diff to previous 1.9 (colored)
Convert to kinfo_proc2. The sort order for -u and -m will be different due to a bug fix in the sort routine.
Revision 1.9 / (download) - annotate - [select for diffs], Mon Jun 2 23:32:09 2003 UTC (21 years ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_3_4_BASE,
OPENBSD_3_4
Changes since 1.8: +2 -6 lines
Diff to previous 1.8 (colored)
Remove the advertising clause in the UCB license which Berkeley rescinded 22 July 1999. Proofed by myself and Theo.
Revision 1.8 / (download) - annotate - [select for diffs], Thu Dec 19 21:29:46 2002 UTC (21 years, 5 months ago) by mickey
Branch: MAIN
CVS Tags: OPENBSD_3_3_BASE,
OPENBSD_3_3
Changes since 1.7: +3 -1 lines
Diff to previous 1.7 (colored)
add dsiz and ssiz to accompany tsiz; millert@ ok
Revision 1.7 / (download) - annotate - [select for diffs], Sat Feb 16 21:27:07 2002 UTC (22 years, 3 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_3_2_BASE,
OPENBSD_3_2,
OPENBSD_3_1_BASE,
OPENBSD_3_1
Changes since 1.6: +39 -39 lines
Diff to previous 1.6 (colored)
Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
Revision 1.6 / (download) - annotate - [select for diffs], Wed Dec 5 02:23:59 2001 UTC (22 years, 6 months ago) by art
Branch: MAIN
Changes since 1.5: +2 -2 lines
Diff to previous 1.5 (colored)
Get MAXSLP from kvm/sysctl. It's patchable in the kernel now.
Revision 1.5 / (download) - annotate - [select for diffs], Wed Sep 3 13:51:39 1997 UTC (26 years, 9 months ago) by kstailey
Branch: MAIN
CVS Tags: OPENBSD_3_0_BASE,
OPENBSD_3_0,
OPENBSD_2_9_BASE,
OPENBSD_2_9,
OPENBSD_2_8_BASE,
OPENBSD_2_8,
OPENBSD_2_7_BASE,
OPENBSD_2_7,
OPENBSD_2_6_BASE,
OPENBSD_2_6,
OPENBSD_2_5_BASE,
OPENBSD_2_5,
OPENBSD_2_4_BASE,
OPENBSD_2_4,
OPENBSD_2_3_BASE,
OPENBSD_2_3,
OPENBSD_2_2_BASE,
OPENBSD_2_2
Changes since 1.4: +2 -1 lines
Diff to previous 1.4 (colored)
add ps "emul" option
Revision 1.4 / (download) - annotate - [select for diffs], Fri Aug 22 20:08:13 1997 UTC (26 years, 9 months ago) by kstailey
Branch: MAIN
Changes since 1.3: +3 -1 lines
Diff to previous 1.3 (colored)
XPG4 compatibility for format options: two new options: group and rgroup. three new aliases: etime for start, comm for ucomm, and args for command.
Revision 1.3 / (download) - annotate - [select for diffs], Mon Aug 4 05:37:03 1997 UTC (26 years, 10 months ago) by deraadt
Branch: MAIN
Changes since 1.2: +1 -4 lines
Diff to previous 1.2 (colored)
toast non-NEWVM code; freebsd
Revision 1.2 / (download) - annotate - [select for diffs], Sun Jun 23 14:20:48 1996 UTC (27 years, 11 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_2_1_BASE,
OPENBSD_2_1,
OPENBSD_2_0_BASE,
OPENBSD_2_0
Changes since 1.1: +1 -0 lines
Diff to previous 1.1 (colored)
update rcsid
Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Wed Oct 18 08:37:19 1995 UTC (28 years, 8 months ago) by deraadt
CVS Tags: netbsd_1_1
Changes since 1.1: +0 -0 lines
Diff to previous 1.1 (colored)
initial import of NetBSD tree
Revision 1.1 / (download) - annotate - [select for diffs], Wed Oct 18 08:37:19 1995 UTC (28 years, 8 months ago) by deraadt
Branch: MAIN
Initial revision