in reply to Re^2: how to sleep-awake on perl script?
in thread how to sleep-awake on perl script?

All I want is to stop the process for few hours and then continue from the point where I stopped.

That's exactly what suspend/resume is for.  To suspend the program, you'd type ^Z (= Ctrl-z)1 while the program is running. Then type bg to send the (stopped) process in the background. To resume it again, type fg (or fg <jobnumber> in case you have several backgrounded — type jobs to list them).

Have you tried that?  What happens, or doesn't work?

___

1  ^Z is the typical tty setting. Type stty -a to see what yours is set to — mine shows "susp = ^Z", for example (among other stuff)