Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I am on windows (7) and i'd like to have imagemagick make a thumb. I'm using append so it isnt doing one file at a time but many. I figured out how to limit the memory usage (-limit area). I don't suppose i can do the same for CPU can i? I know i can make it use more then one thread/core for more speed but i'm planning to run it on machines with one cpu and would rather not have it use up all the cpu power.

Also i am spawning the process via Process class in .NET

share|improve this question

1 Answer 1

up vote 2 down vote accepted

Most operating systems allow you to set priority values (or equivalent) for processes. This effectively limits the degree to which that process can use CPU time in competition with other processes.

See http://stackoverflow.com/q/1374817/477035

share|improve this answer
    
The mentioned StackOverflow is only useful for developers. I assume the the similar question from Superuser will help acidzombie24 more: superuser.com/questions/83148/… –  Robert Aug 28 '12 at 11:25
    
@Robert, that is a better answer for SU. acidzombie24 did say he/she was using .Net's Process class (i.e. VB or C# programming) –  RedGrittyBrick Aug 28 '12 at 11:28
    
Thanks this is perfect. I completely forgot about that command in process (maybe bc i found out it didnt work on linux or something) and was thinking about something like linux nice but on windows. But yes this completely answers it +1 and accepted. Also CC @Robert –  acidzombie24 Aug 28 '12 at 16:42

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.