Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??
BUU- Thanks for your comment. I thought of your option initially. However, the program is going to run on both NT4 and Win2k. There have been problems in the past with some workstations running NT4 (a quirky IE version hosed/disabled the scheduler). Many of those workstations are out of my administration, so mucking with the scheduler/browser setup is off limits.

With this program, all a user/administrator would have to do is add the program to their Startup group.


BrowserUK- I missed that logic error in my code. I had no idea my sleep line was being overlooked in that particular case. Thanks!


ybiC - That was a very useful node. Thank you. When I did an initial search with keywords "sleep high cpu", that node didn't turn up for me.


Fellow monks - The main point of the program would be to pop up a warning to users that their space was dwindling at a predefined threshold on certain drives.

I honestly had no idea that my infinite loop was causing the high cpu..I thought it was sleep.

I'm curious though as to why fellow monks have been giving my initial node some - rep.

I:

*felt not including the code would make the question more obscure

*felt the program in question was practical, and hopefully helpful to fellow monks

*felt that I was following post etiquette


*did research the question (not knowing that I had a crazy infinite problem rather than the sleep problem I thought I had) If not, let me know what can be improved. And thanks again. --slojuggler


In reply to Re: Sleep has high cpu by slojuggler
in thread Sleep has high cpu by slojuggler

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (3)
As of 2024-04-20 05:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found