Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re^3: Perl Script Causing high CPU usage

by marinersk (Priest)
on Oct 01, 2013 at 13:55 UTC ( [id://1056485]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Perl Script Causing high CPU usage
in thread Perl Script Causing high CPU usage

Good luck in the hunt -- if the loop is using lots of CPU just to do print statements, then I don't know that there's much you can do to limit its CPU utilization. Sounds like the OS is giving your script everything it needs; are you sure it's a problem?

As a complete side note, I am deadly curious -- what is a lakh file? Is that some kind of special log format or something?

  • Comment on Re^3: Perl Script Causing high CPU usage

Replies are listed 'Best First'.
Re^4: Perl Script Causing high CPU usage
by swampyankee (Parson) on Oct 05, 2013 at 19:23 UTC

    I suspect that the poster is using the Indian term for 100,000


    Information about American English usage here and here. Floating point issues? Please read this before posting. — emc

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1056485]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (5)
As of 2024-04-19 15:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found