What's wrong with this command?: taskset --cpu-list 1 -p 123456
Jump to turn (7)
- 1What's wrong with this command?: taskset --cpu-list 1 -p 123456
- 2123456 is supposed to be the pid, though
- 3So, what does it mean then that I get the following error?: taskset: failed to e
- 4The util-linux packageis installed on my system.
- 5I'm running it as root on Debian (testing).
- 6I'm running it as root on Debian (testing), and I tried the absolute path.
- 7Could a kernel upgrade without a reboot cause this issue?
- User
What's wrong with this command?: taskset --cpu-list 1 -p 123456
- Assistant
The command is missing the process ID (PID) after the "-p" flag. The correct format should be:
taskset --cpu-list 1 -p 123456 pid
- User
123456 is supposed to be the pid, though
- Assistant
Apologies for the confusion. The command you provided is correct: