| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
up always printing "pts".
Submitted by: Michal Mertl <mime at traveller dot cz>
|
| |
|
|
|
|
|
|
| |
the PRI_ITHD case (instead of just printing the digit '1').
Submitted by: Cyrille Lefevre
|
|
|
|
|
|
| |
using it's own version of the same basic algorithm.
Submitted by: part by Cyrille Lefevre, part of it done by me
|
|
|
|
| |
Submitted by: Cyrille Lefevre
|
|
|
|
|
|
| |
is scaled in the same way that "pri" (scheduling priority) is scaled.
Submitted by: Cyrille Lefevre
|
|
|
|
|
|
|
| |
kvm_getprocs() will provide useful information if it can, or *it*
will provide a zero value if it can not find something appropriate.
Submitted by: bde
|
|
|
|
|
|
|
|
| |
emulation environment the process is in. "emul" as a keyword is picked
up from OpenBSD.
PR: bin/65803
Submitted by: Cyrille Lefevre
|
|
|
|
|
|
|
|
|
|
|
| |
Any [standard output] field need not be meaningful in all
implementations. In such a case a hyphen ('-') should be
output in place of the field value
So have the `-O label' option print out the string " -" if the
process has no label.
Approved by: Silence from rwatson and green (when asked in March...)
|
|
|
|
| |
OK'ed by: imp, core
|
|
|
|
|
|
| |
PR: bin/59417
Submitted by: Jan Willem Knopper
This fix by: bde (in the audit-trail of the PR)
|
|
|
|
|
| |
not implemented. This is just handy if you want to ddb the address
some process is waiting on.
|
| |
|
|
|
|
|
|
| |
zombie CPU times are valid. Adjust array size in strftime(3).
Submitted by: Bruce
|
|
|
|
|
|
|
| |
This is what the manual page says ps should do, and what OpenBSD and NetBSD do.
Based on a patch from Ken Stailey.
PR: 27433, 46232
|
|
|
|
|
|
| |
Solaris man page is the POSIX way.
Reviewed by: jmallett
|
|
|
|
|
| |
case to do the right thing and affect exactly one column. This is consistent
with GNU ps(1) in BSD mode, and POLA.
|
|
|
|
| |
and that's what these locals were called before.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
the LOMAC-specific interface (which is being deprecated). The
revised LOMAC using the MAC framework will export levels listable
using this mechanism.
Approved by: re
Obtained from: TrustedBSD Project
Sponsored by: DARPA, Network Associates Laboratories
|
| |
|
|
|
|
|
|
| |
size (which is mostly undefined anyway).
Submitted by: bde
|
|
|
|
|
| |
of a better name, except PINT, but I decided to go with assuming LONG to
be safe, rather than assuming INT.
|
|
|
|
|
|
|
|
| |
ps(1) formatting, using pgtok() to get the value in K, rather than printing
it in pages. This is consistent with behaviour before keyword.c:1.26 (et al)
which exists in STABLE today, and which uses the same metric as VSZ.
Submitted by: bde
|
|
|
|
| |
constant.
|
|
|
|
|
|
|
|
| |
to the Makefile didn't affect this bug because WFORMAT only controls
higher- level format checking (not the -Wformat that is implicit in
-Wall).
Fixed a nearby printf format error that was benign and 3 nearby style bugs.
|
|
|
|
| |
may try to make about the alignment of the dereferenced datum.
|
| |
|
| |
|
|
|
|
| |
startup, right after calling setlocale(3).
|
|
|
|
|
| |
run time (NOT cpu time). cputime() and elapsed() both need to honour SUSv3
now.
|
|
|
|
| |
Clean up some local style bogons.
|
|
|
|
| |
format, since it's BSDlike, and "comm" is actually different.
|
|
|
|
|
|
|
|
|
|
| |
realloc(3)] happens to fail, everywhere in ps(1).
Discussed with: bde, charnier (a while ago)
fmt_argv() can no longer return NULL, so don't bother checking.
Submitted by: bde
|
|
|
|
| |
to discard the const qualifier here.
|
| |
|
|
|
|
|
|
| |
functionality and make it the default.
With additional improvements by: Mark Peek <mp@FreeBSD.org>
|
|
|
|
|
|
|
| |
and user_from_uid to grp.h and pwd.h. Update the man pages.
Submitted by: David Malone
Pointy hat to: imp
|
|
|
|
|
| |
so we can at least tell the difference between being blocked in Giant
and being blocked in some other mutex.
|
|
|
|
| |
cleanup courtesy of automatic checking (lint).
|
|
|
|
|
|
|
|
|
| |
o Old-style K&R declarations have been converted to new C89 style
o register has been removed
o prototype for main() has been removed (gcc3 makes it an error)
o int main(int argc, char *argv[]) is the preferred main definition.
o Attempt to not break style(9) conformance for declarations more than
they already are.
|
|
|
|
| |
Reviewed by: md5
|
|
|
|
|
|
| |
in ls(1) and ps(1).
Sponsored by: DARPA, NAI Labs
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Note ALL MODULES MUST BE RECOMPILED
make the kernel aware that there are smaller units of scheduling than the
process. (but only allow one thread per process at this time).
This is functionally equivalent to teh previousl -current except
that there is a thread associated with each process.
Sorry john! (your next MFC will be a doosie!)
Reviewed by: peter@freebsd.org, dillon@freebsd.org
X-MFC after: ha ha ha ha
|
|
|
|
| |
and/or fix ki_rssize.
|
|
|
|
|
|
| |
than useful. It still hits at least 8 digits. Adjust for reality.
This is still not satisfactory for the alpha if you add "-O paddr".
|
|
|
|
| |
(ki_sflag).
|
| |
|
| |
|
| |
|