summaryrefslogtreecommitdiffstats
path: root/usr.bin
Commit message (Collapse)AuthorAgeFilesLines
...
* | The variables i and tot don't need to be static.stefanf2006-07-181-2/+2
| |
* | Remove break after return.stefanf2006-07-181-2/+0
| |
* | VarAdd() already does the debug printing, so Var_Set() only needs to do itobrien2006-07-171-2/+1
| | | | | | | | in the case the var already exists.
* | whitespace fixingobrien2006-07-171-8/+8
| |
* | Not having ipv6 in your kernel is not an error and should not be reported.julian2006-07-141-1/+4
| | | | | | | | MFC after: 1 week
* | o Fix some printf(3) format nits in my patch I submitted to kib@.maxim2006-07-121-2/+2
| | | | | | | | Submitted by: ru
* | Remove slipped in spaces.kib2006-07-121-3/+3
| | | | | | | | | | Pointed out by: maxim Approved by: pjd (mentor)
* | Check that the signal number is in range.kib2006-07-121-1/+4
| | | | | | | | | | | | Submitted by: maxim MFC after: 1 week Approved by: pjd (mentor)
* | Check that the signal number is in range.kib2006-07-121-1/+4
| | | | | | | | | | | | Submitted by: Michiel Boland <michiel boland org> MFC after: 1 week Approved by: pjd (mentor)
* | Since kernel & userland use different timebase and netstat is reading kerneloleg2006-07-061-3/+13
| | | | | | | | | | | | memory directly, we should do timebase conversion for route lifetime. Approved by: glebius (mentor)
* | Add myself.yongari2006-07-041-0/+1
| |
* | Update dillon's mail address.grog2006-07-041-1/+1
| |
* | - Simplify the formatting in the SYNOPSIS.ru2006-06-302-4/+3
| | | | | | | | - Add the forgotten new option in usage().
* | Add a -q option to suppress header lines when multiple files are specified.flz2006-06-294-8/+19
| | | | | | | | | | Approved by: cperciva (mentor) MFC after: 1 week
* | Add myself to the freebsd calendar.bsam2006-06-221-0/+1
| | | | | | | | Approved by: netchild (mentor)
* | Update for the 'file' 4.17 import.obrien2006-06-191-54/+48
| |
* | Fix display of idle processes, which had been broken since rev. 1.56 ofse2006-06-111-1/+2
| | | | | | | | | | | | | | | | | | | | | | machine.c. The traditional condition was (pctcpu > 0 || SRUN), but the negation of the condition logic (from select to skip) made this come out as (pctcpu > 0 && SRUN), leading to a very erratic display, except for purely CPU bound processes. This has been discussed in the mail lists some time ago and I have used top with this patch on my systems for more than a year without problems (just forgot to commit it earlier, since my systems were all fixed ...).
* | o Sync usage() with reality.maxim2006-06-111-1/+1
| |
* | Add audit.h to mkioctls inclusion list: audit pipe ioctls need accessrwatson2006-06-051-0/+1
| | | | | | | | | | | | | | to the audit types. Submitted by: wsalamon Obtained from: TrustedBSD Project
* | Increase the field widths of flt (total number of page faults), fr (pagesobrien2006-06-031-5/+5
| | | | | | | | | | freed), & cs (CPU context switch rate). 'vmstat 1' output is now lined up for today's typical machines vs. a VAX. [tested my modest 1.6ghz laptop]
* | Correct previous commit. We don't want to suppress an entry becausegrog2006-05-311-3/+5
| | | | | | | | | | | | | | it runs into the following month. Instead adjust month and day, wrapping round into next year where necessary. MFC after: 14 days
* | Don't go past the end of the month with a repetitive entry of thegrog2006-05-301-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | style "every Monday": mon * Do Foo. Previously, at the end of the month, this could cause a printout of the following nature when invoked with -A 7: 36 May* Do Foo MFC after: 2 weeks
* | remove comment about systems, I got confused which arch one of my systemsjmg2006-05-291-4/+0
| | | | | | | | | | | | was... Pointed out by: ru
* | Print the euid after the gid as demanded by POSIX.stefanf2006-05-281-3/+3
| | | | | | | | | | | | Submitted by: Martin Nagy <nagy.martin@gmail.com> PR: 96239 MFC after: 2 weeks
* | document that even if magic is newer than magic.mgc, it isn't usedjmg2006-05-281-0/+18
| | | | | | | | | | compiling mgc on a big endian system (specificly tested sparc64) breaks, using one from a little endian system works
* | Fix using "P" command on empty pattern space. If the "P" command iskrion2006-05-271-2/+1
| | | | | | | | | | | | | | | | | | | | used once on a non-empty pattern space and then again on an empty pattern space, the second usage restores the pattern space length to the length that it had when the first "P" was used. PR: bin/96052 Submitted by: Andrey Zholos <aaz@althenia.net> MFC after: 7 days
* | Add the capability for a trailing scale indicator to cause thekrion2006-05-272-5/+56
| | | | | | | | | | | | | | | | | | specified size to be read in the more familiar units of kilobytes, megabytes, gigabytes, terabytes and petabytes. PR: bin/50988 Submitted by: Matthew Seaman <m.seaman@infracaninophile.co.uk> MFC after: 7 days
* | Enable numeric arguments and +/- prefixes with -user (-group)krion2006-05-251-4/+12
| | | | | | | | | | | | | | | | options. PR: bin/71513 Submitted by: Andre Albsmeier <Andre.Albsmeier@siemens.com> MFC after: 7 days
* | s/on a crt//brd2006-05-251-2/+2
| | | | | | | | | | | | | | systat is working great on this LCD ;) Submitted by: Ben Haga <tuximus AT absoludicrous DOT com> MFC after: 3 days
* | Change kdump to print more useful information, i.e. it changes fromnetchild2006-05-204-16/+847
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 32229 telnet CALL mmap(0,0x8000,0x3,0x1002,0xffffffff,0,0,0) 32229 telnet CALL open(0x2807bc28,0,0x1b6) 32229 telnet CALL socket(0x2,0x2,0) to 32229 telnet CALL mmap(0,0x8000,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANON,0xffffffff,0,0,0) 32229 telnet CALL open(0x2807bc28,O_RDONLY,<unused>0x1b6) 32229 telnet CALL socket(PF_INET,SOCK_DGRAM,0) David wanted to implement the suggestions which came up at the review from arch@ too, but real life rejected this proposal. So I commit what we already got and let another volunteer pick the remaining work from the ideas list. Submitted by: "David Kirchner" <dpk@dpk.net> Suggested by: FreeBSD ideas list page Reviewed by: arch
* | In change 1.15, an arbitrary setting of the max RPC record size torwatson2006-05-171-11/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | RPC_MAXDATASIZE was introduced. This is believed to have been debugging code committed accidentally, although I've been unable to reach the committer to confirm this. The effect was to limit the size of RPCs on TCP and UDP to 9k, well below the default protocol limits in the libc rpc code. This change simply removes these introduced limits, falling back on the libc definitions. PR: 88856 Reported by: Keith Bostic <bostic at sleepycat dot com> Testing by: Susan LoVerso <sue at loverso dot southborough dot ma dot us> Reveiwed by: cel, rees Review timeout: alfred, mbr MFC after: 2 weeks
* | - Fix warning when compiling with -DDEBUGpav2006-05-151-1/+1
| | | | | | | | Approved by: alfred
* | - Add decoding of kse_release, kevent, sigprocmask, unmount, socket, getrusage,pav2006-05-157-153/+578
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | rename, __getcwd, shutdown, getrlimit, setrlimit, _umtx_lock, _umtx_unlock, pathconf, truncate, ftruncate, kill - Decode more arguments of open, mprot, *stat, and fcntl. - Convert all constant-macro and bitfield decoding to lookup tables; much cleaner than previous code. - Print the timestamp of process exit and signal reception when -d or -D are in use - Try six times with 1/2 second delay to debug the child PR: bin/52190 (updated) Submitted by: Dan Nelson <dnelson@allantgroup.com> Approved by: alfred
* | - Fix crash when hitting unknown syscall. Copied from i386-fbsd.cpav2006-05-155-5/+10
| | | | | | | | Approved by: alfred
* | o Fix typo in a comment.maxim2006-05-151-1/+1
| | | | | | | | | | | | PR: bin/97292 Submitted by: clsung MFC after: 3 days
* | The last execution of -exec {} + is not done if the -exec primary iskrion2006-05-144-4/+21
| | | | | | | | | | | | | | | | | | | | | | not on the top-level -and sequence, e.g. inside of ! or -or. Create a separate linked list of all active -exec {} + primaries and do the last execution for all at termination. PR: bin/79263 Submitted by: Jilles Tjoelker <jilles@stack.nl> MFC after: 7 days
* | Handle SIGINFO in time(1) by printing the time the given command is running.pjd2006-05-142-37/+72
| | | | | | | | I find it quite handy to just hit ^T and see the time.
* | So, what's it supposed to say when you type "make love"?ru2006-05-111-0/+1
| |
* | Use sysctlbynamephk2006-05-111-6/+1
| |
* | Add myself to the freebsd calendar.cokane2006-05-081-0/+1
| |
* | Add myself.itetcu2006-05-081-0/+1
| | | | | | | | Approved by: tmclaugh (mentor)
* | Add myselfsat2006-05-071-0/+1
| | | | | | | | Approved by: krion
* | o Implement "-n" flag: ignore files and directories with user "nodump"maxim2006-05-062-3/+14
| | | | | | | | | | | | | | | | | | flag set. Useful for calculation dump -h dump size. PR: bin/96864 Submitted by: Dmitry Kazarov Obtained from: NetBSD (man page) MFC after: 1 month
* | The port number must be network byte order.ume2006-05-041-4/+3
| |
* | o style: WARNS= -> WARNS?=.maxim2006-05-041-1/+1
| | | | | | | | Spotted by: ru
* | o By popular demand import getent(1) utility: a program retrievesmaxim2006-05-044-0/+701
| | | | | | | | | | | | | | | | | | | | | | and displays entries from the administrative database specified by database, using the lookup order specified in nsswitch.conf(5). PR: bin/79903, bin/88460, bin/96536 Submitted by: Julien Gabel, Dan Nelson, Daniel J. O'Connor Obtained from: NetBSD Discussed with: ume, soc-bushman MFC after: 1 month
* | Move the formatting of the NICE column to a new function format_nice()bde2006-05-041-20/+30
| | | | | | | | | | | | | | | | so that it can be more easily unbroken and extended. Try to use `static', `const' (as appropriate), prototypes declared together, and parameter names in prototypes for all private functions, not just the new one.
* | Fixed some style bugs (mainly missing and wrong splitting of long lines).bde2006-05-041-48/+54
| |
* | Avoid coredumps if stddev cannot be computed (if all datapoints are identical)phk2006-05-021-12/+16
| | | | | | | | Small cleanup of label printing.
* | For the vmstat sub-display:bde2006-05-012-36/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | vmstat.c: Move totfr to be under daefr and prcfr since it logically belongs there. Move all the count fields (wire, act, inact, cache and free) to near the bottom of the sub-display (after all the rate fields) to reduce competition with adjoining sub-displays. systat.1: Move things as above. Attempt to improve missing and poor wording in the description of the fields. The long sentence was hard to parse and didn't say anything about the different units. Increment .Dd.
OpenPOWER on IntegriCloud