Helpful Tricks for Running Meep (and other) Simulations Effectively
Start simulation running in the background
$ nohup meep file.ctl | tee file.out &
Find PID (process ID) for your Meep instance
$ ps -ef | grep meep
The above command will list all Meep instances and the command itself. To quickly find the PID when only one Meep process is running, the below command will output it without listing its own PID.
$ pgrep meep
To peak into the stream of the running simulation to check the status, find the PID and use strace
$ strace -p[PID] -s9999 -e write
or...
$ tail nohup.out