Install the scedtools package and then just start your processes like this:
taskset -c 0 ./startcommand Where do i find the "scedtools package" ? Tried apt-cache search and google. Cant find it. Med vennlig hilsen: Andreas Kang Schøyen -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Scott Tuttle Sent: Tuesday, February 06, 2007 8:33 PM To: hlds_linux@list.valvesoftware.com Subject: RE: [hlds_linux] CPU Usage http://www.mail-archive.com/search?l=hlds_linux%40list.valvesoftware.com&q=f orce+processor 3rd result down.... > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > Andreas Kang Schøyen > Sent: Tuesday, February 06, 2007 2:01 PM > To: hlds_linux@list.valvesoftware.com; > hlds_linux@list.valvesoftware.com > Subject: [hlds_linux] CPU Usage > > This is a multi-part message in MIME format. > -- > [ Picked text/plain from multipart/alternative ] > My hardware, opteron socket 939, dual core, 4gig mem. > running debian.64 > > it looks to me as my 3 srcds proccesses runs only on one of > the CPUs, how can i define a process to run on a spesific CPU > or the one with less load? > > top - 20:04:35 up 8:32, 1 user, load average: 1.08, 1.19, 1.24 > Tasks: 53 total, 1 running, 52 sleeping, 0 stopped, 0 zombie > Cpu(s): 40.0% us, 0.5% sy, 0.0% ni, 58.3% id, 0.0% wa, > 0.5% hi, 0.7% si > Mem: 1995736k total, 816828k used, 1178908k free, > 28828k buffers > Swap: 1614492k total, 0k used, 1614492k free, > 462332k cached > PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND > 2992 cs 15 0 175m 95m 13m S 66.2 4.9 219:49.32 srcds_amd > 2982 cs 15 0 148m 69m 12m S 15.0 3.6 5:50.00 srcds_amd > 3012 cs 15 0 171m 93m 12m S 0.7 4.8 0:13.11 srcds_amd > > > [EMAIL PROTECTED]:~$ mpstat -P ALL > Linux 2.6.19 (cs22) 02/06/2007 > 08:04:53 PM CPU %user %nice %system %iowait %irq > %soft %idle intr/s > 08:04:53 PM all 21.40 0.00 0.25 0.16 0.32 > 0.50 77.37 2787.73 > 08:04:53 PM 0 11.45 0.00 0.16 0.05 0.00 > 0.14 88.20 8.64 > 08:04:53 PM 1 31.36 0.00 0.33 0.26 0.64 > 0.86 66.54 2779.09 > > -- > > _______________________________________________ > To unsubscribe, edit your list preferences, or view the list > archives, please visit: > http://list.valvesoftware.com/mailman/listinfo/hlds_linux _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlds_linux _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlds_linux