| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
instead of subtracting 'bootime' from 'now'.
Sponsored by: TCP/IP Optimization Fundraise 2005
|
|
|
|
| |
stealing ki_spare[0] to hold a pointer.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
<sys/user.h> for the definition of TDF_SINTR. Fixed anachronous
spelling of TDF_SINTR in a comment
Demangled VCS ids. There were 2 misplaced copies of $FreeBSD$ and of
the include before it. The vendor id infrastructure was edited.
Fixed the only other remaining style bug since rev.1.1 (expansion of
struct member names made a line too long).
|
|
|
|
|
|
| |
indeterminate in such a case. The correct value for 2nd argument is
sizeof(buf). Do not NUL-terminate the result string, strftime() will do it
for us.
|
| |
|
|
|
|
|
|
|
| |
really a problem with utmp/wtmp, but takes the same approach as who(1).
Reviewed by: knu (mentor), mini, silence on -audit
Approved by: knu (mentor), mini
|
| |
|
|
|
|
|
| |
PR: docs/37757
Submitted by: Hiten Pandya <hiten@uk.FreeBSD.org>
|
| |
|
|
|
|
| |
the unused global var.
|
|
|
|
| |
WARNS=2 not added to Makefile as it is to become default.
|
| |
|
|
|
|
|
|
|
|
| |
be 30 seconds off. (Thanks to Vladimir B.Grebenschikov
<vova@express.ru> for the PR and ru for a more elegant fix.)
PR: bin/30680
Approved by: ru
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
into addresses as we have no idea what address family they belong to.
When -n is not specified, resolve IPv6 as well as IPv4 addresses found
in the host field of utmp. Use realhostname_sa() to resolve addresses
(the old code was wrong).
Rename ``x'' to ``x_suffix'' to avoid confusion.
Hard code the host column width to 16 (against the imminent increase
of UT_HOSTSIZE in utmp.h).
|
| |
|
| |
|
|
|
|
|
| |
PR: 24654
Submitted by: Daniel Hemmerich zartik@yahoo.com
|
|
|
|
|
|
| |
of _POSIX2_LINE_MAX.
MFC after: 1 week
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
locales, so leads to confusion
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
the idle time instead of the atime.
This makes entries for people that have logged in but done nothing
else show up correctly.
Reviewed by: markk@knigma.org
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
no longer contains kernel specific data structures, but rather
only scalar values and structures that are already part of the
kernel/user interface, specifically rusage and rtprio. It no
longer contains proc, session, pcred, ucred, procsig, vmspace,
pstats, mtx, sigiolst, klist, callout, pasleep, or mdproc. If
any of these changed in size, ps, w, fstat, gcore, systat, and
top would all stop working. The new structure has over 200 bytes
of unassigned space for future values to be added, yet is nearly
100 bytes smaller per entry than the structure that it replaced.
|
| |
|
|
|
|
|
| |
/dev/null as the default kernel and /dev/mem filenames, but still allow
the usual overrides)
|
|
|
|
|
|
|
| |
as plain time as originally intended, instead of displaying DayHH times
when the login time happens to be prior the GMT - TZ difference.
(Only noticable on systems operating east of GMT/UTC).
Local times are now used to determine the day.
|
| |
|
|
|
|
|
|
|
|
| |
match with all of them, rather than only supporting a single user.
PR: 11121
Kinda submitted by: James Howard <howardjp@byzantine.student.umd.edu>
Reviewed by: DES
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
track.
The $Id$ line is normally at the bottom of the main comment block in the
man page, separated from the rest of the manpage by an empty comment,
like so;
.\" $Id$
.\"
If the immediately preceding comment is a @(#) format ID marker than the
the $Id$ will line up underneath it with no intervening blank lines.
Otherwise, an additional blank line is inserted.
Approved by: bde
|
| |
|
|
|
|
|
| |
PR: 11286
Submitted by: Hans Huebner <hans@chaosradio.berlin.ccc.de>
|
|
|
|
|
|
| |
Cosmetic: Don't shadow the `p' variable.
Remove two unused variables.
PR: 3638
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
one character shorter than the previous in a stairstep fashion when long
idle times were involved.
A couple of nits:
- spelling/typo fix.
- some of the easier style(9) fixes where it was bothering me.
- Handle 100+ days idle time (ha!). Probably the right thing to do is
to do a snprintf into a buffer and strlen the result rather than doing
hackery on magic numbers.
XXX the wide (and mostly unused) username and tty columns annoy me since
it it could be used for more useful information for the command. We should
actually count the largest username and tty and adjust like 'ls -l' does.
|
|
|
|
| |
"uptime" the right way. Sheesh.
|
|
|
|
| |
Suggested by: bde
|
|
|
|
| |
PR: 8593
|
| |
|
|
|
|
|
|
| |
instead of hardcoding header line.
PR: 6325
|
|
|
|
| |
PR: bin/2832
|
|
|
|
|
|
|
|
|
|
|
| |
as large as UT_LINESIZE (/usr/include/utmp.h). If the tty name is logged
with this size why isn't the w command reporting it?
(We should probably report the tty/cua prefix then as well ? /phk)
PR: 4187
Reviewed by: phk
Submitted by: Jorge M. Goncalves <ee96199@tom.fe.up.pt>
|