December 17th, 2003, 08:02 PM
Is the cpuhog only for winNT?
anyone can show me some cpuhog program?
copy from http://downloads.securityfocus.com/l...t-vs-unix.pdf.
Applications can set their own priority level, which affects how
often Windows NT allows those applications to run. An application
running under a user account with administrative privileges can
set its priority to any of 32 levels, with the highest level
giving it more time slices. Applications running under accounts
without administrative privileges can set their priority to any
of the first 16 of those levels.
CpuHog sets its priority to the highest level available, which is
level 16 when run by a normal user. Windows NT attempts to deal
with CPU-hogging applications by boosting the priority of other
applications. However, Windows NT will only boost applications as
high as level 15. Thus, all other applications - even system
utilities such as Task Manager - never get a chance to execute
while CpuHog is running. CpuHog program can be found at
www.ntinternals.com. Credit for discovery of this bug goes to
Give Task Manager level 16. In that way You will be able to kill
December 17th, 2003, 08:06 PM
I've used it against Windows 2000. I think they fixed the problem with Win2k SP1.
Not completely sure, though.
Government is like fire - a handy servant, but a dangerous master - George Washington
Government is not reason, it is not eloquence - it is force. - George Washington.
Join the UnError
December 17th, 2003, 08:09 PM
Looks like it. Scheduling a task priority is built into W2k and higher. (Task Manager)
N00b> STFU i r teh 1337 (english: You must be mistaken, good sir or madam. I believe myself to be quite a good player. On an unrelated matter, I also apparently enjoy math.)
December 17th, 2003, 08:17 PM
CPUHog is also good as a stress-tester. You can use it while running other programs to see how well your box (NT/2K/XP) will handle the load. Especially when hitting 100% CPU Usage. You can also find it with the NT Resource Kit.
December 17th, 2003, 08:45 PM
One of the better stress testers that I have found is OpenSTA.
It has a macro feature that records actions that can be played back against a host. The beauty is that you can simulate thousands of hosts should you wish.
I used this product against a major vendor's product which later proved to be a POS that cannot handle sustained load.
Anyway, give this app a chance. You have nothing to lose cause it is offered at the right price - free!!
Our scars have the power to remind us that our past was real. -- Hannibal Lecter.
Talent is God given. Be humble. Fame is man-given. Be grateful. Conceit is self-given. Be careful. -- John Wooden
December 17th, 2003, 09:03 PM
cool, *nix also?
in the /tmp directory, create a file called cpuhog
# This script tries to consume all available cpu time
junk="Let's try to waste valuable cpu cycles"
Make your script executable and run in background...
How *nix deal with the CPU process priority?
hen, linux has a http://www.xmailserver.org/linux-patches/cpuhog.c as scheduler...
too much to learn, wish 10 yrs younger!!
December 17th, 2003, 09:20 PM
GNU open source
Thanks, thehorse13, I am a wild horse who loves #13 too.
Sourceforge is a real good site, I got a lot of PHP code for my webstats, I just have a side question popup:
OpenSource is pretty good, but dont have much user-friendly or RAD products like windows support (or I dont know). I was working PHP use Maguma, phpedit,etc, manually code (of course I keep my class, function, module etc), but my boss uses codecharge, much fast RAD tool.
So is the future for open source or Microsoft? Before I was positive about Linux and use Redhat, but I felt sad when Redhat announced RHEL, and Novell's effort to push Suse didnt do well.
Which way to go, does Linux have promising future.....maybe Longhorn will say somthing about windows security?