Util-Linux package development
 help / color / mirror / Atom feed
* Separate taskset arguments from the command arguments
@ 2016-02-27 18:46 Akshay Adiga
  2016-02-27 22:52 ` Yuriy M. Kaminskiy
  0 siblings, 1 reply; 4+ messages in thread
From: Akshay Adiga @ 2016-02-27 18:46 UTC (permalink / raw)
  To: util-linux

Hi,

I want to run a command which looks something like this :

taskset -c 10 ycsb -p "redis_host=1234"

The actual command is :

ycsb -p "redis_host=1234"

But argument -p "redis_host=1234" is taken by taskset as it argument
and throws an error : Failed to set pid 0's affinity:

-p "redis_host=1234" is an argument to ycsb command. shell/tasket
misunderstands that and takes it as an argument for taskset.

Is there a work around for this?

--
Regards --
Akshay Adiga

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-02-29  7:12 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-27 18:46 Separate taskset arguments from the command arguments Akshay Adiga
2016-02-27 22:52 ` Yuriy M. Kaminskiy
2016-02-28  0:23   ` Yuriy M. Kaminskiy
2016-02-29  7:12     ` Akshay Adiga

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox