Typing ctrl-Z at the tty usually just sends the
'TSTP' signal
process. You can do this yourself with
kill:
kill TSTP => $some_proccess_id;
... you should also be able to catch this signal from
a perlscript and do some processing before stopping your
process, or just to make your process not be stopable
this way.
A process can also be stopped with the 'STOP' signal
which cannot be caught, which you'd need to use
if you wanted to stop your process while still catching
the 'TSTP' signal.
Restarting a process can be done by sending the 'CONT'
signal to process.
Obviously, you can also do these things using the
kill command on the command line.
update: Of course, all this
advice is rather UNIX-specific.
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.