Commit Graph

6904 Commits

Author SHA1 Message Date
alfred
be6583af8d Tell what percentage of the total IO a process is doing.
TODO: Show system totals.
2004-07-01 15:49:28 +00:00
alfred
a3ca6951ac New feature, provide a display that shows the amount of IO processes
are doing.  Toggle this mode by hitting "m" or passing the command line
option "-m io" to top(1).  This allows one to identify disk bandwidth
hogs much easier.
2004-07-01 09:12:38 +00:00
schweikh
a396a9f56a Bump document date.
Submitted by:	ru
2004-06-30 19:56:16 +00:00
alfred
4c59635545 style, remove register. 2004-06-30 04:19:23 +00:00
green
921702fbbb Make vmstat -m work with -M/-N again. Note that making vmstat -z work
is much harder, and -m is grossly using unexported interfaces (that is,
the array of malloc zones/sizes does not have an exported type).
2004-06-30 01:34:26 +00:00
dwmalone
c5bc78b979 1) ANSIfy.
2) Use %p to print a pointer.
3) Use longs for fileids and ino to avoid comparing signed and unsigned.
4) Make the KVM_READ macro a little more cranky.
5) Set WARNS while I'm here.
2004-06-29 21:28:09 +00:00
dwmalone
f77f5b2177 The type of some aout header types changed to uint_32, so now we need
to cast to long before printing. While I'm here, raise WARNS to 6.
2004-06-29 21:13:15 +00:00
ps
8ae489c758 Add SACK statistics to netstat. 2004-06-29 20:05:45 +00:00
schweikh
43b9d130eb Document recently acquired options.
PR:		67983
Submitted by:	Chip Norkus <wd@teleri.net>
MFC after:	2 weeks
2004-06-29 18:57:13 +00:00
kientzle
a42639f617 Add yet another synonym for -n. 2004-06-28 14:02:22 +00:00
dd
e1ea259ec3 Fix spelling error in my own paragraph. 2004-06-28 11:18:47 +00:00
tjr
37e6212820 Document incorrect handling of multibyte characters in input files
and character string arguments.
2004-06-28 07:19:11 +00:00
tjr
cedc67b323 Describe the algorithm used by the -n option. 2004-06-28 06:20:28 +00:00
tjr
c47c24567e Move some variable declarations to the top of the file. 2004-06-28 06:05:36 +00:00
kientzle
7c67466c0e Update -p:
* Don't change the umask; the library now ignores the umask if
    you set EXTRACT_PERM
  * Set the EXTRACT_ACL and EXTRACT_FFLAGS bits (used to be
    controlled by EXTRACT_PERM).
2004-06-27 23:29:44 +00:00
kientzle
45374d52e8 Warn about stripping leading '/' when creating archives. 2004-06-27 18:32:14 +00:00
tjr
775fbabb11 Silence a warning about an unused argument. 2004-06-27 16:58:56 +00:00
tjr
065e7a9c3a Correct the description of the -f option: input and output fields are
separated by the field delimiter character, which is not necessarily
the tab character.
2004-06-27 16:55:25 +00:00
tjr
e2e364aea2 Handle multibyte characters when cutting out fields (-f and -d options.) 2004-06-27 16:42:33 +00:00
tjr
7716cca65c Update a comment that compared the parser with an obsolete draft of
IEEE Std 1003.2-1992. Most of the "extensions" here were actually
required by the final version of the standard.
2004-06-27 15:27:15 +00:00
tjr
b078bd951f Add cross-reference to colrm(1). 2004-06-27 14:57:42 +00:00
tjr
6d202c45e8 Implement the -c option correctly in locales with multibyte characters
instead of treating it as a synonym for -b.
2004-06-27 14:55:07 +00:00
schweikh
cda5759b11 Fix problems with non-8 space tabs. New options for function
declarations with the opening brace on the same line as the declaration
of arguments all spaces and no tabs (a feature which exists in GNU's
indent). Man page update to follow RSN.

