Use this to add directory column in the output
forever columns add dir
Question
When a script is running with the forever module and you "forever list", you get a list with the filenames of all currently running scripts. In this case, "myscript1.js"
[0] j2mo /usr/local/bin/node myscript1.js 51004 51005 /Users/me/.forever/j2mo.log 0:14:10:51.420
[1] Vav3 /usr/local/bin/node myscript1.js 51011 51012 /Users/me/.forever/Vav3.log 0:14:10:21.221
Is there a way to get also the path to all running scripts?
Solution
Use this to add directory column in the output
forever columns add dir
OTHER TIPS
ps aux | grep forever
This prints all running scripts and you can match them with the "pid" column in "forever list"