Answer the question
In order to leave comments, you need to log in
After the internet is down, how do you know when the tar command will finish running?
The Internet blinked and access was reconnected via SHH, at that time the archiving process was in progress. How to know when the tar command will finish running?
Answer the question
In order to leave comments, you need to log in
Connect, make
ps aux | grep tar
and see if your process is there. Most likely, when the connection was broken, it was interrupted.
To run a long-running command that will not be terminated by a sudden termination of the session, you must use either nohup or screen managers (screen, tmux)
If you started the process in a regular console (not screen
etc.) - it will end as soon as your previous SSH session falls off. Well, or, if you're lucky - when the files for processing run out :) Indirectly - through top
, looking at the processor usage, for example.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question