Commit Graph

54 Commits

Author SHA1 Message Date
wiz
01869ca4d2 Remove workaround for ancient HTML generation code. 2017-07-03 21:28:48 +00:00
sevan
a275f45a6c C Shell appeared in 2BSD, not 3BSD 2016-08-10 17:16:47 +00:00
wiz
cefd6eea55 Bump date for previous. 2013-01-22 21:20:26 +00:00
christos
cd0ed5aa5a Remove alloc builtin, it did not work anyway since most modern malloc
implementation use a combination of sbrk/mmap.
2013-01-22 19:28:00 +00:00
wiz
3957bea1ef Fix whitespace nits. Suggested by Bug Hunting. 2012-03-22 07:58:16 +00:00
njoly
ef6127c9f2 Fix sub-section references. 2011-03-09 22:26:36 +00:00
joerg
899808a54d Use .In instead of .Aq .Pa for signal.h. 2010-03-22 18:33:27 +00:00
wiz
7d6100a52d Bump date for previous. 2009-03-29 08:54:10 +00:00
mrg
fcc023545e - add new RLIMIT_AS (aka RLIMIT_VMEM) resource that limits the total
address space available to processes.  this limit exists in most other
modern unix variants, and like most of them, our defaults are unlimited.
remove the old mmap / rlimit.datasize hack.

- adds the VMCMD_STACK flag to all the stack-creation vmcmd callers.
it is currently unused, but was added a few years ago.

- add a pair of new process size values to kinfo_proc2{}. one is the
total size of the process memory map, and the other is the total size
adjusted for unused stack space (since most processes have a lot of
this...)

- patch sh, and csh to notice RLIMIT_AS.  (in some cases, the alias
RLIMIT_VMEM was already present and used if availble.)

- patch ps, top and systat to notice the new k_vm_vsize member of
kinfo_proc2{}.

- update irix, svr4, svr4_32, linux and osf1 emulations to support
this information.  (freebsd could be done, but that it's best left
as part of the full-update of compat/freebsd.)


this addresses PR 7897.  it also gives correct memory usage values,
which have never been entirely correct (since mmap), and have been
very incorrect since jemalloc() was enabled.

tested on i386 and sparc64, build tested on several other platforms.

