I'm having problems knowing whether a program is running in the background.
The program is run via command line, but the computer is just a server (apologies if terminology is incorrect), which we access using our own computer's command line. In this instance, I am using my Mac's terminal to run the program, which can take 20 hours or so.
I've read the forums on the use of nohup and & to keep this process running, even when I disconnect by closing terminal, or putting my laptop on sleep - however, it doesn't seem to work. This is only an assumption - using htop, I checked to see whether the process was running, but found that it wasn't there.
It may be the initial command that isn't working. This is currently what I type:
nohup recon-all -all -s &
("recon-all -all -s" being the command)
This doesn't start the process, but generates a nohup.txt file in the directory that I was currently in. Only when I remove nohup from the command does it work.
I was wondering if anybody has any ideas about how I get this process to run? Is it a problem of the command?
Any help would be much appreciated.