Up to [local] / src / bin / ps
Request diff between arbitrary revisions
Default branch: MAIN
Revision 1.89 / (download) - annotate - [select for diffs], Sun Apr 28 16:43:15 2024 UTC (6 weeks, 1 day ago) by florian
Branch: MAIN
CVS Tags: HEAD
Changes since 1.88: +5 -1 lines
Diff to previous 1.88 (colored)
gmtime(3) / locatime(3) can fail when timestamps are way off. Add missing error checks to all calls under bin/ Input & OK millert
Revision 1.88 / (download) - annotate - [select for diffs], Sun Jan 28 19:05:33 2024 UTC (4 months, 1 week ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE,
OPENBSD_7_5
Changes since 1.87: +0 -4 lines
Diff to previous 1.87 (colored)
Remove the 'l' and 'L' flag printing in 'STAT' column. These were added to provide visibility of the internal behaviour of pinsyscalls(2) during introduction. These flags remain (less) visible in the "-o procflags" option, as 0x08000000 (PS_PIN) and 0x10000000 (PS_LIBCPIN). That's good enough.
Revision 1.87 / (download) - annotate - [select for diffs], Tue Jan 16 19:08:37 2024 UTC (4 months, 3 weeks ago) by deraadt
Branch: MAIN
Changes since 1.86: +5 -1 lines
Diff to previous 1.86 (colored)
print flag 'l' for base program or ld.so being under pinsyscalls enforcement, and 'L' for libc.so. This flag printing may be deleted once we are entirely confident this is working correctly. ok kettenis
Revision 1.86 / (download) - annotate - [select for diffs], Wed Mar 8 14:47:02 2023 UTC (15 months ago) by tobhe
Branch: MAIN
CVS Tags: OPENBSD_7_4_BASE,
OPENBSD_7_4,
OPENBSD_7_3_BASE,
OPENBSD_7_3
Changes since 1.85: +3 -3 lines
Diff to previous 1.85 (colored)
Fix alignment of command column. print_comm_name() returns an updated length value, not the length difference. ok deraadt@ millert@ guenther@
Revision 1.85 / (download) - annotate - [select for diffs], Sat Jan 7 05:24:59 2023 UTC (17 months ago) by guenther
Branch: MAIN
Changes since 1.84: +16 -3 lines
Diff to previous 1.84 (colored)
Add {get,set}thrname(2) for putting thread names in the kernel and exposed in a new field returned by sysctl(KERN_PROC). Update pthread_{get,set}_name_np(3) to use the syscalls. Show them, when set, in ps -H and top -H output. libc and libpthread minor bumps ok mpi@, mvs@, deraadt@
Revision 1.84 / (download) - annotate - [select for diffs], Tue Sep 20 10:01:51 2022 UTC (20 months, 3 weeks ago) by job
Branch: MAIN
CVS Tags: OPENBSD_7_2_BASE,
OPENBSD_7_2
Changes since 1.83: +2 -2 lines
Diff to previous 1.83 (colored)
Fix line length trimming in -f mode Reported by Christian Weisgerber OK kn@
Revision 1.83 / (download) - annotate - [select for diffs], Thu Sep 1 21:15:54 2022 UTC (21 months, 1 week ago) by job
Branch: MAIN
Changes since 1.82: +74 -36 lines
Diff to previous 1.82 (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.82 / (download) - annotate - [select for diffs], Tue Feb 15 23:16:00 2022 UTC (2 years, 3 months ago) by rob
Branch: MAIN
CVS Tags: OPENBSD_7_1_BASE,
OPENBSD_7_1
Changes since 1.81: +3 -1 lines
Diff to previous 1.81 (colored)
Reintroduce ps state flag 'c' indicating chrooted process (via PS_BITS). Ok deraat@
Revision 1.81 / (download) - annotate - [select for diffs], Mon Feb 14 18:09:08 2022 UTC (2 years, 3 months ago) by rob
Branch: MAIN
Changes since 1.80: +1 -3 lines
Diff to previous 1.80 (colored)
Revert change to ps for displaying chrooted process. Ok deraadt
Revision 1.80 / (download) - annotate - [select for diffs], Mon Feb 7 22:57:47 2022 UTC (2 years, 4 months ago) by rob
Branch: MAIN
Changes since 1.79: +3 -1 lines
Diff to previous 1.79 (colored)
New status flag: 'c' - process is chrooted. Feedback and tweaks from deraadt@ guenther@ Ok bluhm@ deraadt@
Revision 1.79 / (download) - annotate - [select for diffs], Wed Jan 5 04:10:36 2022 UTC (2 years, 5 months ago) by guenther
Branch: MAIN
Changes since 1.78: +1 -11 lines
Diff to previous 1.78 (colored)
Delete 'emul' keyword: it's been just returned 'native' for a long time ok jsg@ deraadt@
Revision 1.78 / (download) - annotate - [select for diffs], Wed Dec 1 18:21:23 2021 UTC (2 years, 6 months ago) by deraadt
Branch: MAIN
Changes since 1.77: +3 -2 lines
Diff to previous 1.77 (colored)
further improvements in sys/param.h annotation and removal.
Revision 1.77 / (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.76: +43 -1 lines
Diff to previous 1.76 (colored)
/bin/ps: Implement reporting of supplemental groups with help from sthen@ and tim@. OK tim@
Revision 1.76 / (download) - annotate - [select for diffs], Mon Apr 5 00:51:14 2021 UTC (3 years, 2 months ago) by kn
Branch: MAIN
CVS Tags: OPENBSD_6_9_BASE,
OPENBSD_6_9
Changes since 1.75: +2 -3 lines
Diff to previous 1.75 (colored)
Remove unused variables From Daniel Kovacic <daniel dot kovacic at unbugd dot com>, thanks! No object change.
Revision 1.75 / (download) - annotate - [select for diffs], Mon Aug 3 00:09:01 2020 UTC (3 years, 10 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_6_8_BASE,
OPENBSD_6_8
Changes since 1.74: +2 -2 lines
Diff to previous 1.74 (colored)
clang10 identifies an argv[] comparison against '\0' instead of NULL, it results in the same, but is incorrect. ok millert
Revision 1.74 / (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_7_BASE,
OPENBSD_6_7,
OPENBSD_6_6_BASE,
OPENBSD_6_6
Changes since 1.73: +25 -1 lines
Diff to previous 1.73 (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.73 / (download) - annotate - [select for diffs], Sun Jun 23 16:57:02 2019 UTC (4 years, 11 months ago) by deraadt
Branch: MAIN
Changes since 1.72: +7 -1 lines
Diff to previous 1.72 (colored)
Export unveil state so that ps(8) can show it. Two new status flags, you'll see one, or neither. 'u' - process installed unveils, but not yet locked with unveil(0,0) or pledge w/o "unveil" 'U' - process has installed unveils, and locked. ok rob
Revision 1.72 / (download) - annotate - [select for diffs], Sun Mar 24 04:55:01 2019 UTC (5 years, 2 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_6_5_BASE,
OPENBSD_6_5
Changes since 1.71: +3 -2 lines
Diff to previous 1.71 (colored)
16 chars is not enough for the maximum reach major() and minor() could have, so let's formally expand the buffer to what it needs to be.
Revision 1.71 / (download) - annotate - [select for diffs], Tue Feb 5 02:17:32 2019 UTC (5 years, 4 months ago) by deraadt
Branch: MAIN
Changes since 1.70: +2 -2 lines
Diff to previous 1.70 (colored)
dev_t is signed to permit passing -1 as an invalid condition, but the decomposition into major and minor is unsigned, so we should print them with %u instead of %d. ok guenther
Revision 1.70 / (download) - annotate - [select for diffs], Tue Jun 12 01:58:05 2018 UTC (6 years ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_6_4_BASE,
OPENBSD_6_4
Changes since 1.69: +7 -6 lines
Diff to previous 1.69 (colored)
handle the seperation of kvm_getenvv() and kvm_getargv() more cleanly ok kettenis, plus a fix from tb
Revision 1.69 / (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_3_BASE,
OPENBSD_6_3,
OPENBSD_6_2_BASE,
OPENBSD_6_2,
OPENBSD_6_1_BASE,
OPENBSD_6_1
Changes since 1.68: +45 -1 lines
Diff to previous 1.68 (colored)
etime isn't just an alias for start. the output format is different. diff from Carlin Bingham. ok millert.
Revision 1.68 / (download) - annotate - [select for diffs], Thu Sep 1 09:44:06 2016 UTC (7 years, 9 months ago) by tedu
Branch: MAIN
Changes since 1.67: +2 -4 lines
Diff to previous 1.67 (colored)
simplify comment to remove reference to sparc.
Revision 1.67 / (download) - annotate - [select for diffs], Mon Apr 25 19:12:07 2016 UTC (8 years, 1 month ago) by tedu
Branch: MAIN
CVS Tags: OPENBSD_6_0_BASE,
OPENBSD_6_0
Changes since 1.66: +1 -3 lines
Diff to previous 1.66 (colored)
remove references to systrace
Revision 1.66 / (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_5_9_BASE,
OPENBSD_5_9
Changes since 1.65: +59 -64 lines
Diff to previous 1.65 (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.65 / (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.64: +2 -2 lines
Diff to previous 1.64 (colored)
rename a few variables/functions to avoid shadowing
Revision 1.64 / (download) - annotate - [select for diffs], Sun Oct 25 15:26:53 2015 UTC (8 years, 7 months ago) by czarkoff
Branch: MAIN
Changes since 1.63: +7 -4 lines
Diff to previous 1.63 (colored)
strvis directory names in ps OK stsp@
Revision 1.63 / (download) - annotate - [select for diffs], Fri Oct 9 01:37:06 2015 UTC (8 years, 8 months ago) by deraadt
Branch: MAIN
Changes since 1.62: +3 -3 lines
Diff to previous 1.62 (colored)
Change all tame callers to namechange to pledge(2).
Revision 1.62 / (download) - annotate - [select for diffs], Sun Jul 19 19:26:00 2015 UTC (8 years, 10 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_5_8_BASE,
OPENBSD_5_8
Changes since 1.61: +3 -1 lines
Diff to previous 1.61 (colored)
show tame flag
Revision 1.61 / (download) - annotate - [select for diffs], Mon Jun 29 15:03:33 2015 UTC (8 years, 11 months ago) by bluhm
Branch: MAIN
Changes since 1.60: +2 -18 lines
Diff to previous 1.60 (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.60 / (download) - annotate - [select for diffs], Sun Mar 15 00:41:27 2015 UTC (9 years, 2 months ago) by millert
Branch: MAIN
Changes since 1.59: +4 -2 lines
Diff to previous 1.59 (colored)
tzfile.h is an internal header that should never have been installed. What's worse, the tzfile.h that gets installed is over 20 years old and doesn't match the real tzfile.h in libc/time. This makes the tree safe for /usr/include/tzfile.h removal. The TM_YEAR_BASE define has been moved to time.h temporarily until its usage is replaced by 1900 in the tree. Actual removal of tzfile.h is pending a ports build. Based on a diff from deraadt@
Revision 1.59 / (download) - annotate - [select for diffs], Fri Jan 16 06:39:32 2015 UTC (9 years, 4 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_5_7_BASE,
OPENBSD_5_7
Changes since 1.58: +6 -4 lines
Diff to previous 1.58 (colored)
Replace <sys/param.h> with <limits.h> and other less dirty headers where possible. Annotate <sys/param.h> lines with their current reasons. Switch to PATH_MAX, NGROUPS_MAX, HOST_NAME_MAX+1, LOGIN_NAME_MAX, etc. Change MIN() and MAX() to local definitions of MINIMUM() and MAXIMUM() where sensible to avoid pulling in the pollution. These are the files confirmed through binary verification. ok guenther, millert, doug (helped with the verification protocol)
Revision 1.58 / (download) - annotate - [select for diffs], Sat Aug 16 16:38:38 2014 UTC (9 years, 9 months ago) by tedu
Branch: MAIN
Changes since 1.57: +2 -2 lines
Diff to previous 1.57 (colored)
reduce cutoff for "hours only" start times to reduce window of ambiguity. ok deraadt
Revision 1.57 / (download) - annotate - [select for diffs], Fri Jul 4 05:58:31 2014 UTC (9 years, 11 months ago) by guenther
Branch: MAIN
CVS Tags: OPENBSD_5_6_BASE,
OPENBSD_5_6
Changes since 1.56: +4 -4 lines
Diff to previous 1.56 (colored)
Track whether a process is a zombie or not yet fully built via flags PS_{ZOMBIE,EMBRYO} on the process instead of peeking into the process's thread data. This eliminates the need for the thread-level SDEAD state. Change kvm_getprocs() (both the sysctl() and kvm backends) to report the "most active" scheduler state for the process's threads. tweaks kettenis@ feedback and ok matthew@
Revision 1.56 / (download) - annotate - [select for diffs], Mon Nov 11 23:07:15 2013 UTC (10 years, 7 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_5_5_BASE,
OPENBSD_5_5
Changes since 1.55: +1 -5 lines
Diff to previous 1.55 (colored)
remove totally excessive set of #include
Revision 1.55 / (download) - annotate - [select for diffs], Sun Sep 22 17:28:34 2013 UTC (10 years, 8 months ago) by guenther
Branch: MAIN
Changes since 1.54: +4 -4 lines
Diff to previous 1.54 (colored)
Stop merging the per-thread and per-process flags when reporting them via sysctl(KERN_PROC). In struct kinfo_proc the per-process flags move to p_psflags, leaving the per-thread flags in p_flags. Flag descriptions in ps(1) updated to be less obtuse. discussed with matthew@ some time ago; ok jca@, manpage bits ok jmc@
Revision 1.54 / (download) - annotate - [select for diffs], Sat Mar 23 21:12:31 2013 UTC (11 years, 2 months ago) by tedu
Branch: MAIN
CVS Tags: OPENBSD_5_4_BASE,
OPENBSD_5_4
Changes since 1.53: +2 -2 lines
Diff to previous 1.53 (colored)
wchan is no longer exposed, just check if wmesg is not empty. (wmesg hasn't itself been a pointer since conversion to kinfo_proc.) noticed by sthen. ok deraadt jsing millert sthen
Revision 1.53 / (download) - annotate - [select for diffs], Tue Jul 10 17:24:45 2012 UTC (11 years, 11 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_5_3_BASE,
OPENBSD_5_3,
OPENBSD_5_2_BASE,
OPENBSD_5_2
Changes since 1.52: +2 -5 lines
Diff to previous 1.52 (colored)
Accounting for page tables, USPACE, and whatever else... as part of the per-process %mem is not going to happen. In particular, we want USPACE to be removed from param.h
Revision 1.52 / (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_1_BASE,
OPENBSD_5_1
Changes since 1.51: +3 -1 lines
Diff to previous 1.51 (colored)
Suppress the header line if all the field headers have been set to empty. ok millert@
Revision 1.51 / (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.50: +16 -1 lines
Diff to previous 1.50 (colored)
Make ps understand -o cwd using the new KERN_PROC_CWD sysctl. Some help and suggestions from guenther. ok guenther
Revision 1.50 / (download) - annotate - [select for diffs], Thu Oct 13 01:15:04 2011 UTC (12 years, 8 months ago) by guenther
Branch: MAIN
Changes since 1.49: +2 -3 lines
Diff to previous 1.49 (colored)
Remove support for systems that lack CPUs. (i.e., stop looking up HW_NCPU when the only test was whether it's non-zero) ok millert@
Revision 1.49 / (download) - annotate - [select for diffs], Sun Sep 25 00:32:47 2011 UTC (12 years, 8 months ago) by guenther
Branch: MAIN
Changes since 1.48: +2 -2 lines
Diff to previous 1.48 (colored)
Restore correct display of the 'V' flag on the parent in vfork()
Revision 1.48 / (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.47: +34 -34 lines
Diff to previous 1.47 (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.47 / (download) - annotate - [select for diffs], Sat Mar 12 04:54:28 2011 UTC (13 years, 3 months ago) by guenther
Branch: MAIN
Changes since 1.46: +2 -11 lines
Diff to previous 1.46 (colored)
Replace the old, broken KERN_PROC ABI and its matching functions in libkvm with the stable-ABI versions that are currently named KERN_PROC2, kvm_get{proc,argv,envv}2(). The latter names and symbols will continue to be supported for a few releases. Committing now that they ports people have had a couple releases to update pkgs that usd the old functions
Revision 1.46 / (download) - annotate - [select for diffs], Sun Feb 14 00:17:14 2010 UTC (14 years, 3 months ago) by guenther
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
Changes since 1.45: +9 -9 lines
Diff to previous 1.45 (colored)
Avoid overflow and wraparound in memory fields by using unsigned long long arithmetic and formats. Use PTRWIDTH for the column size for various address fields. ok otto@ tedu@
Revision 1.45 / (download) - annotate - [select for diffs], Tue Oct 27 23:59:22 2009 UTC (14 years, 7 months ago) by deraadt
Branch: MAIN
Changes since 1.44: +1 -9 lines
Diff to previous 1.44 (colored)
rcsid[] and sccsid[] and copyright[] are essentially unmaintained (and unmaintainable). these days, people use source. these id's do not provide any benefit, and do hurt the small install media (the 33,000 line diff is essentially mechanical) ok with the idea millert, ok dms
Revision 1.44 / (download) - annotate - [select for diffs], Sat Mar 8 19:20:12 2008 UTC (16 years, 3 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_4_6_BASE,
OPENBSD_4_6,
OPENBSD_4_5_BASE,
OPENBSD_4_5,
OPENBSD_4_4_BASE,
OPENBSD_4_4
Changes since 1.43: +5 -11 lines
Diff to previous 1.43 (colored)
Instead of calling donlist() in the format print routines, call it a single time before we print anything, if needed. Uses a flag to specify which formats need the kernel info donlist() provides. OK deraadt@
Revision 1.43 / (download) - annotate - [select for diffs], Tue Nov 6 10:22:29 2007 UTC (16 years, 7 months ago) by chl
Branch: MAIN
CVS Tags: OPENBSD_4_3_BASE,
OPENBSD_4_3
Changes since 1.42: +3 -3 lines
Diff to previous 1.42 (colored)
fix format string ok ray@ gilles@
Revision 1.42 / (download) - annotate - [select for diffs], Wed Nov 29 12:34:19 2006 UTC (17 years, 6 months ago) by miod
Branch: MAIN
CVS Tags: OPENBSD_4_2_BASE,
OPENBSD_4_2,
OPENBSD_4_1_BASE,
OPENBSD_4_1
Changes since 1.41: +4 -10 lines
Diff to previous 1.41 (colored)
Do not test for processes being swapped out since this can't happen anymore.
Revision 1.41 / (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_0_BASE,
OPENBSD_4_0
Changes since 1.40: +10 -2 lines
Diff to previous 1.40 (colored)
Format nicelevel relative NZERO as other tools do. Surely, says millert.
Revision 1.40 / (download) - annotate - [select for diffs], Fri Mar 10 11:31:41 2006 UTC (18 years, 3 months ago) by moritz
Branch: MAIN
Changes since 1.39: +3 -2 lines
Diff to previous 1.39 (colored)
add missing break; found by lint ok deraadt@
Revision 1.39 / (download) - annotate - [select for diffs], Fri Mar 10 06:32:00 2006 UTC (18 years, 3 months ago) by deraadt
Branch: MAIN
Changes since 1.38: +28 -9 lines
Diff to previous 1.38 (colored)
1.36 and onwards did not print extra spaces, but sometimes skipped spaces. we need a proper flag to keep track of space insert requirements thanks for further testing by millert
Revision 1.38 / (download) - annotate - [select for diffs], Wed Jul 6 21:41:24 2005 UTC (18 years, 11 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_3_9_BASE,
OPENBSD_3_9,
OPENBSD_3_8_BASE,
OPENBSD_3_8
Changes since 1.37: +4 -3 lines
Diff to previous 1.37 (colored)
Only print a space separating argv and the real command (in parens) when argv is non-NULL and empty. OK deraadt@ and fgsch@.
Revision 1.37 / (download) - annotate - [select for diffs], Fri Jan 14 16:44:14 2005 UTC (19 years, 5 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_3_7_BASE,
OPENBSD_3_7
Changes since 1.36: +3 -2 lines
Diff to previous 1.36 (colored)
bring back the space before (cmd); ok millert aaron
Revision 1.36 / (download) - annotate - [select for diffs], Mon Dec 20 15:10:46 2004 UTC (19 years, 5 months ago) by aaron
Branch: MAIN
Changes since 1.35: +6 -4 lines
Diff to previous 1.35 (colored)
Don't print an unnecessary trailing space character at the end of command argument display. This makes it easier to grep ps output for 'foo$', instead of having to use 'foo *$'. millert@ ok
Revision 1.35 / (download) - annotate - [select for diffs], Wed Nov 24 19:17:10 2004 UTC (19 years, 6 months ago) by deraadt
Branch: MAIN
Changes since 1.34: +16 -4 lines
Diff to previous 1.34 (colored)
on MP machines, in STAT field, add /# where # is the cpu number so that you can see processes move around; ok pval millert
Revision 1.34 / (download) - annotate - [select for diffs], Thu Nov 18 15:10:24 2004 UTC (19 years, 6 months ago) by markus
Branch: MAIN
Changes since 1.33: +3 -2 lines
Diff to previous 1.33 (colored)
handle SONPROC; ok aaron, deraadt, krw
Revision 1.33 / (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.32: +3 -3 lines
Diff to previous 1.32 (colored)
rename internal uname() to euname() to avoid libc conflict
Revision 1.32 / (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.31: +116 -190 lines
Diff to previous 1.31 (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.31 / (download) - annotate - [select for diffs], Wed Jun 11 23:42:12 2003 UTC (21 years ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_3_4_BASE,
OPENBSD_3_4
Changes since 1.30: +38 -105 lines
Diff to previous 1.30 (colored)
ansification, art ok
Revision 1.30 / (download) - annotate - [select for diffs], Mon Jun 2 23:32:09 2003 UTC (21 years ago) by millert
Branch: MAIN
Changes since 1.29: +3 -7 lines
Diff to previous 1.29 (colored)
Remove the advertising clause in the UCB license which Berkeley rescinded 22 July 1999. Proofed by myself and Theo.
Revision 1.29 / (download) - annotate - [select for diffs], Sun Jan 5 01:39:24 2003 UTC (21 years, 5 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_3_3_BASE,
OPENBSD_3_3
Changes since 1.28: +4 -2 lines
Diff to previous 1.28 (colored)
work around a very rare div by 0 that should not happen, but can happen on non-IEEE systems apparently. like the vax. this is in the same area of code that has caused us problems with the 68060/68040 before; very curious, and i don't know why.
Revision 1.28 / (download) - annotate - [select for diffs], Thu Dec 19 21:29:46 2002 UTC (21 years, 5 months ago) by mickey
Branch: MAIN
Changes since 1.27: +24 -2 lines
Diff to previous 1.27 (colored)
add dsiz and ssiz to accompany tsiz; millert@ ok
Revision 1.27 / (download) - annotate - [select for diffs], Tue Jun 18 03:21:33 2002 UTC (21 years, 11 months ago) by provos
Branch: MAIN
CVS Tags: OPENBSD_3_2_BASE,
OPENBSD_3_2
Changes since 1.26: +4 -2 lines
Diff to previous 1.26 (colored)
add x flag for systraced processes; mentioned by christos@netbsd document missing flags from proc.h
Revision 1.26 / (download) - annotate - [select for diffs], Tue Mar 19 23:54:41 2002 UTC (22 years, 2 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_3_1_BASE,
OPENBSD_3_1
Changes since 1.25: +5 -4 lines
Diff to previous 1.25 (colored)
Fix unitialized variable in non-setgid case; Gregory Steuck
Revision 1.25 / (download) - annotate - [select for diffs], Sat Feb 16 21:27:07 2002 UTC (22 years, 3 months ago) by millert
Branch: MAIN
Changes since 1.24: +3 -3 lines
Diff to previous 1.24 (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.24 / (download) - annotate - [select for diffs], Sun Feb 10 21:07:00 2002 UTC (22 years, 4 months ago) by naddy
Branch: MAIN
Changes since 1.23: +4 -8 lines
Diff to previous 1.23 (colored)
remove pre-ansi, SCCS workaround cruft; ok deraadt@
Revision 1.23 / (download) - annotate - [select for diffs], Wed Jan 30 17:52:40 2002 UTC (22 years, 4 months ago) by mickey
Branch: MAIN
Changes since 1.22: +11 -9 lines
Diff to previous 1.22 (colored)
right, just check more for nulls; from Dan Harnett <danh@wzrd.com>
Revision 1.22 / (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.21: +3 -3 lines
Diff to previous 1.21 (colored)
Get MAXSLP from kvm/sysctl. It's patchable in the kernel now.
Revision 1.21 / (download) - annotate - [select for diffs], Sat Dec 1 19:01:45 2001 UTC (22 years, 6 months ago) by deraadt
Branch: MAIN
Changes since 1.20: +3 -3 lines
Diff to previous 1.20 (colored)
wrong printf spec for a field
Revision 1.20 / (download) - annotate - [select for diffs], Wed Nov 7 08:23:08 2001 UTC (22 years, 7 months ago) by miod
Branch: MAIN
Changes since 1.19: +3 -3 lines
Diff to previous 1.19 (colored)
Doh, bring the correct header, this is userland...
Revision 1.19 / (download) - annotate - [select for diffs], Wed Nov 7 08:19:43 2001 UTC (22 years, 7 months ago) by miod
Branch: MAIN
Changes since 1.18: +3 -3 lines
Diff to previous 1.18 (colored)
Use uvm headers.
Revision 1.18 / (download) - annotate - [select for diffs], Mon Aug 13 22:41:16 2001 UTC (22 years, 10 months ago) by heko
Branch: MAIN
CVS Tags: OPENBSD_3_0_BASE,
OPENBSD_3_0
Changes since 1.17: +1 -1 lines
Diff to previous 1.17 (colored)
Typo in comments: 'interuptable' => 'interruptible' millert@ ok
Revision 1.17 / (download) - annotate - [select for diffs], Mon Apr 30 09:37:11 2001 UTC (23 years, 1 month ago) by art
Branch: MAIN
Changes since 1.16: +3 -3 lines
Diff to previous 1.16 (colored)
CLSIZE is 1 on all archs and will go away soon.
Revision 1.16 / (download) - annotate - [select for diffs], Sun Jun 18 17:59:53 2000 UTC (23 years, 11 months ago) by niklas
Branch: MAIN
CVS Tags: OPENBSD_2_9_BASE,
OPENBSD_2_9,
OPENBSD_2_8_BASE,
OPENBSD_2_8
Changes since 1.15: +12 -6 lines
Diff to previous 1.15 (colored)
Mark kernel threads as system processes. Make ps hide them by default, show them with -k. Do not try to show RSS based values for them as they mess up column alignment. vmstat -f now shows kernel threads separately from rforks too.
Revision 1.15 / (download) - annotate - [select for diffs], Thu May 4 17:26:25 2000 UTC (24 years, 1 month ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_2_7_BASE,
OPENBSD_2_7
Changes since 1.14: +10 -3 lines
Diff to previous 1.14 (colored)
avoid IEEE underflow in exp(), shows up most on 68060 FPE which is precise; any math wizards want to help me clean this up?
Revision 1.14 / (download) - annotate - [select for diffs], Sun Nov 30 05:43:12 1997 UTC (26 years, 6 months ago) by deraadt
Branch: MAIN
CVS Tags: 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
Changes since 1.13: +4 -2 lines
Diff to previous 1.13 (colored)
oh yeah, we are min() clean
Revision 1.13 / (download) - annotate - [select for diffs], Sun Nov 30 05:41:23 1997 UTC (26 years, 6 months ago) by deraadt
Branch: MAIN
Changes since 1.12: +16 -9 lines
Diff to previous 1.12 (colored)
deal with unterminated e_login and e_wmesg
Revision 1.12 / (download) - annotate - [select for diffs], Thu Nov 6 15:59:56 1997 UTC (26 years, 7 months ago) by kstailey
Branch: MAIN
Changes since 1.11: +7 -5 lines
Diff to previous 1.11 (colored)
fix ps(1) LIM column
Revision 1.11 / (download) - annotate - [select for diffs], Wed Nov 5 18:22:56 1997 UTC (26 years, 7 months ago) by deraadt
Branch: MAIN
Changes since 1.10: +6 -3 lines
Diff to previous 1.10 (colored)
print "-" instead of "" for login name; dada@sbox.tu-graz.ac.at
Revision 1.10 / (download) - annotate - [select for diffs], Fri Sep 12 04:41:52 1997 UTC (26 years, 9 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_2_2_BASE,
OPENBSD_2_2
Changes since 1.9: +3 -2 lines
Diff to previous 1.9 (colored)
#include <grp.h>
Revision 1.9 / (download) - annotate - [select for diffs], Wed Sep 3 13:51:41 1997 UTC (26 years, 9 months ago) by kstailey
Branch: MAIN
Changes since 1.8: +15 -2 lines
Diff to previous 1.8 (colored)
add ps "emul" option
Revision 1.8 / (download) - annotate - [select for diffs], Mon Sep 1 18:30:19 1997 UTC (26 years, 9 months ago) by deraadt
Branch: MAIN
Changes since 1.7: +4 -4 lines
Diff to previous 1.7 (colored)
i am bored enough to fix terminal space/tab uglies
Revision 1.7 / (download) - annotate - [select for diffs], Fri Aug 22 20:08:14 1997 UTC (26 years, 9 months ago) by kstailey
Branch: MAIN
Changes since 1.6: +26 -2 lines
Diff to previous 1.6 (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.6 / (download) - annotate - [select for diffs], Mon Aug 4 05:37:04 1997 UTC (26 years, 10 months ago) by deraadt
Branch: MAIN
Changes since 1.5: +2 -89 lines
Diff to previous 1.5 (colored)
toast non-NEWVM code; freebsd
Revision 1.5 / (download) - annotate - [select for diffs], Fri Aug 1 09:48:44 1997 UTC (26 years, 10 months ago) by deraadt
Branch: MAIN
Changes since 1.4: +3 -3 lines
Diff to previous 1.4 (colored)
for lstart, use %c not %C; tetsuya@secom-sis.co.jp
Revision 1.4 / (download) - annotate - [select for diffs], Wed Jul 23 19:18:19 1997 UTC (26 years, 10 months ago) by kstailey
Branch: MAIN
Changes since 1.3: +4 -4 lines
Diff to previous 1.3 (colored)
tabify
Revision 1.3 / (download) - annotate - [select for diffs], Sat Dec 14 12:18:09 1996 UTC (27 years, 6 months ago) by mickey
Branch: MAIN
CVS Tags: OPENBSD_2_1_BASE,
OPENBSD_2_1
Changes since 1.2: +7 -6 lines
Diff to previous 1.2 (colored)
-Wall'ing.
Revision 1.2 / (download) - annotate - [select for diffs], Sun Jun 23 14:20:50 1996 UTC (27 years, 11 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_2_0_BASE,
OPENBSD_2_0
Changes since 1.1: +2 -1 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