0

I followed the instructions on this page, and got web2py to run with FCGI on my Hostmonster shared hosting. However, I can't find the PID of this web2py server I'm running. (After I ran the server, I forgot to write down its PID.) I'm trying to do ps aux | grep web2py as some have suggested, but got nothing. There is also no /var/run/web2pyd.pid file, or any .pid file in /var/run with web2py in it.

Does anyone have any ideas on how to find the PID?

Thanks!

4

1 に答える 1

0

ssh セッションが終了すると、web2py サーバー プロセスも終了することがわかりました。プロセスを ssh セッションから切り離していなかったからです。ユーザーに属するプロセスは次のように確認できます。

    ps aux | grep `whoami`
于 2012-07-29T00:30:07.253 に答える