summaryrefslogtreecommitdiffstats
path: root/usr.bin
Commit message (Collapse)AuthorAgeFilesLines
* Most users probably aren't interested in locating 13000+ files namedcperciva2005-08-222-2/+2
| | | | | | | | [0-9a-f]{64}, so exclude portsnap's compressed snapshots from locate's indexing. Suggested by: silby MFC after: 3 days
* Remove the hack that varied the first character of the output file nametjr2005-08-212-15/+5
| | | | | | | | if none was specified on the command line. This is not permitted by POSIX, and no longer needed now that we have the -a option. PR: 85099 Submitted by: Toby Peterson (Apple Computer)
* Bail if interface is misspelled instead of falling out into theru2005-08-201-0/+2
| | | | | "all interfaces" mode. (Only works with -w, but still better than nothing.)
* Correct typos found by ispell.murray2005-08-192-2/+2
|
* Add a new switch -h for interface stats mode, which prints all interfaceglebius2005-08-184-10/+29
| | | | | | | statistics in human readable form. In collaboration with: vsevolod Reviewed by: cperciva
* While revision 1.26 fixed the code to really subtract 3600 due tostefanf2005-08-181-3/+1
| | | | | daylight-saving, this was actually wrong because mktime() already does that for us.
* Remove the dates from these files. They serve no purpose and result incperciva2005-08-171-1/+2
| | | | | | these files spuriously changing each time they are built. Also, add $FreeBSD$ tags, because cvs is unhappy otherwise.
* Correct birthdate for Meriwether Lewis. He was born before themurray2005-08-171-1/+1
| | | | declaration of independence, not after the first world war.
* It's actually 11 minutes when the machine is assumed to be down and removedssouhlal2005-08-071-1/+1
| | | | | | from the output. Obtained from: DragonFlyBSD
* Use libmemstat(3)'s kvm support for malloc(9) rather than hand-extractingrwatson2005-08-061-96/+19
| | | | this information from the core dump.
* Old habits die hard: Make that .if defined(YES_HESIOD) not .if !definedphk2005-08-061-1/+1
|
* Change the data type of the upper shared memory limits from a signedcsjp2005-08-061-5/+5
| | | | | | | | | | | | integer to an unsigned long. This lifts variables like the maximum number of pages available for shared memory from 2^31 to 2^32 on 32 bit architectures, and from 2^31 to 2^64 on 64 bit architectures. It should be noted that this changes breaks ABI on 64 bit architectures because the size of the shmmax, shmmin, shmmni, shmseg and shmall members of the shminfo structure has changed. Silence on: current@
* Put hesinfo(1) under buildoption "YES_HESIOD"phk2005-08-061-1/+5
|
* Include ../Makefile.inc, since without it programs get installed in thecperciva2005-08-061-0/+3
| | | | | | wrong place. Pointy hat to: cperciva
* Add bsdiff and bspatch to the base system. These are tools forcperciva2005-08-069-0/+753
| | | | | | | | | | | | | | | | | | | | | | | constructing and applying binary patches; in particular, they perform well (in the sense of constructing small patches) for executable code. Both portsnap (coming to the base system Real Soon Now) and FreeBSD Update (coming to the base system a bit later) use bspatch. This is the same code as the bsdiff-4.2 which has been in the ports tree (misc/bsdiff) for the past year, with the following exceptions: 1. The license is now the traditional 2-clause BSD; 2. Instead of forking and execing bzip2, the code now uses libbz2; and 3. Some minor changes have been made to fit this code into the base system (adding $FreeBSD$ tags, putting bsdiff and bspatch into separate directories, etc.) This code is rather ugly and has lots of style bugs (mostly because I wrote it before I had ever heard of style(9)). Some day I'll come back and clean it up. Discussed on: freebsd-arch MFC before: 5.5-RELEASE Tested by: Several million users (earlier version).
* Don't include -lipx twice.phk2005-08-051-2/+2
|
* Make IPX support depend on NO_IPXphk2005-08-052-2/+16
|
* Let NO_MAN control catmanphk2005-08-051-1/+5
|
* Use socklen_t where appropriate.stefanf2005-08-052-3/+4
|
* Include <err.h> where needed. Add $FreeBSD$ where missing.stefanf2005-08-057-0/+11
|
* Prefer {u,}intmax_t over the deprecated {u_,}quad_t.stefanf2005-08-051-17/+18
|
* Don't throw away the adjusted `runtimer' value.stefanf2005-08-051-3/+1
|
* Call usage() instead of being insolent.jmallett2005-08-051-5/+4
|
* Bug fix: a numeric flag specification in the substitute command woulddds2005-08-041-2/+8
| | | | | | | | cause the next substitute flag to be ignored. While working at it, detect and report overflows. Reported by: Jingsong Liu MFC after: 1 week
* Add NO_CALENDARphk2005-08-031-1/+5
|
* Cross-reference pw(8) into chpass(1), passwd(1), and vipw(8).seanc2005-08-022-0/+2
|
* The bsdtar_warnc() reporting function requires the program name to bekientzle2005-08-021-10/+12
| | | | | | | | | set up before it is called, so move the progname initialization before the first possible call to bsdtar_warnc(). Thanks to: Stanislav Sedov PR: bin/83366 MFC after: 7 days
* Teach vmstat's domemstat_zone() to use memstat_kvm_uma() when the kvmrwatson2005-08-011-14/+19
| | | | | descriptor is non-NULL, restoring vmstat -z support for core dumps and kmem access. These were broken with the introduction of UMA.
* Fix all the spelling mistakes I could find in the man pages for wordskeramida2005-07-317-8/+8
| | | | | | | | that have at least 3 characters. MFC after: 1 week Thanks to: Music band ``Chingon'' for keeping me company while searching for these.
* Introduce kdevtoname, which when given the kernel address of acsjp2005-07-301-4/+16
| | | | | | | | | cdev structure, returns the device name associated with it through the __si_namebuf member. This un-breaks the processing of devices. This is a RELENG_6 candidate. Reviewed by: phk
* Minor syntax tweaks:rwatson2005-07-281-17/+0
| | | | | | | | | | - Remove some extra blank lines. - Remove comments that don't contribute to understanding. - Remove additional blank lines in output added to maximize compatibility with older vmstat output, but that is actually somewhat gratuitous. Submitted by: bde MFC with: other vmstat libmemstat(3) changes
* Teach vmstat -m and vmstat -z to use libmemstat(3). Certainrwatson2005-07-252-23/+96
| | | | | | | | | | | 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
* Disable thread support in BIND. It appears to reduce performance ratherdes2005-07-254-8/+8
| | | | | | | | 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
* Since libmemstat(3) now supports its own error management mechanism,rwatson2005-07-241-1/+2
| | | | | | | use that instead of trying to use errno, in order to produce a sensible error message. MFC after: 1 day
* In 2003, a -s flag was added to ministat to separate thephk2005-07-212-5/+8
| | | | | | | | | | 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>
* Fix the "..." special command. If this command is found all furtherharti2005-07-191-1/+1
| | | | | | | | | | | 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
* Fix minor memory leak when expanding ${variable}sgad2005-07-181-1/+5
| | | | | Noticed by: Dave Hart MFC plans: after checking with re@
* Modify "netstat -mb" to use libmemstat(3) when acting on a live system,rwatson2005-07-182-36/+197
| | | | | | | | | | | | | | | | | | | | | | | | 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
* remove myself as maintainerwosch2005-07-171-2/+0
|
* Note the events of 0707, lest we forget.ceri2005-07-151-0/+1
|
* Fix loder(1) to work with libraries. This can be useful toru2005-07-151-5/+14
| | | | | sort long DPADD lists automatically. While here, recognize `W' as the global symbol. This has been tested since 2004.
* Add myself to FreeBSD calendargarga2005-07-151-0/+1
| | | | Approved by: flz (mentor), Ken Smith (re)
* Print newly exported pfsync statistics with netstat(8).mlaier2005-07-143-1/+52
| | | | | Requested by: glebius MFC after: 1 week
* - Remove MLINKS to nonexistant manpagesbrueffer2005-07-145-7/+7
| | | | | | | - Change some section numbers to match reality - For MLINKS to manpages from ports, mention which port installs them MFC after: 3 days
* Fix two minor parsing bugs in -S processing:gad2005-07-131-14/+23
| | | | | | | | | | | 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...
* add myself as a new committerjkim2005-07-071-0/+1
| | | | | Reviewed by: anholt (mentor) Approved by: re (scottl)
* Our bsd.*.mk only supports 6 WARNS levels and we should not use higher valuesjohan2005-06-301-1/+1
| | | | | | until it does. Approved by: re (dwhite)
* Fixed troff warnings.ru2005-06-271-1/+1
| | | | Approved by: re (blanket manpages)
* Tidy up the markup.ru2005-06-221-34/+49
| | | | | Approved by: re (blanket) OK'ed by: gad
* Fix a bug where the value of ${SOMEVAR} would simply disappear if theregad2005-06-211-23/+48
| | | | | | | | 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')
OpenPOWER on IntegriCloud