Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: process run in background

by stevieb (Canon)
on Jul 27, 2016 at 16:44 UTC ( #1168661=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $ ./script.pl start
    started script.pl daemon at PID 30216
    
  2. or download this
    $ ./script.pl status
    script.pl is running at PID 30216
    
    $ ps ax | grep 30216
    30216 pts/4    S      0:00 perl script.pl perform
    
  3. or download this
    $ telnet localhost 6669
    Trying 127.0.0.1...
    Connected to localhost.
    Escape character is '^]'.
    
  4. or download this
    blah
    received: blah
    
  5. or download this
    $ ./script.pl status
    script.pl is running at PID 30216
    
    $ ps ax | grep 30216
    30216 pts/4    S      0:00 perl script.pl perform
    
  6. or download this
    $ ./script.pl stop
    stopped script.pl PID 30216
    
  7. or download this
    $ ./script.pl status
    script.pl is not running
    
    $ ps ax | grep 30216
    
  8. or download this
    #!/usr/bin/perl
    use warnings;
    ...
        }
        return $pid;
    }
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (2)
As of 2023-01-29 16:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?