Possible Duplicate:
  How can I set the processor affinity of a process on Linux?  




Computer CPUs have many cores insde them nowadays.

I have always wondered if there is a way to, when I start a process on the Linux command line, specify which particular core or cores that process might use?

For example, can I start a massive grep task and say "use ALL of CPU2 for yourself".

Or could I start a find task and say "never leave CPU3".

Or maybe I could start a video decoding task and say "use whatever is available on CPU1 and CPU2"

OR, is there no way to do this because it is not needed and the OS is doing this kind of stuff intelligently by itself (based on nice levels and general resource usage of the process etc)

IfyouknowwhatImean


Question: Can the word "facet" be used in a sentence like this one?
Answer: A facet is usually one aspect or 'face' of something. We usually talk about a facet of something. Probably because a facet of something is literally one 'face' of it, we don't about facets in things - think of a diamond with many facets. The facets are the flat surfaces or faces on the diamond.

We often talk about facets of jobs, problems and even people's characters, but we don't talk about people themselves having facets. Your sentence, nonetheless, sounds strangely correct as well as definitely wrong. I think this is because the word facet rhymes with the word asset, which would be perfect in your sentence:


  Leadership skills are also a valued asset in a friend. 


Valuable asset is a very common collocation in English. Asset, as I'm sure you know, means a beneficial or useful thing. Here's the definition from Oxford Dictionaries Online:


  NOUN 1. 
  A useful or valuable thing or person:
  
  
  quick reflexes were his chief assets
  the school is an asset to the community
  


In case you're interested in the etymology of facet, here is the entry from the Online Etymology Dictionary:


  facet (n.)
  1620s, from French facette (12c., Old French facete), diminutive of face (see face (n.)). The diamond-cutting sense is the original one. Related: Faceted; facets.