diff --git a/docs/cloudlinuxos/command-line_tools/README.md b/docs/cloudlinuxos/command-line_tools/README.md index e0d32140f..bf7e4eba8 100644 --- a/docs/cloudlinuxos/command-line_tools/README.md +++ b/docs/cloudlinuxos/command-line_tools/README.md @@ -2906,11 +2906,12 @@ cldeploy --hostinglimits # update httpd and install m **Per-domain commands** -These manage [CloudLinux Isolates](/cloudlinuxos/isolates/#lve-per-domain) — resource limits for an individual website rather than for the whole account. They require a kernel with per-domain LVE support; on a kernel without it every one of them exits with code `38` and the message `Domain limits are not supported by this kernel`. +These manage [CloudLinux Isolates](/cloudlinuxos/isolates/#lve-per-domain) — resource limits for an individual website rather than for the whole account. They require a kernel with per-domain LVE support; on a kernel without it every one of them except `regenerate-domains` exits with code `38` and the message `Domain limits are not supported by this kernel`. On such a kernel `regenerate-domains` changes nothing and still exits successfully, so its exit status does not show whether per-domain limits are available. | | | |--|--| | `list-domains ` |list the domain LVEs inside the user LVP of the account with the given numeric UID. Reports `UID ... does not exist` for an unknown account and `No domain limits configured for UID ...` for a known one that has none| +| `list-domain-limits ` |print, as JSON, the limits the kernel holds for each registered domain of the account given by user name or numeric UID. Each row of the `data` array has `domain`, `docroot`, `lve_id`, `in_kernel` and `limits` (`cpu` in hundredths of a percent, `pmem` and `vmem` in bytes, `io` in KB/s). `in_kernel` is `false` and `limits` is `null` while the domain LVE does not exist yet; the site then runs within the account's limits. `domain` is `null` for a registered document root that the panel no longer lists. Supported in lve-utils 6.6.43-1 or later| | `allow-domain-limits ` |create the user LVP and allow per-domain limits for the named user (idempotent)| | `deny-domain-limits ` |remove the user LVP and disallow per-domain limits for the named user| | `enable-domain-limits ` |register a domain LVE under its owner's LVP. The owner and document root are resolved from the control panel, so only the domain name is given| @@ -2925,8 +2926,8 @@ Under a control panel, use the [CageFS Isolates commands](/cloudlinuxos/isolates | | | |--|--| -| `--enter-count` |enable limit for enters count (by default disabled), use only with command "limit". Supported in lve-utils-6.1.2-1 or later. | -| `--io-and-memory` |enable limit for IO and memory (by default disabled), use only with command "limit". Supported in lve-utils-6.1.2-1 or later. | +| `--enters-count` |enable limit for enters count (by default disabled), use only with command "limit", before the PID: `lvectl limit --enters-count `. Supported in lve-utils-6.1.2-1 or later. | +| `--io-and-memory` |enable limit for IO and memory (by default disabled), use only with command "limit", before the PID. Supported in lve-utils-6.1.2-1 or later. | | `--cpu=N` |limit `CPU` usage; (deprecated. Use `--speed`)| | `--speed=N%` |limit `CPU` usage in percentage; 100% is one core| | `--speed=Nmhz\ghz` |limit `CPU` usage in mhz\ghz| @@ -2991,7 +2992,7 @@ Under a control panel, use the [CageFS Isolates commands](/cloudlinuxos/isolates
``` -lveps [-p] [-n] [-o ] [-d] [-c