Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re^2: What is this process

by yellowta (Initiate)
on Sep 26, 2016 at 19:22 UTC ( [id://1172655]=note: print w/replies, xml ) Need Help??


in reply to Re: What is this process
in thread What is this process

I have isolated a section of code that appears to be related to the rogue processes. In that section the only command like that I do is one like 'echo "$xxx" >>$file`. I guess that is an implicit system command. I could buy this except the ratio of records processed to the processes does not seem to match. A process does not pop up for each execution of the echo. In that section is also do a seek command. This is executed to reset the EOF file when I hit EOF on the input file. Could that do it? Thanks for the response? I am starting to pull my hair out trying to figure this out.

Replies are listed 'Best First'.
Re^3: What is this process
by RichardK (Parson) on Sep 26, 2016 at 21:18 UTC

    echo is a system command so perl will have to start a shell to run that, so yes, it will start a new process for each call to echo.

    Even if they are happening too fast for you to see.

    BTW, that's not very efficient, so you'd be better just using perl to do that, open can open a file for append.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (3)
As of 2024-04-24 02:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found