PR:		bin/67983
Submitted by:	Chip Norkus <wd@teleri.net>
Style guidance and bug for bug compatibility by:	bde
MFC after:	2 weeks
2004-06-27 10:58:37 +00:00
tjr
3ee62ebc6a Make the handling of invalid multibyte sequences more robust by using
mbrlen() instead of mblen().
2004-06-27 10:35:28 +00:00
kientzle
3d7767f6a6 Augment the -T handling:
* Add --null option (sort #defines here)
 * Add process_lines function to util.c that reads newline-terminated
   or null-terminated lines (with self-sizing buffers, etc) and iteratively
   invokes a provided function.  Use this to dramatically simplify:
   -T handling for -c, --exclude-from-file, and --include-from-file.
 * Add -T handling to -x (via include_from_file)

Hopefully, this will fix the openoffice port and a couple of
others that rely on -T and --null.
2004-06-27 06:29:03 +00:00
kientzle
50a3c505b7 Fix "@-" which has apparently been broken for some time. <sigh>
While I'm here, add in a lot more error-checking around append_archive.
2004-06-27 03:28:13 +00:00
kientzle
f09bf31ca6 Don't abort immediately on directory change errors.
Instead, display a warning, clean up, and let main() return the error.
In particular, this means that chdir() problems won't leave broken
archives, though they will prompt an error exit value.
2004-06-27 01:08:54 +00:00
kientzle
e8acbf6e4a Document the -W convention for accessing long options.
Also correct an old error: there was no tar command in Sixth Edition.
2004-06-26 22:58:29 +00:00
kientzle
87393e623e Rename C=dir to -C dir, which is what people expect.
This requires some non-trivial surgery to the options parsing.

While here, let people who only have getopt() access long options
through the -W longopt=value convention.
2004-06-26 22:49:51 +00:00
tjr
040484269f Add support for multibyte characters in input files and delimiter
strings (arguments to the -d option.) This involves backing out paste.c
rev. 1.13 until we have a version of fgetln() that operates on wide
character streams.
2004-06-25 01:48:43 +00:00
tjr
54860bd661 Document the fact that uniq(1) does not recognize multibyte characters. 2004-06-24 16:29:28 +00:00
tjr
c289deada6 Document the fact that join(1) does not recognize multibyte characters. 2004-06-24 16:24:11 +00:00
tjr
84f9f218ff Copy the warning about incorrect multibyte character handling from vis(3). 2004-06-24 16:08:02 +00:00
tjr
2ac4897f7e Document the fact that comm(1) does not recognize multibyte characters
in its input. Although doing so would require only trivial changes,
it would be incompatible with the ordering used by sort(1), which is the
primary source of comm's input.
2004-06-24 15:57:56 +00:00
tjr
ad77b94d87 Add support for multibyte characters and characters that take up more
than one column position.
2004-06-24 15:12:29 +00:00
tjr
753aa89d40 Add support for multibyte characters and for characters that take up
more than one column position.
2004-06-24 13:48:28 +00:00
des
af59f4ef51 The description of the -S option in the man page says we won't fail if the
remote size is unknown, but we do.  Resolve this in the man page's favor.

Requested by:   Andre Albsmeier <andre.albsmeier@siemens.com>
MFC after:	1 week
2004-06-24 13:43:57 +00:00
tjr
c3008b9fcb Add support for multibyte characters and for characters that take up
more than one column position.
2004-06-24 13:42:26 +00:00
tjr
d17d331fdb Prefix the names of members of _RuneLocale and its sub-structures
with ``__'' to avoid polluting the namespace. This doesn't change the
documented rune interface at all, but breaks applications that accessed
_RuneLocale directly.
2004-06-23 07:01:44 +00:00
stefanf
f6b8a1cfea Retire support for gprof's -c option. All our currently supported
architectures only provide a dummy implementation.

Silence on:	current@
2004-06-20 11:05:25 +00:00
phk
2915a5701e Second half of the dev_t cleanup.
The big lines are:
	NODEV -> NULL
	NOUDEV -> NODEV
	udev_t -> dev_t
	udev2dev() -> findcdev()

Various minor adjustments including handling of userland access to kernel
space struct cdev etc.
2004-06-17 17:16:53 +00:00
mlaier
ce7530e4d3 Commit userland part of pf version 3.5 from OpenBSD (OPENBSD_3_5_BASE). 2004-06-16 23:39:33 +00:00
bms
9b881c2bf7 Make netstat(1) more closely follow documented behaviour. If a TCP
socket in LISTEN state happens to be bound to an interface, it will
show up in netstat(1) output even without the -a switch.

As the definition of "sockets used by server processes" is a
difficult one to qualify with regards to UDP, do not change the
output behaviour for UDP sockets.

PR:		bin/26359
2004-06-16 07:00:50 +00:00
markm
4f2cecd4a6 Oops. My last commit included a bug that would make "su -m" always
use /bin/sh. Fix this.
2004-06-15 20:23:02 +00:00
bms
39091c88b4 mdoc(7) police
Submitted by:	ru
2004-06-15 16:48:42 +00:00
kientzle
b52c13d899 Update some internal comments about the --no-same-permissions option.
Thanks to: Kris Kennaway for doing some gtar research for me.
2004-06-15 07:16:44 +00:00
kientzle
f0cc452c7c As near as I can tell, --no-same-permissions is a no-op in
gtar, so that makes it easy to implement.

Required by: audio/timidity port
Thanks to: Kris Kennaway
2004-06-15 06:44:41 +00:00
kientzle
bda9b5769a Oops. bsdtar's old -X option didn't take an argument; the new
(gtar-compatible) one does require an argument.
2004-06-15 06:24:54 +00:00
kientzle
b945d45b1e Add gtar-compatible -X/--exclude-from 2004-06-15 05:55:41 +00:00
kientzle
069a4edf5f Fix build. 2004-06-15 01:51:45 +00:00