| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
| |
statistics from -z are now a bit different due to changes in the
way statistics are now measured. Reproduce with some amount of
accuracy the slightly obscure layouts adopted by the two kernel
sysctls. In the future, we might want to normalize them.
GC dosysctl(), which is now no longer used.
MFC after: 1 week
|
|
|
|
|
|
|
|
| |
than increase it, and seems to be the cause of the memory leaks which some
users have reported.
Requested by: dougb
MFC after: 5 days
|
|
|
|
|
|
|
| |
use that instead of trying to use errno, in order to produce a
sensible error message.
MFC after: 1 day
|
|
|
|
|
|
|
|
|
|
| |
avg/median/stddev bars onto separate lines for readability if the
ranges overlapped. In 2005, ministat was extended to support more than
2 datasets, but the -s code was not updated. It will coredump if run
with -s and >2 sets.
PR: 82909
Submitted by: Dan Nelson <dnelson@allantgroup.com>
|
|
|
|
|
|
|
|
|
|
|
| |
commands for this target are appended to the .END target instead
of beeing executed now. They are executed when the graph is finished.
There was a bug with executing the .END target which came in when
doing conversion to LST_FOREACH() which caused make to dump core.
PR: bin/83698
Submitted by: Max Okumoto <okumoto@ucsd.edu>
MFC after: 3 days
|
|
|
|
|
| |
Noticed by: Dave Hart
MFC plans: after checking with re@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
with a number of positive benefits:
- Start using UMA(9) statistics for mbufs and clusters, which avoids
using the mbuf allocator statistics which suffer from races under
load on SMP. This should eliminate "negative" mbuf counts in
netstat -mb.
- We are now able to track cached (free) mbufs and clusters and count
it towards memory allocated by the network stack.
- We are now also able to track memory allocated to mbuf tags since
libmemstat(3) can also query malloc(9). We don't print this except
as part of the total (for now - #if 0).
- We are now able to track mbuf/cluster/packet allocation failures,
although they are not currently printed (#if 0).
- Don't print out sfbuf statistics when running on a kernel core, as
currently that code is able only to query sysctl for statistics.
MFC after: 1 week
|
| |
|
| |
|
|
|
|
|
| |
sort long DPADD lists automatically. While here, recognize
`W' as the global symbol. This has been tested since 2004.
|
|
|
|
| |
Approved by: flz (mentor), Ken Smith (re)
|
|
|
|
|
| |
Requested by: glebius
MFC after: 1 week
|
|
|
|
|
|
|
| |
- Change some section numbers to match reality
- For MLINKS to manpages from ports, mention which port installs them
MFC after: 3 days
|
|
|
|
|
|
|
|
|
|
|
| |
1) An unquoted space is always a separator, even when not "in_arg".
2) When a new destination buffer must be allocated during variable
substitution, only copy data from the active buffer to the new
one when we *are* "in_arg".
These were noticed when testing variable-substitution of variables
which have null values, and are not inside quoted strings...
MFC plans: after a few days, and re@ approval...
|
|
|
|
|
| |
Reviewed by: anholt (mentor)
Approved by: re (scottl)
|
|
|
|
|
|
| |
until it does.
Approved by: re (dwhite)
|
|
|
|
| |
Approved by: re (blanket manpages)
|
|
|
|
|
| |
Approved by: re (blanket)
OK'ed by: gad
|
|
|
|
|
|
|
|
| |
was a separator character immediately before it. This wasn't likely to
happen in #-lines, but we might as well get it right. Also fix it so
that "" and "" will create a zero-length argument.
Approved by: re (blanket `env')
|
|
|
|
|
| |
Noticed by: Matthew D Fuller
Approved by: re (blanket `env')
|
|
|
|
|
|
|
|
| |
start with a '/', they are more supported (by POSIX and SUSv3) than
filenames which have an '=' in them.
Noticed by: tjr
Approved by: re (blanket `env')
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
apart a string, and supports some text substitutions. This can be
used to provide all the flexibility (and more!) that was lost by recent
changes to how the kernel parses #!-lines in shell scripts.
The '-P' option provides a way to specify an alternate set of directories
to use when searching for the 'utility' program to run. This way you can
be sure what directories are used for that search, without changing the
value of PATH that the user has set. Note that on FreeBSD 6.0, this
option is worthless unless the '-S' option is also used.
Approved by: re (blanket `env')
|
|
|
|
|
|
|
| |
without checking it for an equals-sign. If it starts with a slash, then
it cannot be a request to set the value of a valid environment variable.
Approved by: re (blanket `env')
|
|
|
|
|
|
|
| |
it does not happen until all single-letter options are processed. This will
be important for the -S option, which will be coming soon.
Approved by: re (blanket `env')
|
|
|
|
|
|
|
| |
it is doing, and what order it does them. This will be much more useful as
more options are added.
Approved by: re (blanket `env')
|
|
|
|
| |
Approved by: re
|
|
|
|
| |
Approved by: re (blanket)
|
|
|
|
|
| |
Submitted by: Joerg Sonnenberger <joerg@britannica.bec.de>
MFC after: 1 week
|
|
|
|
| |
Discussed with: ru
|
|
|
|
| |
MFC after: 3 days
|
|
|
|
| |
stealing ki_spare[0] to hold a pointer.
|
|
|
|
| |
issues bde pointed out.
|
|
|
|
| |
Approved by: ceri (mentor)
|
|
|
|
|
|
|
|
| |
defined in user's $HOME/.login_conf.
PR: bin/75001
Submitted by: Rostislav Krasny
MFC after: 2 weeks
|
| |
|
| |
|
|
|
|
| |
an initial value.
|
| |
|
|
|
|
| |
an initial value.
|
| |
|
|
|
|
|
|
|
| |
malloc(9) statistics from kernel memory or a kernel coredump, to catch
up with recent changes to adopt per-CPU malloc(9) statistics. The new
routines walk the per-CPU statistics pools and coalesce them for
presentation to the user.
|
|
|
|
|
| |
statistics, not graph and statistical test output. Useful for automated
processing.
|
|
|
|
| |
Noticed by: juli
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
sections, so that users of one can learn about the others easily.
|
|
|
|
| |
Approved by: bms (mentor)
|
|
|
|
|
|
| |
the string. Until now this caused no harm, because the buffer code used
to tack two NULs onto buffers. With the new, soon to come, parsing code
this isn't the case anymore in all cases, so fix this.
|