Package: cpulimit Version: 1.9-2 Severity: normal It is impossible to pass options to the sub-process but you can pass arguments to it. Looks like cpulimit needs to stop processing options at the first non-option argument:
pabs@chianamo ~ $ cpulimit --limit 40 apt-file search -a source -i .jp2 cpulimit: invalid option -- 'a' CPUlimit version 1.9 Usage: cpulimit TARGET [OPTIONS...] [PROGRAM] ... pabs@chianamo ~ $ cpulimit --limit 40 apt-file search .jp2 ; ps auxf | grep jp2 Process 29793 detected pabs 29796 0.0 0.0 10292 892 pts/6 S+ 16:55 0:00 \_ grep --color=auto jp2 pabs 29793 0.0 0.0 22100 3264 pts/6 R 16:55 0:00 /usr/bin/perl -w /usr/bin/apt-file search .jp2 pabs 29794 0.0 0.0 8476 500 pts/6 S 16:55 0:00 cpulimit --limit 40 apt-file search .jp2 -- System Information: Debian Release: jessie/sid APT prefers testing APT policy: (900, 'testing'), (800, 'unstable'), (700, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 3.12-1-amd64 (SMP w/4 CPU cores) Locale: LANG=en_AU.utf8, LC_CTYPE=en_AU.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages cpulimit depends on: ii libc6 2.17-97 -- bye, pabs http://wiki.debian.org/PaulWise
signature.asc
Description: This is a digitally signed message part