Ignore:
Timestamp:
Jan 1, 2014, 12:47:38 AM (7 years ago)
Author:
Bruno Cornec
Message:
  • Update mindi-busybox to 1.21.1
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.2/mindi-busybox/miscutils/taskset.c

    r2725 r3232  
    66 * Licensed under GPLv2 or later, see file LICENSE in this source tree.
    77 */
     8
     9//usage:#define taskset_trivial_usage
     10//usage:       "[-p] [MASK] [PID | PROG ARGS]"
     11//usage:#define taskset_full_usage "\n\n"
     12//usage:       "Set or get CPU affinity\n"
     13//usage:     "\n    -p  Operate on an existing PID"
     14//usage:
     15//usage:#define taskset_example_usage
     16//usage:       "$ taskset 0x7 ./dgemm_test&\n"
     17//usage:       "$ taskset -p 0x1 $!\n"
     18//usage:       "pid 4790's current affinity mask: 7\n"
     19//usage:       "pid 4790's new affinity mask: 1\n"
     20//usage:       "$ taskset 0x7 /bin/sh -c './taskset -p 0x1 $$'\n"
     21//usage:       "pid 6671's current affinity mask: 1\n"
     22//usage:       "pid 6671's new affinity mask: 1\n"
     23//usage:       "$ taskset -p 1\n"
     24//usage:       "pid 1's current affinity mask: 3\n"
    825
    926#include <sched.h>
Note: See TracChangeset for help on using the changeset viewer.