You are not logged in.
Pages: 1
I'm trying to assign a process to one core of my machine using taskset. But it gives me this error:
$ sudo taskset 0x00000001 -p 20145
Password:
execvp: No such file or directory
failed to execute -p
What do I have to do to make it work?
Thanks
Last edited by snack (2010-03-31 15:14:47)
Offline
Install GCC and an Assembler.
And this link:
http://www.google.com/search?hl=en&clie … tnG=Search
My Linux & Progamming Blog - Jimmy Burnett
Offline
I have GCC, but can't find assembler in repo. Maybe the package name is different? Here's what I get:
$ sudo pacman -Ss assembler
core/bin86 0.16.17-4 (base-devel)
A complete 8086 assembler and loader
extra/hping 3.0.0-1
hping is a command-line oriented TCP/IP packet assembler/analyzer.
extra/nasm 2.07-1
80x86 assembler designed for portability and modularity
Offline
I have GCC, but can't find assembler in repo. Maybe the package name is different? Here's what I get:
$ sudo pacman -Ss assembler core/bin86 0.16.17-4 (base-devel) A complete 8086 assembler and loader extra/hping 3.0.0-1 hping is a command-line oriented TCP/IP packet assembler/analyzer. extra/nasm 2.07-1 80x86 assembler designed for portability and modularity
Did you try only installing gcc? I don't think Assembler brings something to the solution.
Offline
I think that GCC is actually on my system:
$ pacman -Qs gcc
local/gcc 4.4.3-2 (base-devel)
The GNU Compiler Collection
local/gcc-fortran 4.4.3-2
Fortran front-end for GCC
local/gcc-libs 4.4.3-2 (base)
Runtime libraries shipped by GCC for C and C++ languages
local/gcc34 3.4.6-2
The GNU Compiler Collection
Offline
Install the package gcc-libs.
Offline
Install the package gcc-libs.
It's already there:
$ pacman -Qs gcc-libs
local/gcc-libs 4.4.3-2 (base)
Runtime libraries shipped by GCC for C and C++ languages
Offline
The problem you get is about the use of arguments.
See this link.
Offline
The problem you get is about the use of arguments.
See this link.
Perfect, it solved the problem. Many thanks n0dix, it was not simple for me because the web is full of pages reporting the wrong syntax.
Offline
Pages: 1