| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Change `-p' to allow a list of process IDs, and `-t' to allow a list
of terminal names, instead of only a single value for each.
- Add the `-A' option of SUSv3, which is exactly the same as `-ax'.
- Add the `-G gidlist' (group id).
- Allow any of these "selector options" to be specified multiple times,
and have `ps' keep adding to a given list -- instead of replacing the
previously-specified values.
- Fix interactions between selector-options, so that: "If any are
specified, ... ps shall select the processes represented by the
inclusive OR of all the selection-criteria options." (from SUSv3)
- Add a `-X' option, which is the reverse of the `-x' option.
- various minor improvements in parsing and error handling.
This does not get us to match POSIX/SUSv3, but it gets us closer. The
`-g pgidlist', `-R ruserlist' and `-s sidlist' options mentioned in
freebsd-standards are still under debate, so they skipped for now.
It should be true that this introduces no user-visible incompatible
changes, except to support "new stuff" that was not supported before.
|
|
|
|
|
| |
details of libkvm, and just tell what the getbootfile(3) function
will return, by using the text from netstat(1) and dmesg(8).
|
|
|
|
|
|
|
| |
sysctl(3) interface in kvm(3).
- Document the correct default when no -N is specified.
- Remove stale reference to /var/db/kvm_kernel.db.
- Remove stale reference to /var/run/dev.db.
|
| |
|
|
|
|
|
|
|
|
|
| |
to a different file system.
Patch in PR was incorrect.
PR: bin/64430
Submitted by: Samuel Tardieu
MFC after: 3 days
|
| |
|
| |
|
| |
|
|
|
|
| |
are used.
|
| |
|
|
|
|
|
|
|
| |
to strip binaries by specifying it in the STRIPBIN environment
variable honoured by install(1).
MFC after: 3 days
|
|
|
|
|
|
|
|
| |
if no processes were matched. Also sorts the list of 'int's in main, as
long as I had to add another one...
Noticed by: Nate Lawson
MFC after: 10 days
|
|
|
|
|
|
|
|
|
|
|
| |
just print the header (if any) and exit, thus matching the behavior on -stable
and other OS's.
Also adds support for <x> being a comma-separated list of processes, and does
a much better checking for invalid-values of <x>, such as 'ps -p someword'.
Reviewed by: mentioned on freebsd-current
MFC after: 10 days
|
|
|
|
|
|
|
| |
PR: bin/64321
Submitted by: Rodney Ruddock <rodney@interopsystems.com>
MFOpenBSD: rev 1.17
MFC after: 3 days
|
| |
|
|
|
|
|
|
|
|
|
|
| |
using -m and -g switches and "available space" is negative (i.e. when
the file system is already using the root-reserved minimum free space).
Obtained from: Stefan Farfeleder <stefan@fafoe.narf.at>
PR: bin/62536
Submitted by: Peter van Dijk <peter@dataloss.nl>
Approved by: grog (mentor), bde
|
| |
|
| |
|
| |
|
| |
|