On 04/15/12 16:27, Mahesh Babu wrote:
1. How to find in which core the given process is running?

You can see it in top.

2. How to force a process to run in a particular core? for example: I need to 
run process ID 1200 in core 2.

Use cpuset. You can either run it in the first place on core 2 with cpuset -l 2 <cmd> or switch an existing process cpuset -l 2 -p 1200.
-Nathan
_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"

Reply via email to