CVS commit: src/bin/ps

2021-06-04 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Fri Jun 4 22:39:41 UTC 2021 Modified Files: src/bin/ps: ps.c Log Message: use parsenum like everywhere else in the code. To generate a diff of this commit: cvs rdiff -u -r1.95 -r1.96 src/bin/ps/ps.c Please note that diffs ar

CVS commit: src/bin/ps

2021-06-04 Thread Thomas Klausner
Module Name:src Committed By: wiz Date: Fri Jun 4 08:17:53 UTC 2021 Modified Files: src/bin/ps: ps.c Log Message: Sort options in usage. To generate a diff of this commit: cvs rdiff -u -r1.94 -r1.95 src/bin/ps/ps.c Please note that diffs are not public domain; they are

CVS commit: src/bin/ps

2021-06-04 Thread Thomas Klausner
Module Name:src Committed By: wiz Date: Fri Jun 4 08:16:14 UTC 2021 Modified Files: src/bin/ps: ps.1 Log Message: Sort options in synopsis. To generate a diff of this commit: cvs rdiff -u -r1.111 -r1.112 src/bin/ps/ps.1 Please note that diffs are not public domain; the

CVS commit: src/bin/ps

2021-06-03 Thread Chris Pinnock
Module Name:src Committed By: cjep Date: Fri Jun 4 06:28:42 UTC 2021 Modified Files: src/bin/ps: ps.1 ps.c Log Message: PR standards/11223 Add -G to take a single group argument heading towards POSIX.2 compliance. Patch from jperkin and reviewed by simonb. To generate

CVS commit: src/bin/ps

2021-04-17 Thread Maya Rashish
Module Name:src Committed By: maya Date: Sat Apr 17 08:35:33 UTC 2021 Modified Files: src/bin/ps: print.c Log Message: Remove SCCS workaround. No binary change. To generate a diff of this commit: cvs rdiff -u -r1.134 -r1.135 src/bin/ps/print.c Please note that diffs are

CVS commit: src/bin/ps

2021-04-06 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Tue Apr 6 13:35:52 UTC 2021 Modified Files: src/bin/ps: print.c Log Message: - dedup code - add a safe_strftime() to handle error cases To generate a diff of this commit: cvs rdiff -u -r1.133 -r1.134 src/bin/ps/print.c Pleas

CVS commit: src/bin/ps

2021-04-05 Thread Simon Burge
Module Name:src Committed By: simonb Date: Tue Apr 6 05:13:24 UTC 2021 Modified Files: src/bin/ps: print.c Log Message: Fix the column width calculation for the lstart column if an empty column header is specified. Fixes bug pointed out by Ted Spradley in https://mail-in

CVS commit: src/bin/ps

2021-04-05 Thread Simon Burge
Module Name:src Committed By: simonb Date: Tue Apr 6 04:49:41 UTC 2021 Modified Files: src/bin/ps: Makefile Log Message: We only need -Wno-format-y2k for print.c . To generate a diff of this commit: cvs rdiff -u -r1.29 -r1.30 src/bin/ps/Makefile Please note that diffs

CVS commit: src/bin/ps

2020-08-26 Thread Simon Burge
Module Name:src Committed By: simonb Date: Wed Aug 26 10:54:13 UTC 2020 Modified Files: src/bin/ps: nlist.c Log Message: Don't rely on the USPACE kernel define as a fallback if the vm.uspace sysctl fails. We've got bigger problems if the sysctl fail anyway. To generate

CVS commit: src/bin/ps

2018-09-19 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Wed Sep 19 15:20:39 UTC 2018 Modified Files: src/bin/ps: print.c Log Message: Don't display l_wchan, either there is something in l_wmesg and we display it, or there's nothing and we print "-". To generate a diff of this commit: c

CVS commit: src/bin/ps

2018-04-11 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Wed Apr 11 18:52:29 UTC 2018 Modified Files: src/bin/ps: ps.c Log Message: kvm_geterr() already contains errno, use errx. To generate a diff of this commit: cvs rdiff -u -r1.90 -r1.91 src/bin/ps/ps.c Please note that diffs ar

CVS commit: src/bin/ps

2018-04-11 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Wed Apr 11 18:52:05 UTC 2018 Modified Files: src/bin/ps: keyword.c print.c ps.c Log Message: use EXIT_FAILURE instead of 1 To generate a diff of this commit: cvs rdiff -u -r1.55 -r1.56 src/bin/ps/keyword.c cvs rdiff -u -r1.128

CVS commit: src/bin/ps

