---
name: "vlimit"
section: "8"
platform: "linux"
package: "util-vserver"
version: "0.30.216-pre3120-1.4+b11"
release: "Debian 10 (Buster)"
platforms: ["linux"]
url: "https://new.carta.tech/vlimit"
---

# vlimit(8)

limits context-resources

## NAME

vlimit - limits context-resources

## SYNOPSIS

**vlimit** \[*--xid\|-c \<xid\>*\] \[*-nd*\] \[*-a\|--all*\] \[\[*-MSH*\] *--(\<resource\>\|\<nr\>) \<value\>*\]*\**

## DESCRIPTION

-

  \[--dir \<pathname\> \[--missingok\]\] \[--\] \[\<program\> \<args\>\*\]

## OPTIONS

**-c**\|--xid \<xid\>

- ...

  operate on context \<xid\>

- **-a**\|--all

  ...  show all available limits

- **-n**

  ...  do not resolve limit-names

- **-d**

  ...  show limits in decimal

- **-M**

  ...  set Minimum limit

- **-S**

  ...  set Soft limit

- **-H**

  ...  set Hard limit (assumed by default, when neither M nor S was requested)

**--dir** \<pathname\>

- ...

  read limits from \<pathname\>/; allowed filenames are \<resource\> and \<resource\>.{min,soft,hard}. When a limit was set by the CLI already, the corresponding file will be ignored

- **--missingok** ...

  do not fail when \<pathname\> does not exist

**--**\<resource\>\|\<nr\> \<value\>

- ...

  set specified (MSH) limit for \<resource\> to \<value\>

Valid values for resource are cpu, fsize, data, stack, core, rss, nproc, nofile, memlock, as, locks, msgqueue, nsock, openfd, anon, shmem, semary, nsems, and dentry.

Please report bugs to vserver@list.linux-vserver.org

This program is part of util-vserver

## COPYRIGHT

Copyright © 2003 Enrico Scholz This program is free software; you may redistribute it under the terms of the GNU General Public License.  This program has absolutely no warranty.
