#
bdcbfde3 |
|
23-Nov-2023 |
Warner Losh <imp@FreeBSD.org> |
usr.bin: Remove ancient SCCS tags. Remove ancient SCCS tags from the tree, automated scripting, with two minor fixup to keep things compiling. All the common forms in the tree were removed with a perl script. Sponsored by: Netflix
|
#
42b38843 |
|
16-Aug-2023 |
Warner Losh <imp@FreeBSD.org> |
Remove $FreeBSD$: one-line .h pattern Remove /^\s*\*+\s*\$FreeBSD\$.*$\n/
|
#
22054f88 |
|
28-Feb-2022 |
Warner Losh <imp@FreeBSD.org> |
Report I/O stats from the CAM_IOSCHED_DYNAMIC extension Report, on a periodic basis, the I/O latencies the CAM I/O scheduler computes. These times are only for the hardware portion of the I/O as measured from the time the operation is scheduled with the SIM using xpt_action() until the SIM reports it has completed with xpt_dine(). Any time the I/O operation spends in a software queue is no included. The P50 (median), P90, P99 and P99.9 statistics about the latency of each of the read, write and trim operations that completed during the polling interval are reported. If there are fewer than 2, 10, 100 or 1000 operations during the polling interval, no statistic is reported and a single dash '-' is displayed. The read, write and trim commands (either on the command line or at run time) toggle display of these operations. The color command toggles color (it defaults to on, like gstat). When color is enabled, unknown statistics are reported in blue, high latency for a statistics is reported in red, medium in magenta and low in green (as with gstat). The med= and hi= commands can set these latency thresholds. Limitations: The entire sysctl space for all the devices is walked for each polling period. This should be optimized to remember the OIDs and only do such polling with the xpt generation changes. There is also no way to filter devices displayed. This command only works on physical devies that are connected to SCSI, ATA or NVME sims as those are the only ones that are instrumented in the CAM I/O scheduler (the CAM_IOSCHED_DYNAMIC option must be in the kernel, and the dynamic scheduler can't be disabled). MFC After: 1 month Relnotes: yes Sponsored by: Netflix Reviewed by: pauamma_gundo.com, chs Differential Revision: https://reviews.freebsd.org/D34259
|
#
6d88f9fe |
|
01-Nov-2021 |
Mateusz Guzik <mjg@FreeBSD.org> |
systat: mostly clean up warns Sponsored by: Rubicon Communications, LLC ("Netgate")
|
#
8d06c3e7 |
|
15-Feb-2021 |
Michael Reifenberger <mr@FreeBSD.org> |
Improve size readability. 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
|
#
9a8fc6bb |
|
15-May-2020 |
Michael Reifenberger <mr@FreeBSD.org> |
Introduce sysputpage() to display large page size with human readable format. 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
|
#
4bde6353 |
|
11-May-2020 |
Michael Reifenberger <mr@FreeBSD.org> |
Patch systat -zarc to display cumulative rate and round down large numbers by SI units PR: 237664 Submitted by: ota@j.email.ne.jp MFC after: 2 weeks
|
#
8a16b7a1 |
|
20-Nov-2017 |
Pedro F. Giffuni <pfg@FreeBSD.org> |
General further adoption of SPDX licensing ID tags. 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.
|
#
cc65eb4e |
|
21-Mar-2017 |
Gleb Smirnoff <glebius@FreeBSD.org> |
Hide struct inpcb, struct tcpcb from the userland. 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
|
#
fbbd9655 |
|
28-Feb-2017 |
Warner Losh <imp@FreeBSD.org> |
Renumber copyright clause 4 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
|
#
1eaa5682 |
|
24-Oct-2015 |
Michael Tuexen <tuexen@FreeBSD.org> |
Add support to systat to display SCTP statistics. MFC after: 1 week
|
#
27aa4769 |
|
27-Sep-2015 |
Michael Reifenberger <mr@FreeBSD.org> |
Add support to systat to display zfs arc cache status/info PR: 195460 Submitted by: ota
|
#
2898a92a |
|
14-Jul-2013 |
Gleb Smirnoff <glebius@FreeBSD.org> |
Nuke "systat -mbuf". It was broken since FreeBSD 5, and since there haven't been any complaints, no one used it.
|
#
8b3daf89 |
|
17-Sep-2012 |
Alexander V. Chernikov <melifaro@FreeBSD.org> |
Make systat(1) accept fractional number of seconds. Make old alarm(3)-based code use select(2). MFC after: 2 weeks
|
#
da52b4ca |
|
11-Dec-2010 |
Joel Dahl <joel@FreeBSD.org> |
Remove the advertising clause from UCB copyrighted files in usr.bin. This is in accordance with the information provided at ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change Also add $FreeBSD$ to a few files to keep svn happy. Discussed with: imp, rwatson
|
#
a7d5f7eb |
|
19-Oct-2010 |
Jamie Gritton <jamie@FreeBSD.org> |
A new jail(8) with a configuration file, to replace the work currently done by /etc/rc.d/jail.
|
#
fe0506d7 |
|
09-Mar-2010 |
Marcel Moolenaar <marcel@FreeBSD.org> |
Create the altix project branch. The altix project will add support for the SGI Altix 350 to FreeBSD/ia64. The hardware used for porting is a two-module system, consisting of a base compute module and a CPU expansion module. SGI's NUMAFlex architecture can be an excellent platform to test CPU affinity and NUMA-aware features in FreeBSD.
|
#
d7f03759 |
|
19-Oct-2008 |
Ulf Lilleengen <lulf@FreeBSD.org> |
- Import the HEAD csup code which is the basis for the cvsmode work.
|
#
9f05d312 |
|
15-Oct-2007 |
Alexander Leidinger <netchild@FreeBSD.org> |
Backout sensors framework. Requested by: phk Discussed on: cvs-all
|
#
99f6b270 |
|
14-Oct-2007 |
Alexander Leidinger <netchild@FreeBSD.org> |
Import OpenBSD's sysctl hardware sensors framework. This commit includes the following core components: * sample configuration file for sensorsd * rc(8) script and glue code for sensorsd(8) * sysctl(3) doc fixes for CTL_HW tree * sysctl(3) documentation for hardware sensors * sysctl(8) documentation for hardware sensors * support for the sensor structure for sysctl(8) * rc.conf(5) documentation for starting sensorsd(8) * sensor_attach(9) et al documentation * /sys/kern/kern_sensors.c o sensor_attach(9) API for drivers to register ksensors o sensor_task_register(9) API for the update task o sysctl(3) glue code o hw.sensors shadow tree for sysctl(8) internal magic * <sys/sensors.h> * HW_SENSORS definition for <sys/sysctl.h> * sensors display for systat(1), including documentation * sensorsd(8) and all applicable documentation The userland part of the framework is entirely source-code compatible with OpenBSD 4.1, 4.2 and -current as of today. All sensor readings can be viewed with `sysctl hw.sensors`, monitored in semi-realtime with `systat -sensors` and also logged with `sensorsd`. Submitted by: Constantine A. Murenin <cnst@FreeBSD.org> Sponsored by: Google Summer of Code 2007 (GSoC2007/cnst-sensors) Mentored by: syrinx Tested by: many OKed by: kensmith Obtained from: OpenBSD (parts)
|
#
33dc5491 |
|
09-Mar-2004 |
David Malone <dwmalone@FreeBSD.org> |
Fix the easy warnings: 1) Avoid shadowing index. 2) Constness. 3) Missing prototype for ifcmd. 4) Missing include of string.h. 5) Avoid shadowing error function. 6) ANSI definition for main.
|
#
f29d8c1a |
|
01-Aug-2003 |
David Malone <dwmalone@FreeBSD.org> |
Add ip6 and icmp6 displays to systat. MFC after: 2 weeks
|
#
b59ba7df |
|
04-Jan-2003 |
Poul-Henning Kamp <phk@FreeBSD.org> |
Add "ifstat" display: ifstat Display the network traffic going through active interfaces on the system. Idle interfaces will not be displayed until they receive some traffic. For each interface being displayed, the current, peak and total statistics are displayed for incoming and outgoing traffic. By default, the ifstat display will automatically scale the units being used so that they are in a human-read- able format. The scaling units used for the current and peak traffic columns can be altered by the scale command. Submitted by: Trent Nelson <trent@arpa.com>
|
#
3f330d7d |
|
21-Mar-2002 |
Warner Losh <imp@FreeBSD.org> |
remove __P
|
#
9ff712b0 |
|
11-Dec-2001 |
Mark Murray <markm@FreeBSD.org> |
WARNS=2 fixes with NO_WERROR set, as there are some header issues with namelists. use __FBSDID().
|
#
096c40e3 |
|
25-May-2001 |
Kris Kennaway <kris@FreeBSD.org> |
Mark error() as __printflike() and fix a non-exploitable format string error. MFC after: 1 week
|
#
342e2faa |
|
22-Mar-2001 |
Thomas Moestl <tmm@FreeBSD.org> |
Get rid of setgid kmem for systat, and while being there, fix some bugs and compiler warnings. The data for network statistics are still obtained via the kvm interface if systat was started with the needed privileges, otherwise sysctls are used. The reason for this is that with really many open sockets, the sysctl method is probably slower, but it systat -netstat is probably not really usable in either mode under these conditions. Approved by: rwatson
|
#
bcc6a3da |
|
19-Sep-1998 |
Kenneth D. Merry <ken@FreeBSD.org> |
Change the devstat generation number from an int to a long. The int-sized generation was causing unaligned access faults on the Alpha. I have incremented the devstat version number, since this is an interface change. You'll need to recompile libdevstat, systat, iostat, vmstat and rpc.rstatd along with your kernel. Partially Submitted by: Andrew Gallatin <gallatin@cs.duke.edu>
|
#
8d2fbde5 |
|
15-Sep-1998 |
Justin T. Gibbs <gibbs@FreeBSD.org> |
Update system to new device statistics code. Submitted by: "Kenneth D. Merry" <ken@plutotech.com>
|
#
630fa006 |
|
26-Sep-1997 |
Garrett Wollman <wollman@FreeBSD.org> |
Having done ICMP, UDP, and IP, could a TCP display be far behind?
|
#
2938fb78 |
|
24-Sep-1997 |
Garrett Wollman <wollman@FreeBSD.org> |
Emboldened by the success of yesterday's ICMP statistics display, I've now added one that does IP (and also UDP) statistics.
|
#
03e00a72 |
|
23-Sep-1997 |
Garrett Wollman <wollman@FreeBSD.org> |
Add a mode to display ICMP statistics. Inspired by: IRIX netstat -C
|
#
3544ae54 |
|
03-Dec-1994 |
Bruce Evans <bde@FreeBSD.org> |
extern.h, iostat.c, main.c, vmstat.c: Use the correct value of hz (stathz if it is nonzero) for interpretion of dk_time[] and cp_time[] in iostat.c. Avoid multiple conversions of this value in iostat.c and vmstat.c iostat.c: Implement the display of cp_time[CP_INTR]. Fix the display of cp_time[CP_IDLE] (the display was always null because cp_time[CP_INTR] == 0 was displayed instead). systat.1: Document the display of cp_time[CP_INTR]. vmstat.c: Implement the display of cp_time[CP_INTR].
|
#
9b50d902 |
|
26-May-1994 |
Rodney W. Grimes <rgrimes@FreeBSD.org> |
BSD 4.4 Lite Usr.bin Sources
|