From patchwork Mon Jan 11 19:12:35 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gioele Barabucci X-Patchwork-Id: 8008661 X-Patchwork-Delegate: herbert@gondor.apana.org.au Return-Path: X-Original-To: patchwork-dash@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 825BA9F1C0 for ; Mon, 11 Jan 2016 19:12:47 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id AB27B2024C for ; Mon, 11 Jan 2016 19:12:46 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 6B26620279 for ; Mon, 11 Jan 2016 19:12:45 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934359AbcAKTMo (ORCPT ); Mon, 11 Jan 2016 14:12:44 -0500 Received: from plane.gmane.org ([80.91.229.3]:53214 "EHLO plane.gmane.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934358AbcAKTMo (ORCPT ); Mon, 11 Jan 2016 14:12:44 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aIhtR-00022E-9s for dash@vger.kernel.org; Mon, 11 Jan 2016 20:12:41 +0100 Received: from x4db6b989.dyn.telefonica.de ([77.182.185.137]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 11 Jan 2016 20:12:41 +0100 Received: from gioele by x4db6b989.dyn.telefonica.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 11 Jan 2016 20:12:41 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: dash@vger.kernel.org From: Gioele Barabucci Subject: [PATCH] man: Document ulimit -v Date: Mon, 11 Jan 2016 20:12:35 +0100 Lines: 35 Message-ID: <56938FD6.3010600@svario.it> Mime-Version: 1.0 X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: x4db6b989.dyn.telefonica.de User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0 Sender: dash-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: dash@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Document that `ulimit` can set the `RLIMIT_AS` limit (virtual memory) with the `-v` flag. Fixes: https://bugs.debian.org/78556 Reported-by: Vincent Lefevre Signed-off-by: Gioele Barabucci --- src/dash.1 | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/dash.1 b/src/dash.1 index 832eae7..8b8026d 100644 --- a/src/dash.1 +++ b/src/dash.1 @@ -2114,7 +2114,7 @@ printed; for commands and tracked aliases the complete pathname of the command is printed. .It ulimit Xo .Op Fl H \*(Ba Fl S -.Op Fl a \*(Ba Fl tfdscmlpn Op Ar value +.Op Fl a \*(Ba Fl tfdscmlpnv Op Ar value .Xc Inquire about or set the hard or soft limits on processes or set new limits. @@ -2164,6 +2164,9 @@ show or set the limit on the number of processes this user can have at one time .It Fl n show or set the limit on the number files a process can have open at once +.It Fl v +show or set the limit on the total virtual memory that can be +in use by a process (in kilobytes) .It Fl r show or set the limit on the real-time scheduling priority of a process .El