[Bug 1198029] Re: taskset hangs
Worik
1198029 at bugs.launchpad.net
Sat Oct 12 03:44:39 UTC 2013
On 12/10/13 13:21, Phillip Susi wrote:
> Does taskset -c /bin/bash also hang for you?
>
>
> ** Changed in: util-linux (Ubuntu)
> Status: New => Incomplete
>
$ taskset -c /bin/bash
Usage: taskset [options] [mask | cpu-list] [pid|cmd [args...]]
Options:
-a, --all-tasks operate on all the tasks (threads) for a given pid
-p, --pid operate on existing given pid
-c, --cpu-list display and specify cpus in list format
-h, --help display this help
-V, --version output version information
The default behavior is to run a new command:
taskset 03 sshd -b 1024
You can retrieve the mask of an existing task:
taskset -p 700
Or set it:
taskset -p 03 700
List format uses a comma-separated list instead of a mask:
taskset -pc 0,3,7-11 700
Ranges in list format can take a stride argument:
e.g. 0-31:2 is equivalent to mask 0x55555555
For more information see taskset(1).
--
"As I went walking I saw a sign there And on the sign it said 'No
Trespassing' But on the other side it didn't say nothing, That side
was made for you and me" – Woody
worik.stanton at gmail.com 021-1680650, (03) 4821804
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to util-linux in Ubuntu.
https://bugs.launchpad.net/bugs/1198029
Title:
taskset hangs
Status in “util-linux” package in Ubuntu:
Incomplete
Bug description:
mythtv-setup hangs on
xterm -title "MythTV Setup Terminal" -e taskset -c 0 /usr/bin/mythtv-
setup.real --syslog local7
xterm -title "MythTV Setup Terminal" -e /usr/bin/mythtv-setup.real
--syslog local7
fixes it.
I've filed this in mythtv too.
Using ubuntu 12.10
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/util-linux/+bug/1198029/+subscriptions
More information about the foundations-bugs
mailing list