2018-01-12 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Fri Jan 12 23:01:14 UTC 2018 Modified Files: src/bin/ps: ps.c Log Message: Fix an unitialized memory read bug in ps(1) rawcpu of type int, is declared inside main(){} and it can be passed as uninitialized to setpinfo(). The setpin

CVS commit: src/bin/ps

2017-12-09 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Sat Dec 9 14:56:54 UTC 2017 Modified Files: src/bin/ps: extern.h keyword.c print.c Log Message: ps: Rename local routine name from uname to usrname This removes symbol name routine clash with libc's uname(3). This allows to build

CVS commit: src/bin/ps

2017-08-27 Thread Thomas Klausner
Module Name:src Committed By: wiz Date: Mon Aug 28 05:57:37 UTC 2017 Modified Files: src/bin/ps: ps.1 Log Message: Bump date for previous. Remove/replace bogus Tn uses. To generate a diff of this commit: cvs rdiff -u -r1.108 -r1.109 src/bin/ps/ps.1 Please note that diff

CVS commit: src/bin/ps

2016-12-26 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Mon Dec 26 20:52:39 UTC 2016 Modified Files: src/bin/ps: ps.c Log Message: simplify logic; there must be no CPU usage when p_swtime is zero To generate a diff of this commit: cvs rdiff -u -r1.87 -r1.88 src/bin/ps/ps.c Please note

CVS commit: src/bin/ps

2016-12-12 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Mon Dec 12 20:35:36 UTC 2016 Modified Files: src/bin/ps: print.c Log Message: Handle functions that use the offset from either kinfo_proc2/kinfo_lwp properly. To generate a diff of this commit: cvs rdiff -u -r1.126 -r1.127 src

CVS commit: src/bin/ps

2016-12-02 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Fri Dec 2 21:59:03 UTC 2016 Modified Files: src/bin/ps: extern.h print.c ps.1 ps.c ps.h Log Message: provide a tree like display with -d, from FreeBSD To generate a diff of this commit: cvs rdiff -u -r1.37 -r1.38 src/bin/ps/e

CVS commit: src/bin/ps

2016-11-28 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Mon Nov 28 08:21:10 UTC 2016 Modified Files: src/bin/ps: extern.h print.c ps.c ps.h Log Message: Calculate CPU usage (pcpu) once per process if it is required. This change significantly improves performance for slow machines when out

CVS commit: src/bin/ps

2016-11-28 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Mon Nov 28 08:19:23 UTC 2016 Modified Files: src/bin/ps: extern.h nlist.c print.c Log Message: for donlist{,_sysctl}: - obtain log_ccpu = log(ccpu) rather than ccpu itself - use common default values and warn users appropriately when

CVS commit: src/bin/ps

2016-11-28 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Mon Nov 28 08:18:27 UTC 2016 Modified Files: src/bin/ps: ps.c Log Message: KNF ok martin To generate a diff of this commit: cvs rdiff -u -r1.84 -r1.85 src/bin/ps/ps.c Please note that diffs are not public domain; they are subject

CVS commit: src/bin/ps

2016-08-10 Thread Sevan Janiyan
Module Name:src Committed By: sevan Date: Wed Aug 10 22:00:56 UTC 2016 Modified Files: src/bin/ps: ps.1 Log Message: Earliest reference in the TUHS archive is v3 Unfortunately only the source code for the compiler is present for that release. The v2 archive is missing the

CVS commit: src/bin/ps

2016-08-10 Thread Sevan Janiyan
Module Name:src Committed By: sevan Date: Wed Aug 10 18:44:50 UTC 2016 Modified Files: src/bin/ps: ps.1 Log Message: Document the version ps first appeared. To generate a diff of this commit: cvs rdiff -u -r1.103 -r1.104 src/bin/ps/ps.1 Please note that diffs are not pu

CVS commit: src/bin/ps

2014-11-14 Thread Joerg Sonnenberger
Module Name:src Committed By: joerg Date: Sat Nov 15 01:58:34 UTC 2014 Modified Files: src/bin/ps: print.c Log Message: Use l_wmesg if the string is not empty. Don't bother checking l_name for nullness. To generate a diff of this commit: cvs rdiff -u -r1.122 -r1.123 src/

CVS commit: src/bin/ps

2014-06-28 Thread David A. Holland
Module Name:src Committed By: dholland Date: Sat Jun 28 17:32:27 UTC 2014 Modified Files: src/bin/ps: ps.c Log Message: Don't print junk errnos. Avoids: % ps -tfoo ps: /dev/ttyfoo: Undefined error: 0 Exit 1 To generate a diff of this commit: cvs rdiff -u -r1.81 -r1

CVS commit: src/bin/ps

