#
285830 |
|
23-Jul-2015 |
gjb |
- Copy stable/10@285827 to releng/10.2 in preparation for 10.2-RC1 builds. - Update newvers.sh to reflect RC1. - Update __FreeBSD_version to reflect 10.2. - Update default pkg(8) configuration to use the quarterly branch.[1]
Discussed with: re, portmgr [1] Approved by: re (implicit) Sponsored by: The FreeBSD Foundation |
#
279473 |
|
01-Mar-2015 |
rstone |
MFC r272284
Fix integer truncation in affecting systat -ifstat
The "systat -ifstat" command was using a u_int to store byte counters. With a 10Gbps or faster interface, this overflows within the default 5 second refresh period. Switch to using a uint64_t across the board, which matches the size used for all counters as of r263102.
PR: 182448 MFC after: 1 week Sponsored by: Sandvine Inc
|
#
256281 |
|
10-Oct-2013 |
gjb |
Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.
Approved by: re (implicit) Sponsored by: The FreeBSD Foundation
|
#
247037 |
|
20-Feb-2013 |
melifaro |
Fix several new & old style issues.
Pointed by: ae, pluknet, zont MFC with: r247036
|
#
247036 |
|
20-Feb-2013 |
melifaro |
Add interface name filtering via 'match' cmd. Add 'pps' cmd for switching beetween interface packets/bytes statistics.
Submitted by: vsevolod MFC after: 2 weeks
|
#
239991 |
|
01-Sep-2012 |
ed |
Rework all non-contributed files that use `struct timezone'.
This structure is not part of POSIX. According to POSIX, gettimeofday() has the following prototype:
int gettimeofday(struct timeval *restrict tp, void *restrict tzp);
Also, POSIX states that gettimeofday() shall return 0 (as long as tzp is not used). Remove dead error handling code. Also use NULL for a nul-pointer instead of integer 0.
While there, change all pieces of code that only use tv_sec to use time(3), as this provides less overhead.
|
#
231011 |
|
05-Feb-2012 |
ed |
Whitespace fixes.
- Remove redundant empty lines. - Replace ^L by \014. This allows you to safely cat/grep/etc this file without causing confusion.
|
#
226396 |
|
15-Oct-2011 |
ed |
Fix whitespace inconsistencies in systat(1).
According to md5(1), the resulting binary is the same.
|
#
175239 |
|
12-Jan-2008 |
delphij |
- Handle the case where interface from "middle" is missing by more carefully inspecting the return value from sysctl(3). [1] - Use calloc instead of malloc+memset of zero.
Submitted by: Alexander Chernikov <admin su29 net> [1] PR: bin/119581 MFC after: 2 weeks
|
#
164677 |
|
27-Nov-2006 |
yar |
Remove a wrong "const" qualifier.
Spotted by: WARNS=6
|
#
164666 |
|
27-Nov-2006 |
yar |
Drop useless #includes.
|
#
158161 |
|
30-Apr-2006 |
bde |
Remove trailing whitespace.
Submitted by: Se=E1n Farley <sean-freebsd at farley dot org> PR: bin/81874
|
#
158160 |
|
30-Apr-2006 |
bde |
Show the load average in the tcp display (it was already shown, perhaps not very usefully, in all other displays). This was the original point of the PR.
Move the load average up by 2 so that it starts in row 0 for all windows (2 lines above it were wasted for all other windows except vmstat). Move everything below it up by 2 or 3 (3 for icmp and icmp6 which had an extra blank line due from not compensating for the foot-shooting in note (3); only ip and ip6 compensated). Reduce the magic numbers related to this.
Notes by the submitter: %%% 1. All the subwin() calls are identical using #define MAINWIN_ROW 3 (systat.h). 2. The load average is at the top of the window. 3. Each display starts on the fourth line. I made changes to those displays that shifted the start line (i.e., icmp). This entailed a lot of changes within the comments at the top of those displays. 4. For ip6, I shifted the "Input next-header histogram" column down one row to separate it from "IPv6 Output". I raised "bad scope packets" and "address selection failed" up one row to stay with "IPv6 Input" (valid?). They were down one row to probably line up at the bottom, but I think they should stick with their fellow items in a column. 5. I condensed ifstat a bit. It had a lot of empty rows. %%%
Submitted by: Se=E1n Farley <sean-freebsd at farley dot org> PR: bin/81874
|
#
126775 |
|
09-Mar-2004 |
dwmalone |
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.
|
#
108684 |
|
04-Jan-2003 |
phk |
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>
|