Age | Commit message (Collapse) | Author |
|
Add credits for leave(1) and w(1); update credit for script(1).
Supported by the Spinellis repo and CSRG SCCS logs.
ok brynet millert jca jmc schwarze
|
|
and put it to use in userspace in lieu of the kern.boottime
sysctl.
Its absolute value is the time that has elapsed since the
system booted, i.e., the system uptime.
Use in top(1), w(1), and snmpd(8) eliminates a race with
settimeofday(2), adjtime(2), etc. inherent to deriving the
system uptime via the kern.boottime sysctl.
Product of a great deal of discussion/revision with jca@, tb@,
and guenther@.
ok tb@ jca@ guenther@ dlg@ mlarkin@ tom@
|
|
systems too.
adjust uptime.1 while here as pointed out by martijn@
ok tb@ jca@ martijn@
|
|
Prompted by another diff from Klemens Nanni
|
|
diff from bcallah@; OK tedu@ deraadt@
|
|
problem noticed by Raf Czlonka
|
|
|
|
for taming the string manipulation in the later half of the program.
|
|
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@
|
|
"and" and "or" to join sentence clauses, and you can use commas, but both hinders
reading;
|
|
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)
|
|
troff displays these as typographic quotes, but nroff implementations
almost always print them literally, which rarely has the intended effect
with modern fonts, even in stock xterm.
These uses of `` '' can be replaced either with more semantic alternatives
or with Dq, which prints typographic quotes in a UTF-8 locale (but will
automatically fall back to `` '' in an ASCII locale).
improvements and ok schwarze@
|
|
|
|
|
|
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@
|
|
ok ratchov
|
|
|
|
|
|
suggestions and ok millert@
|
|
From: Jan Stary
|
|
is no direct need for sys/proc.h or sys/resource.h. Some consumers
of kinfo_proc need these for the proc flags and rlimit defines like
RLIM_INF so add the appropriate includes to them.
OK deraadt@ sthen@
|
|
|
|
All facts found on the CSRG CD 1 in the 2bsd directory.
Feedback and ok jmc@, ok sobrado@.
Note the large number of 3BSD -> 2BSD changes.
Kirk McKusick asked Cynthia Livingston (cael@, of USENIX, who converted
most manuals from man(7) to mdoc(7) for the 4.3BSD-Net/2 release and
added lots of historical information around that time) what happened
in this respect, and she answered that she often wrote "appeared
in 3BSD" when she was unsure of when a utility was added.
Thanks to Kirk and Cynthia for that clarification.
|
|
the functionality to figure out the real console device when /dev/console is
used.
ok millert@, deraadt@
|
|
|
|
that we've got name we want for the API we want
"ZAP!" deraadt@
|
|
unmaintainable). these days, people use source. these id's do not provide
any benefit, and do hurt the small install media
(the 33,000 line diff is essentially mechanical)
ok with the idea millert, ok dms
|
|
Closes PR 5119. OK miod@
|
|
|
|
w(1) is unaffected by this.
closes PR#4298
ok millert, deraadt
|
|
|
|
from netbsd -r 1.16;
|
|
|
|
|
|
- sort options and sync usage()
|
|
|
|
|
|
to avoid SCCS braindamage. Also use ANSI function headers while
we are here. Based on a diff from espie@
|
|
- COMPATIBILITY merge
- macro cleanup
- kill whitespace at EOL
- new sentence, new line
ssh pages ok markus@
|
|
rescinded 22 July 1999. Proofed by myself and Theo.
|
|
|
|
|
|
|
|
deraadt@ ok
|
|
hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
|
|
millert@ ok
|
|
being /bsd with more correct terms, and remove /bsd and /dev/kmem from the
FILES section if they were there.
|
|
|
|
|
|
- Remove an instance of "'buf[sizeof(buf) - 1] = '\0'"
- A few style nits
deraadt@ ok
|