If I list a rails process on my system I get:
PID TT STAT TIME COMMAND
52077 ?? I 0:09.74 PATH=/usr/local/bin:/usr/bin:/bin
/usr/local/bin/ruby dispatch.fcgi
I can also find out the owner of the process from the ps command, no
problemo.
Problem: the user has multiple websites on his account , how do I find
out which website a process is for?
It would be great if I would see the full path instead:
/usr/local/bin/ruby
/home/username/domains/domain.com/public_html/dispatch.fcgi
Anyone know a solution to my problem?
Best Regards
Goran