| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Reminded by: jhb
|
| |
|
| |
|
|
|
|
| |
Approved by: das (mentor)
|
|
|
|
|
|
|
| |
(session-pointer) info which was dropped from `ps' earlier in 5.x.
PR: bin/59423
Submitted by: Jilles Tjoelker
|
|
|
|
|
|
|
|
| |
same as `ps -tpt', instead of being changed into `ps -tpT'.
PR: bin/52489
Submitted by: Jilles Tjoelker
MFC after: 1 week
|
|
|
|
|
|
|
|
| |
(if trying to match only one real-group or one session-id), now that
those options are implemented in src/sys/kern/kern_proc.c (v1.203).
PR: bin/65803 (a very tiny piece of the PR)
Submitted by: Cyrille Lefevre
|
| |
|
| |
|
| |
|
|
|
|
| |
Minor markup tweaks.
|
| |
|
| |
|
| |
|
|
|
|
| |
unprintable characters have a "width" of -1.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
LC_CTYPE setting) when determining which characters are printable.
This is an often-requested feature.
Use wcwidth() to determine the number of column positions a character
takes up, although there are still a few places left where we assume
1 byte = 1 column position, e.g. line-wrapping when handling the -m option.
The error handling here is somewhat more complicated than usual: we do
our best to show what we can of a filename in the presence of conversion
errors, instead of simply aborting.
|
|
|
|
|
|
|
|
|
| |
- Print a diagnostic if kdumpenv() fails. This can occur due to MAC
restrictions or lack of memory. Catch all kenv(2) failures as well.
- Just of the heck of it, DTRT if the kernel environment size changes
at the wrong time. The old code could fail silently or fail to
null-terminate a buffer if you got exceptionally unlucky.
- Sort and GC the #includes.
|
|
|
|
|
| |
Use 64-bit integer math vs. mixed FP & integer.
Add -g to the usage().
|
| |
|
|
|
|
|
|
| |
Fix spacing before "Mounted on" column in general.
Submitted by: bde
|
|
|
|
|
| |
PR: 19635
Submitted by: cyrille.lefevre@laposte.net
|
|
|
|
| |
the top-level shell instance, too.
|
|
|
|
| |
Submitted by: bde
|
|
|
|
|
|
|
| |
decoration. Further improvements are welcome, but at least this
is a separate of the various modes of operation date has, as well as
sectioning off the two deprecated options for settimeofday(tz) that
don't even apply to actual operation of date as such, anyway.
|
|
|
|
| |
OK'ed by: imp, core
|
| |
|
|
|
|
|
| |
up the PS_ARGS string in revision 1.69 (and which was apparently not
missed by anyone...).
|
|
|
|
|
| |
because some compilers (such as gcc 2.95.4) do not support having an
unnamed union for a field in a struct.
|
|
|
|
|
|
|
|
|
|
| |
will print them (i.e., number of successful calls to acl_get_entry()
exceeds 3). This makes O(1) what was O(num_TYPE_ACCESS_ACLs).
This is a slightly modified version of submitter's patch.
PR: bin/65042
Submitted by: Christian S.J. Peron <maneo@bsdpro.com>
|
|
|
|
|
| |
Noticed by: ru
MFC after: 4 days
|
|
|
|
|
|
| |
Also improve the description of `-L' a little.
MFC after: 4 days
|
|
|
|
|
|
|
| |
this to correctly handle UID's and GID's larger than 2147483647.
Noticed by: bde
MFC after: 1 week
|
|
|
|
|
|
|
| |
this way (although I still think it "looks weird"...).
Requested by: bde
MFC after: 1 week
|
|
|
|
|
| |
Noticed by: bde
MFC after: 1 week
|
|
|
|
|
|
|
|
|
|
|
| |
This corrects a problem of lost-precision for `-r' (sort-by-CPU). Also,
for sort-by-CPU and sort-by-memory, any processes which have the same
value CPU or MEMORY are now sorted by TTY and then (if needed) by pid.
(* - I just added the NODEV checks, after doing some testing of my own)
Submitted by: bde
MFC after: 1 week
|
|
|
|
| |
Noticed by: bde
|
|
|
|
|
|
|
| |
values such as P_CONTROLT and PS_INMEM. But this still won't define
PID_MAX for us, since that is hidden inside of '#ifdef _KERNEL'.
Noticed by: bde
|
|
|
|
| |
Noticed by: bde
|
|
|
|
| |
Suggested by: bde (well, for most of them)
|
|
|
|
|
|
| |
so that non-pointers are listed after pointer-type variables.
Noticed by: bde
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
(if any) and exit, thus matching the behavior on -stable and other OS's.
My earlier attempt to fix this (v1.65) only seemed to work because of a
lucky random value in nentries (which was not being initialized back
when I tested that earlier patch).
|
|
|
|
|
|
| |
PR: bin/59417
Submitted by: Jan Willem Knopper
This fix by: bde (in the audit-trail of the PR)
|
|
|
|
|
| |
a fatal error instead of a minor warning. It is possible that a few
users are used to the previous behavior, but I'm claiming it was a bug.
|
| |
|
|
|
|
|
|
| |
is compiled with LAZY_PS, so that there is only one PS_ARGS string to
modify when changing the option-list. Also get `-f' to show up in the
usage() statement when compiled with LAZY_PS.
|
| |
|
|
|
|
| |
a few new options.
|