2014-04-20 Thread David A. Holland
Module Name:src Committed By: dholland Date: Sun Apr 20 23:31:40 UTC 2014 Modified Files: src/bin/ps: ps.c Log Message: Don't bother using variables whose value is never changed from the initialization value. To generate a diff of this commit: cvs rdiff -u -r1.80 -r1.81

CVS commit: src/bin/ps

2014-04-20 Thread David A. Holland
Module Name:src Committed By: dholland Date: Sun Apr 20 22:48:59 UTC 2014 Modified Files: src/bin/ps: extern.h print.c ps.h Log Message: Use an enum type for PRINTMODE vs. WIDTHMODE. Compiler output diffs have been checked. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/bin/ps

2014-01-15 Thread Thomas Klausner
Module Name:src Committed By: wiz Date: Wed Jan 15 09:24:31 UTC 2014 Modified Files: src/bin/ps: ps.1 Log Message: Bump date for previous. To generate a diff of this commit: cvs rdiff -u -r1.102 -r1.103 src/bin/ps/ps.1 Please note that diffs are not public domain; they

CVS commit: src/bin/ps

2014-01-15 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Wed Jan 15 08:09:10 UTC 2014 Modified Files: src/bin/ps: ps.c Log Message: Make ps -s use LTIME instead of TIME in the default output format. To generate a diff of this commit: cvs rdiff -u -r1.78 -r1.79 src/bin/ps/ps.c Please

CVS commit: src/bin/ps

2014-01-15 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Wed Jan 15 08:07:53 UTC 2014 Modified Files: src/bin/ps: extern.h keyword.c print.c ps.1 Log Message: Add an LTIME column that prints lwp cputime. To generate a diff of this commit: cvs rdiff -u -r1.33 -r1.34 src/bin/ps/extern.

CVS commit: src/bin/ps

2012-05-07 Thread Joerg Sonnenberger
Module Name:src Committed By: joerg Date: Mon May 7 13:14:31 UTC 2012 Modified Files: src/bin/ps: ps.c Log Message: Push logic to convert a ttyname to a device number into its own function. Improve dealing with ptyfs by explicitly handling missing pts/%d entries, if the k

CVS commit: src/bin/ps

2012-04-15 Thread Thomas Klausner
Module Name:src Committed By: wiz Date: Sun Apr 15 21:20:17 UTC 2012 Modified Files: src/bin/ps: ps.1 Log Message: Increase width of table column so it formats more nicely. To generate a diff of this commit: cvs rdiff -u -r1.99 -r1.100 src/bin/ps/ps.1 Please note that d

CVS commit: src/bin/ps

2012-04-15 Thread Thomas Klausner
Module Name:src Committed By: wiz Date: Sun Apr 15 18:10:13 UTC 2012 Modified Files: src/bin/ps: ps.c Log Message: Choose better argument name for `-U' (sync with man page). >From Bug Hunting in email. To generate a diff of this commit: cvs rdiff -u -r1.76 -r1.77 src/bin

CVS commit: src/bin/ps

2012-04-15 Thread Thomas Klausner
Module Name:src Committed By: wiz Date: Sun Apr 15 18:09:50 UTC 2012 Modified Files: src/bin/ps: ps.1 Log Message: - choose better argument name for `-U'; - add argument names for options in man page; - improve wording, punctuation, capitalization. >From Bug Hunting in em

CVS commit: src/bin/ps

2012-03-15 Thread Thomas Klausner
Module Name:src Committed By: wiz Date: Thu Mar 15 15:49:59 UTC 2012 Modified Files: src/bin/ps: ps.1 Log Message: Remove trailing whitespace. To generate a diff of this commit: cvs rdiff -u -r1.97 -r1.98 src/bin/ps/ps.1 Please note that diffs are not public domain; the

CVS commit: src/bin/ps

2012-03-15 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Thu Mar 15 15:43:43 UTC 2012 Modified Files: src/bin/ps: ps.1 Log Message: Fix obsolete example (that referred to letters in process state that are not set anymore), and clarify their meaning. To generate a diff of this commit

CVS commit: src/bin/ps

2012-02-23 Thread David A. Holland
Module Name:src Committed By: dholland Date: Thu Feb 23 21:54:28 UTC 2012 Modified Files: src/bin/ps: ps.1 Log Message: The 'lstart' column uses strftime %c, not %C. Noted by mrg. To generate a diff of this commit: cvs rdiff -u -r1.95 -r1.96 src/bin/ps/ps.1 Please note

CVS commit: src/bin/ps