thanks to many folks for feedback and testing but most espcially
chuq and yamt for critical suggestions that lead to this patch not
having a special ugliness i wasn't happy with anyway :-)
2009-03-29 01:02:48 +00:00
joerg
51c2955e45 Use .Rs/.Re for reference to C shell introduction. 2009-03-13 14:07:54 +00:00
wiz
9a3995e433 Remove weird backslash that somehow must have crept in.
Found by joerg and mdocml.
2009-03-03 15:11:29 +00:00
jschauma
9bb0acaf30 The correct syntax for csh's pushd with a numeric argument is
pushd +n
not
pushd n
2004-04-20 01:43:03 +00:00
wiz
ae25ed4085 Document rlimit sbsize; case consistency; bump date. 2004-04-17 15:45:08 +00:00
agc
b5b2954259 Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22249, verified by myself.
2003-08-07 09:05:01 +00:00
wiz
3013c9b400 cpu -> CPU. 2003-07-14 08:58:12 +00:00
wiz
dcc13ddb7d Some grammar and punctuation fixes from jmc@openbsd. 2003-05-01 13:50:58 +00:00
wiz
ef0b6f6662 Bump date for last. 2003-04-05 09:14:01 +00:00
fair
eb1f0e9546 Additional text & formatting for the csh "limit" command;
hopefully this satisfies PR 11658
2003-04-05 00:59:20 +00:00
wiz
990562bfef .Nm does not need a dummy argument ("") before punctuation or
for correct formatting of the SYNOPSIS any longer.
2003-02-25 10:34:36 +00:00
wiz
14dfaa4b03 New policy: New sentences start on a new line.
Patches by Robert Elz <kre at munnari oz au>, with minimal changes by me.
2002-09-25 15:18:36 +00:00
ross
dc5571b22e Generate <>& symbolically. I'm avoiding .../dist/... directories for now. 2002-02-08 01:21:55 +00:00
ross
0271045b3e type in ^ directly, instead of \(ua which isn't in all the fonts 2002-02-06 12:51:13 +00:00
wiz
3fc2bda98b Document set time variables, and the format strings recognized.
Based on the patch provided by Jonathan Perkins in PR 14465.
2001-12-12 13:10:44 +00:00
wiz
98af901532 Whitespace, punctuation fixes. Sort sections. 2001-10-17 21:50:57 +00:00
fair
7f36bd20e2 Add references to getrlimit(2) and setrlimit(2) under the csh built-in
"limit" command, so as to more completely document the workings of this
command, per PR 11658.
2001-03-16 08:45:33 +00:00
lukem
091dffc1a7 fix borken Xr 2000-11-07 01:45:04 +00:00
ad
5b09090e8e insure -> ensure 2000-10-05 12:35:33 +00:00
mason
fccb8467cd Improved style: "For definiteness" becomes "For example". 2000-05-21 00:48:45 +00:00
bouyer
d406538de6 xref sysctl(8) (for proc.<pid>.rlimits) 1999-09-28 14:54:41 +00:00
hubertf
c684000231 Document csh's -m switch.
Patch submitted in PR 5802 by Greg A. Woods <woods@planix.com>
1999-07-30 01:08:12 +00:00
mycroft
3685172739 More punctuation glitches. 1999-04-20 05:49:50 +00:00
mycroft
89f51b033e Fix formatting of kill commands. 1999-04-20 05:44:42 +00:00
mycroft
62af15cbc6 Fix a few obvious formatting glitches: missing paragraph break, highlighted
parens.
1999-04-20 05:31:55 +00:00
garbled
f124765044 More and more .Os cleanups. .Os is defined in the tmac.doc-common file,
so we shouldn't override it with versions in the manpages.  Many more to
come.
1999-03-22 18:25:43 +00:00
ross
97f8529d3c Document the bizarre right-to-left grouping of csh expression terms. 1999-01-24 09:44:23 +00:00
msaitoh
07a4bb0c95 fix some bugs. 1998-06-11 00:58:31 +00:00
msaitoh
ecf9000778 fix a bug. 1998-05-28 14:56:42 +00:00
msaitoh
d5977957e6 fix "/bin/login" to '/usr/bin/login" 1998-05-28 13:35:05 +00:00
kleink
892884f299 * Add support for POSIX "kill [-s signame] pid" syntax; actually fixes PR 5327.
* Complete the "kill -l [exitstatus]" syntax.
* Sync with the documentation and no longer permit the use of full signal
  names in the "kill [-sig] pid" syntax, e.g. -SIGHUP.
1998-05-10 18:32:46 +00:00
enami
b130b4f87b - Fix .Nm usage (same of .Nm is replaced with .Sx, .Em, .Ic etc).
- Use .Sx to refer section.
1997-10-20 08:46:18 +00:00
pk
6d865e0768 Use .Xr (from PR#3627) 1997-06-23 20:30:24 +00:00
mikel
90490d03b2 fix xrefs: sigvec(2) -> sigaction(2), killpg(2) -> killpg(3). 1997-05-12 08:00:09 +00:00
mouse
412433b44c alternate -> alternative, per PR 2643 1997-03-08 13:26:20 +00:00
jtc
a29e2412d6 Fix formatting of description of @ command; From PR #2577 1996-06-30 23:16:32 +00:00
cgd
49f0ad8601 convert to new RCS id conventions. 1995-03-21 09:01:59 +00:00
mycroft
cee2bad89f Merge 4.4-Lite version. 1994-09-21 00:10:23 +00:00
jtc
41954280cb spelling mistakes 1994-02-03 17:47:18 +00:00
mycroft
b1bd4afedc Add RCS indentifiers. 1993-08-01 07:42:49 +00:00
cgd
0bb51755a7 fix some spacing/character problems... 1993-07-13 06:54:18 +00:00
mycroft
8b0cd33cf6 Fix various bugs in man pages (from 386BSD patch 130). 1993-04-22 03:32:02 +00:00