understanding and knowing the status of nohup process

360 Views Asked by At

My script runs for 30+ hours so I want to keep it running in backgroup on my linux server.

I run like this

nohup python seq2seq.py > output.log &

Though this process appears running in background

root      2208  379 41.6 13014392 6839556 pts/3 Sl  10:48 138:58 python seq2seq.py

I could not see its execution log in output.log file.

I print message in script which should appear in log file if it's running. But looking at no content in log file I doubt whether this file correctly running or not.

Any clue to understand the status of this process?

0

There are 0 best solutions below