| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
-swap disk stat based on new size.
Display corrupts after resizing a window.
Process SIGWINCH to redraw all window.
Submitted by: Yoshihiro Ota ota@j.email.ne.jp
Differential Revision: https://reviews.freebsd.org/D29337
|
|
|
|
|
|
|
|
|
|
|
|
| |
Stop free() even if kvm_getprocs as we can come back but set nprocs = 0.
Check nprocs in showpigs() to ensure not try displaying with kvm_getprocs failed.
Current code can have pt with non-null after kvm_getprocs() failure.
Replace to realloc for simpler operations.
Submitted by: Yoshihiro Ota ota@j.email.ne.jp
Reviewed by: mckusick@
Differential Revision: https://reviews.freebsd.org/D29303
|
|
|
|
|
|
|
|
|
|
|
| |
Preserve more space for swap devise names.
Prevent line overflow with long devise name.
Don't draw a bar when swap is not used at all.
Simplify and optimize code.
Change the label to end at end of 100%.
PR: 251655
MFC after: 2 weeks
Differential Revision: https://reviews.freebsd.org/D27496
|
|
|
|
|
|
|
| |
systat does not have a "-display" flag. Use Ar to indicate that
"display" is meant to be substituted with an actual display command.
MFC after: 1 week
|
|
|
|
|
|
| |
They are no longer supported by mdoc(7).
MFC after: 1 week
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
Submitted by: ota@j.email.ne.jp
Differential Revision: https://reviews.freebsd.org/D26503
Notes:
svn path=/head/; revision=367922
|
|
|
|
|
|
|
|
|
|
|
| |
PR: 219829
Submitted by: ota@j.email.ne.jp
Reported by: rezo@live.cn
MFC after: 2 weeks
Differential Revision: https://reviews.freebsd.org/D25226
Notes:
svn path=/head/; revision=363095
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Using UI units allows to fit larger numbers in columns.
Stop calling v_page_size - this is a value that doesn't change at runtime.
Renamed WINDOW *wnd to *wd to avoid conflict with global *wnd variable.
Use bit-shift to convert page size to byte.
PR: 246458
Submitted by: ota@j.email.ne.jp
MFC after: 2 weeks
Differential Revision: D24834
Notes:
svn path=/head/; revision=361084
|
|
|
|
|
|
|
|
|
| |
PR: 237664
Submitted by: ota@j.email.ne.jp
Reported by: imb, cy
Notes:
svn path=/head/; revision=360929
|
|
|
|
|
|
|
|
|
|
|
| |
by SI units
PR: 237664
Submitted by: ota@j.email.ne.jp
MFC after: 2 weeks
Notes:
svn path=/head/; revision=360919
|
|
|
|
|
|
|
|
|
|
| |
kd is already properly declared in extern.h and defined in main.c, rendering
this definition useless. This fixes the -fno-common build.
MFC after: 3 days
Notes:
svn path=/head/; revision=359416
|
|
|
|
| |
Notes:
svn path=/head/; revision=356678
|
|
|
|
| |
Notes:
svn path=/head/; revision=356677
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add a stat counter to track ipv6 atomic fragments. Atomic fragments can be
generated in response to invalid path MTU values, but are also a potential
attack vector and considered harmful (see RFC6946 and RFC8021).
While here add tracking of the atomic fragment counter to netstat and systat.
Reviewed by: tuexen, jtl, bz
Approved by: jtl (mentor), bz (mentor)
Event: Aberdeen hackathon 2019
Differential Revision: https://reviews.freebsd.org/D17511
Notes:
svn path=/head/; revision=346398
|
|
|
|
|
|
|
|
|
|
| |
PR: 213310
Submitted by: ota
MFH: 4 weeks
Differential Revision: https://reviews.freebsd.org/D18726
Notes:
svn path=/head/; revision=345804
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
According to systat(1) :only option is supposed to accept multiple drives
but the parser for its arguments stops after first entry. Fix the parser
logic to accept multiple drives.
PR: 59220
Reported by: Andy Farkas <andyf@speednet.com.au>
MFC after: 1 week
Notes:
svn path=/head/; revision=343338
|
|
|
|
|
|
|
|
|
|
|
| |
Consistently return 1 or the case of missing arguments in both functions
PR: 219689
MFC after: 1 week
X-MFC-With: 343222
Notes:
svn path=/head/; revision=343223
|
|
|
|
|
|
|
|
|
|
|
| |
Add check for missing arguments to dsmatchselect and dsselect
PR: 219689
Submitted by: Marko Turk <mt@markoturk.info>
MFC after: 1 week
Notes:
svn path=/head/; revision=343222
|
|
|
|
|
|
|
|
|
|
|
|
| |
Several statistic counters are uint64_t values and are printed by systat
using %lu. This results in displaying wrong numbers. Use PRIu64 instead.
While there, print variables of size_t using %zd.
MFC after:i 3 days
Differential Revision: https://reviews.freebsd.org/D17838
Notes:
svn path=/head/; revision=340361
|
|
|
|
| |
Notes:
svn path=/head/; revision=337680
|
|
|
|
|
|
|
| |
MFC after: 2 weeks
Notes:
svn path=/head/; revision=335469
|
|
|
|
|
|
|
|
|
|
|
|
| |
While <sys/sysctl.h> includes <sys/queue.h> unconditionally, it is only
actually used in code which is conditional on _KERNEL. Make the #include
itself conditional as well, and fix userland code that uses <sys/queue.h>
for other purposes but relied on <sys/sysctl.h> to bring it in.
MFC after: 1 week
Notes:
svn path=/head/; revision=333475
|
|
|
|
|
|
|
|
|
|
| |
since this is not monotonically increasing. It's number can be
derived from the other counters shown.
MFC after: 3 days
Notes:
svn path=/head/; revision=332353
|
|
|
|
|
|
|
|
|
|
|
| |
This option was used in the early days to allow performance measurements
extrapolating the use of SCTP checksum offloading. Since this feature
is now available, get rid of this option.
This also un-breaks the LINT kernel. Thanks to markj@ for making me
aware of the problem.
Notes:
svn path=/head/; revision=326672
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Mainly focus on files that use BSD 2-Clause license, however the tool I
was using misidentified many licenses so this was mostly a manual - error
prone - task.
The Software Package Data Exchange (SPDX) group provides a specification
to make it easier for automated tools to detect and summarize well known
opensource licenses. We are gradually adopting the specification, noting
that the tags are considered only advisory and do not, in any way,
superceed or replace the license texts.
No functional change intended.
Notes:
svn path=/head/; revision=326276
|
|
|
|
|
|
|
|
|
|
| |
Match signess of the format and the value.
Noted by: bde
Sponsored by: The FreeBSD Foundation
Notes:
svn path=/head/; revision=326108
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Following struct vmtotal changes, make systat use and correctly
display 64-bit counters. Switch to humanize_number(3) to overcome
homegrown arithmetics limits in pretty printing large numbers. Use
1024 as a divisor for memory fields to make it consistent with other
tools and users expectations.
Submitted by: Pawel Biernacki <pawel.biernacki@gmail.com>
Sponsored by: Mysterious Code Ltd.
PR: 2137
Differential revision: https://reviews.freebsd.org/D13105
Notes:
svn path=/head/; revision=326073
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Mainly focus on files that use BSD 3-Clause license.
The Software Package Data Exchange (SPDX) group provides a specification
to make it easier for automated tools to detect and summarize well known
opensource licenses. We are gradually adopting the specification, noting
that the tags are considered only advisory and do not, in any way,
superceed or replace the license texts.
Special thanks to Wind River for providing access to "The Duke of
Highlander" tool: an older (2014) run over FreeBSD tree was useful as a
starting point.
Notes:
svn path=/head/; revision=326025
|
|
|
|
|
|
|
| |
Sponsored by: Dell EMC Isilon
Notes:
svn path=/head/; revision=325188
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Violators may define _WANT_SOCKET and _WANT_UNPCB respectively and
are not guaranteed for stability of the structures. The violators
list is the the usual one: libprocstat(3) and netstat(1) internally
and lsof in ports.
In struct xunpcb remove the inclusion of kernel structure and add
a bunch of spare fields. The xsocket already has socket not included,
but add there spares as well. Embed xsockbuf into xsocket.
Sort declarations in sys/socketvar.h to separate kernel only from
userland available ones.
PR: 221820 (exp-run)
Notes:
svn path=/head/; revision=324227
|
|
|
|
| |
Notes:
svn path=/head/; revision=317231
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is a painful change, but it is needed. On the one hand, we avoid
modifying them, and this slows down some ideas, on the other hand we still
eventually modify them and tools like netstat(1) never work on next version of
FreeBSD. We maintain a ton of spares in them, and we already got some ifdef
hell at the end of tcpcb.
Details:
- Hide struct inpcb, struct tcpcb under _KERNEL || _WANT_FOO.
- Make struct xinpcb, struct xtcpcb pure API structures, not including
kernel structures inpcb and tcpcb inside. Export into these structures
the fields from inpcb and tcpcb that are known to be used, and put there
a ton of spare space.
- Make kernel and userland utilities compilable after these changes.
- Bump __FreeBSD_version.
Reviewed by: rrs, gnn
Differential Revision: D10018
Notes:
svn path=/head/; revision=315662
|
|
|
|
|
|
|
|
|
|
|
|
| |
Renumber cluase 4 to 3, per what everybody else did when BSD granted
them permission to remove clause 3. My insistance on keeping the same
numbering for legal reasons is too pedantic, so give up on that point.
Submitted by: Jan Schaumann <jschauma@stevens.edu>
Pull Request: https://github.com/freebsd/freebsd/pull/96
Notes:
svn path=/head/; revision=314436
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Adjust formatting highlighted by igor.
PR: 214683
Submitted by: Anindya Mukherjee <anindya49 AT hotmail DOT com>
Reviewed by: jilles
Approved by: bcr (mentor)
MFC after: 5 days
Differential Revision: https://reviews.freebsd.org/D8591
Notes:
svn path=/head/; revision=309552
|
|
|
|
|
|
|
|
| |
Reviewed by: alc, kib
Differential Revision: https://reviews.freebsd.org/D8467
Notes:
svn path=/head/; revision=308489
|
|
|
|
|
|
|
| |
MFC after: 2 weeks.
Notes:
svn path=/head/; revision=304225
|
|
|
|
|
|
|
| |
MFC after: 2 weeks.
Notes:
svn path=/head/; revision=298684
|
|
|
|
|
|
|
|
|
| |
gethostbyname(3) will return NULL for error status.
MFC after: 2 weeks.
Notes:
svn path=/head/; revision=298324
|
|
|
|
|
|
|
|
|
|
| |
the amount of TCP connections by state. Provides a cheap way to get
connection count without traversing the whole pcb list.
Sponsored by: Netflix
Notes:
svn path=/head/; revision=294869
|
|
|
|
|
|
|
|
|
|
|
|
| |
percent usage.
PR: bin/203917
Submitted by: ota <ota@j.email.ne.jp>
Approved by: bapt (mentor)
Differential Revision: https://reviews.freebsd.org/D4281
Notes:
svn path=/head/; revision=292817
|
|
|
|
|
|
|
|
|
|
|
| |
Unfortunately filemon/meta mode tracks all indirect dependencies here
since ld(1) is reading libelf when linking in libkvm. Churn would be
reduced if this was able to be limited to direct dependencies.
Sponsored by: EMC / Isilon Storage Division
Notes:
svn path=/head/; revision=291558
|
|
|
|
|
|
|
|
| |
MFC after: 1 week
X-MFC with: r289873
Notes:
svn path=/head/; revision=289874
|
|
|
|
|
|
|
| |
MFC after: 1 week
Notes:
svn path=/head/; revision=289873
|
|
|
|
|
|
|
| |
MFC after: 2 weeks
Notes:
svn path=/head/; revision=288344
|
|
|
|
|
|
|
|
| |
PR: 195460
Submitted by: ota
Notes:
svn path=/head/; revision=288306
|
|
|
|
|
|
|
|
|
|
|
| |
This should be no-op for now, but allows the code to work if we
move to NCURSES_OPAQUE.
- Use calloc() instead of malloc+bzero.
MFC after: 2 weeks
Notes:
svn path=/head/; revision=287633
|
|\
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Off by default, build behaves normally.
WITH_META_MODE we get auto objdir creation, the ability to
start build from anywhere in the tree.
Still need to add real targets under targets/ to build packages.
Differential Revision: D2796
Reviewed by: brooks imp
Notes:
svn path=/head/; revision=284345
|
| |
| |
| |
| | |
Notes:
svn path=/projects/bmake/; revision=284172
|