[CentOS] how to assign program to run on dedicate CPU ?
Denniston, Todd A CIV NAVSURFWARCENDIV Crane
todd.denniston at navy.milThu Jul 21 19:46:52 UTC 2011
- Previous message: [CentOS] how to assign program to run on dedicate CPU ?
- Next message: [CentOS] Using shell variables inside the ftp client
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
> -----Original Message----- > From: centos-bounces at centos.org [mailto:centos-bounces at centos.org] On > Behalf Of Ljubomir Ljubojevic > Sent: Thursday, July 21, 2011 15:11 > To: CentOS mailing list > Subject: Re: [CentOS] how to assign program to run on dedicate CPU ? > > Denniston, Todd A CIV NAVSURFWARCENDIV Crane wrote: <SNIP> > > I should probably have just answered `man taskset`, but the below got > > typed too quickly. > > > > CONTROLEDPID=`ps aux |grep 'name of process I want to control` > > PROCESSORTORUNON=3 > > Taskset -p -c $PROCESSORTORUNON $ PROCESSORTORUNON > > You meant: > taskset -p -c $PROCESSORTORUNON $CONTROLEDPID > Yep, yet more evidence that it "got typed to quickly". :)
- Previous message: [CentOS] how to assign program to run on dedicate CPU ?
- Next message: [CentOS] Using shell variables inside the ftp client
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the CentOS mailing list