2012-02-13 Thread Thomas Klausner
Module Name:src Committed By: wiz Date: Mon Feb 13 12:55:28 UTC 2012 Modified Files: src/bin/ps: print.c Log Message: Remove unused variable. >From cppcheck via Henning Petersen in PR 46002. To generate a diff of this commit: cvs rdiff -u -r1.118 -r1.119 src/bin/ps/print

CVS commit: src/bin/ps

2012-01-26 Thread David A. Holland
Module Name:src Committed By: dholland Date: Fri Jan 27 05:59:18 UTC 2012 Modified Files: src/bin/ps: ps.1 Log Message: Minor English improvements for -w, partly from Snader_LB. To generate a diff of this commit: cvs rdiff -u -r1.94 -r1.95 src/bin/ps/ps.1 Please note th

CVS commit: src/bin/ps

2011-06-12 Thread David A. Holland
Module Name:src Committed By: dholland Date: Mon Jun 13 03:42:15 UTC 2011 Modified Files: src/bin/ps: print.c Log Message: When converting from pages to kilobytes, cast the return value of getpagesize() to size_t. For some reason getpagesize() is defined to return int, and

CVS commit: src/bin/ps

2011-02-13 Thread David A. Holland
Module Name:src Committed By: dholland Date: Sun Feb 13 08:34:01 UTC 2011 Modified Files: src/bin/ps: ps.1 Log Message: fix typo, from Randolf Richardson in PR 44559 To generate a diff of this commit: cvs rdiff -u -r1.93 -r1.94 src/bin/ps/ps.1 Please note that diffs are

CVS commit: src/bin/ps

2011-01-22 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sat Jan 22 21:09:52 UTC 2011 Modified Files: src/bin/ps: print.c Log Message: fix previous. To generate a diff of this commit: cvs rdiff -u -r1.116 -r1.117 src/bin/ps/print.c Please note that diffs are not public domain; they

CVS commit: src/bin/ps

2011-01-22 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sat Jan 22 20:55:58 UTC 2011 Modified Files: src/bin/ps: print.c Log Message: Make printing of lwp flags similar to the process one, identifying (O)nproc (K)ernel threads and scheduler (a)ctivations. To generate a diff of this

CVS commit: src/bin/ps

2010-07-28 Thread Nicolas Joly
Module Name:src Committed By: njoly Date: Wed Jul 28 17:39:54 UTC 2010 Modified Files: src/bin/ps: print.c Log Message: Do not check pcpu value against 100.0 but rather 99.95, to properly deal with value rounding. From a...@. To generate a diff of this commit: cvs rdiff

CVS commit: src/bin/ps

2010-07-27 Thread Nicolas Joly
Module Name:src Committed By: njoly Date: Tue Jul 27 12:40:49 UTC 2010 Modified Files: src/bin/ps: print.c Log Message: Make %cpu drop the decimal part when reaching 100%, to stay in the 5 expected columns. To generate a diff of this commit: cvs rdiff -u -r1.113 -r1.114

CVS commit: src/bin/ps

2010-05-14 Thread Joerg Sonnenberger
Module Name:src Committed By: joerg Date: Fri May 14 17:37:06 UTC 2010 Modified Files: src/bin/ps: ps.1 Log Message: Don't break lines in .It, there be dragons in groff. To generate a diff of this commit: cvs rdiff -u -r1.92 -r1.93 src/bin/ps/ps.1 Please note that diffs

CVS commit: src/bin/ps

2010-03-22 Thread Joerg Sonnenberger
Module Name:src Committed By: joerg Date: Mon Mar 22 18:35:09 UTC 2010 Modified Files: src/bin/ps: ps.1 Log Message: Use .In instead of .Aq Pa for header files To generate a diff of this commit: cvs rdiff -u -r1.91 -r1.92 src/bin/ps/ps.1 Please note that diffs are not p

CVS commit: src/bin/ps

2009-08-03 Thread Thomas Klausner
Module Name:src Committed By: wiz Date: Mon Aug 3 22:22:10 UTC 2009 Modified Files: src/bin/ps: ps.1 Log Message: Bump date for previous. To generate a diff of this commit: cvs rdiff -u -r1.88 -r1.89 src/bin/ps/ps.1 Please note that diffs are not public domain; they ar

CVS commit: src/bin/ps

2009-08-03 Thread David Laight
Module Name:src Committed By: dsl Date: Mon Aug 3 20:00:39 UTC 2009 Modified Files: src/bin/ps: ps.1 Log Message: Remove reference to P_SYSTRACE. Fixes PR/41426 (leave defn in sys/sysctl.h since the bit shouldn't be reused!) To generate a diff of this commit: cvs rdiff