VOOZH about

URL: https://aur.archlinux.org/packages/limitcpu

⇱ AUR (en) - limitcpu


Arch Linux User Repository

Search Criteria

Package Details: limitcpu 3.2-1

Git Clone URL: https://aur.archlinux.org/limitcpu.git (read-only, click to copy)
Package Base: limitcpu
Description: A simple cpulimit program that attempts to limit the CPU usage of a process, expressed in percentage.
Upstream URL: https://sourceforge.net/projects/limitcpu/
Licenses: GPL-2.0-only
Submitter: severach
Maintainer: severach (d-air1)
Last Packager: severach
Votes: 3
Popularity: 0.177337
First Submitted: 2015-09-13 10:16 (UTC)
Last Updated: 2026-01-15 07:49 (UTC)

Dependencies (1)

Required by (0)

Sources (1)

Latest Comments

d-air1 commented on 2024-07-07 08:47 (UTC)

If you need help maintaining this, let me know.

Reden commented on 2024-06-19 21:26 (UTC) (edited on 2024-06-19 21:37 (UTC) by Reden)

What makes this better over cpulimit?

Edit: I noticed limitcpu is 31K, while cpulimit is 30K.

For posterity, help lines which demonstrate differences

[reden@pc ~]$ cpulimit
Error: You must specify a cpu limit percentage
Usage: cpulimit [OPTIONS...] TARGET
 OPTIONS
 -l, --limit=N percentage of cpu allowed from 0 to 400 (required)
 -v, --verbose show control statistics
 -z, --lazy exit if there is no target process, or if it dies
 -i, --include-children limit also the children processes
 -h, --help display this help and exit
 TARGET must be exactly one of these:
 -p, --pid=N pid of the process (implies -z)
 -e, --exe=FILE name of the executable program file or path name
 COMMAND [ARGS] run this command and limit it (implies -z)

Report bugs to <marlonx80@hotmail.com>.
[reden@pc ~]$ limitcpu
Error: You must specify a target process
CPUlimit version 3.0
Usage: limitcpu TARGET [OPTIONS...] [-- PROGRAM]
 TARGET must be exactly one of these:
 -p, --pid=N pid of the process
 -e, --exe=FILE name of the executable program file
 The -e option only works when
 cpulimit is run with admin rights.
 -P, --path=PATH absolute path name of the
 executable program file
 OPTIONS
 -b --background run in background
 -f --foreground launch target process in foreground and wait for it to exit
 -c --cpu=N override the detection of CPUs on the machine.
 -l, --limit=N percentage of cpu allowed from 1 up.
 Usually 1 - 400, but can be higher
 on multi-core CPUs (mandatory)
 -m, --monitor-forks Watch children/forks of the target process
 -q, --quiet run in quiet mode (only print errors).
 -k, --kill kill processes going over their limit
 instead of just throttling them.
 -r, --restore Restore processes after they have
 been killed. Works with the -k flag.
 -s, --signal=SIG Send this signal to the watched process when cpulimit exits.
 Signal should be specificed as a number or 
 SIGTERM, SIGCONT, SIGSTOP, etc. SIGCONT is the default.
 -v, --verbose show control statistics
 -z, --lazy exit if there is no suitable target process,
 or if it dies
 -- This is the final CPUlimit option. All following
 options are for another program we will launch.
 -h, --help display this help and exit

tarball commented on 2024-01-29 05:32 (UTC) (edited on 2024-01-29 05:32 (UTC) by tarball)

limitcpu has replaced cpulimit on Debian and some other distributions and is what gets installed when you ask for cpulimit. Could you add a provides clause to mirror this behavior?

cpulimit doesn't have any official status on Arch anymore (it's in the AUR) and IMHO this package should be the preferred one.

Maybe there's no need to rename commands anymore.

aurweb v6.3.4

Report issues here.

Copyright © 2004-2026 aurweb Development Team.

AUR packages are user produced content. Any use of the provided files is at your own risk.