Age | Commit message (Collapse) | Author | |
---|---|---|---|
2017-08-29 | Since rev 1.61 of print.c exp(3) and log(3) are not used anymore. | Alexander Bluhm | |
Do not link ps(1) with libm. from miod@; OK millert@ | |||
2017-05-30 | stop reacharound from w(1) to ps(1); no functional change; | Ingo Schwarze | |
diff from bcallah@; OK tedu@ deraadt@ | |||
2017-01-24 | do not need sys/proc.h | Theo de Raadt | |
2016-10-26 | Document LC_CTYPE. | Ingo Schwarze | |
The lack of this entry was reported by Jan Stary <hans at stare dot cz>. OK czarkoff@ jmc@ | |||
2016-10-19 | Make the description of COLUMNS a bit more readable. | Ingo Schwarze | |
Triggered by a different patch from Michal Mazurek. Joint work by tb@, jmc@, and tedu@, but no one ever committed it. | |||
2016-09-23 | Attempt to use stdout, stderr, or stdin terminal widths if they exist. | Anthony J. Bentley | |
This behavior already existed but was unintentionally lost in revision 1.70 of ps.c. ok millert@ tb@ | |||
2016-09-08 | The bug about not displaying exact information because ps can't run | Ted Unangst | |
faster than the system is more of a caveat than a bug. The comment also dates back to ye olden times when the information was collected via multiple kvm reads. The sysctl interface provides a much more consistent snapshot, albeit one that may be outdated by the time it's printed. Reword accordingly. | |||
2016-09-08 | etime isn't just an alias for start. the output format is different. | Ted Unangst | |
diff from Carlin Bingham. ok millert. | |||
2016-09-01 | simplify comment to remove reference to sparc. | Ted Unangst | |
2016-04-25 | remove list item left in previous; | Jason McIntyre | |
2016-04-25 | remove references to systrace | Ted Unangst | |
2016-03-17 | simplify previous; ok bentley | Jason McIntyre | |
2016-03-17 | Switch (non-curses, non-ksh) programs that use COLUMNS to a single idiom. | Anthony J. Bentley | |
Previously behaviors were all over the map. This changes them to use COLUMNS first, and either terminal width or a hardcoded value (typically 80) as appropriate. ok deraadt@; man bits ok jmc@ | |||
2016-01-10 | Partial revert: put back the file fmt.c. | Ingo Schwarze | |
It's no longer used by ps(1), but w(1) reaches around to it. Cluestick applied by deraadt@. | |||
2016-01-10 | UTF-8 support: | Ingo Schwarze | |
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@. | |||
2015-12-30 | rename a few variables/functions to avoid shadowing | Ted Unangst | |
2015-11-11 | fix pledge error message | Theo de Raadt | |
2015-10-25 | strvis directory names in ps | Dmitrij Czarkoff | |
OK stsp@ | |||
2015-10-25 | need "getpw" pledge; spotted by matthieu | Theo de Raadt | |
2015-10-23 | With new pledge "ps" and "vminfo" requests, ps/top/w become possible. | Theo de Raadt | |
2015-10-22 | document tid keyword. | Sebastian Benoit | |
found with and ok bluhm@ | |||
2015-10-09 | Change all tame callers to namechange to pledge(2). | Theo de Raadt | |
2015-07-19 | show tame flag | Theo de Raadt | |
2015-06-29 | After removing the p_swtime from the kernel, ps always printed 0.0 | Alexander Bluhm | |
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@ | |||
2015-05-03 | struct usave is unused, and eproc is gone; delete the former and | Philip Guenther | |
stop referencing them in comments | |||
2015-04-09 | kflag and wflag don't need to be counters; wflag only needs to know if | Okan Demirmen | |
greater than 0 for its one test case. ok deraadt | |||
2015-03-15 | tzfile.h is an internal header that should never have been installed. | Todd C. Miller | |
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@ | |||
2015-02-11 | Document P_CANTSLEEP | Philip Guenther | |
2015-01-16 | Replace <sys/param.h> with <limits.h> and other less dirty headers where | Theo de Raadt | |
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) | |||
2015-01-05 | simplify realloc loop by not using realloc. we don't care about old data, | Ted Unangst | |
so don't make realloc copy it. just allocate what we need. ok deraadt guenther | |||
2014-10-13 | Remove duplicate and misleading vcmp() prototype; | Ingo Schwarze | |
patch from Martin <Natano at natano dot net>; ok deraadt | |||
2014-08-16 | reduce cutoff for "hours only" start times to reduce window of ambiguity. | Ted Unangst | |
ok deraadt | |||
2014-07-16 | zap trailing newlines; "go for it" deraadt | Okan Demirmen | |
2014-07-13 | Update procflags list, add PS_SYSTEM, PS_EMBRYO, PS_ZOMBIE and | Claudio Jeker | |
PS_NOBROADCASTKILL. The resulting table is shifted so far right that a few additional lines had to be wrapped. Not ideal but the best we can do at the moment. | |||
2014-07-08 | sys/user.h can now be substantially gutted. | Theo de Raadt | |
ok guenther | |||
2014-07-04 | Track whether a process is a zombie or not yet fully built via flags | Philip Guenther | |
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@ | |||
2014-06-12 | somehow i missed -vW as extensions; | Jason McIntyre | |
From: Martin Natano | |||
2014-06-05 | Add support for COLUMNS env variable, inspired by FreeBSD but with a dash | Philip Guenther | |
of strtonum() from millert@ sprinkled on top. Also, we've always supported TZ for formatting dates, so say so. ok jmc@ millert@ | |||
2014-05-21 | document which keywords are posix conformant; | Jason McIntyre | |
ok guenther sobrado | |||
2014-05-17 | better description for -A and -a, with help from millert; | Jason McIntyre | |
ok millert sobrado guenther | |||
2014-05-16 | more STANDARDS fleshing; ok sobrado millert | Jason McIntyre | |
2014-05-15 | more for STANDARDS: unsupported lists (noted by guenther) and env vars; | Jason McIntyre | |
2014-05-15 | flesh out STANDARDS; ok guenther | Jason McIntyre | |
2014-05-07 | convert calloc to use reallocarray instead. ok millert | Ted Unangst | |
2014-05-06 | spell NULL as NULL | Ted Unangst | |
2014-03-20 | Move the "minflt" entry to the correct spot in the var array so that all | Lawrence Teo | |
keywords are sorted in ascending order again. This fixes a bug where ps(1) thought that "minflt" was an invalid keyword. This bug was introduced when the "maxrss" keyword was accidentally added to the array after "minflt" instead of before, so the bsearch(3)-based keyword lookup could never find "minflt". ok deraadt@ guenther@ millert@ tedu@ | |||
2014-01-21 | obvious .Pa fixes; found with mandocdb(8) | Ingo Schwarze | |
2014-01-20 | P_NOZOMBIE and P_STOPPED are PS_* process flags now | Philip Guenther | |
2013-12-27 | Document the P_SUSPSINGLE flag bit | Philip Guenther | |
2013-11-21 | add unsigned char casts for specific calls to ctype.h macros. | Theo de Raadt | |
ok guenther step |