[Dancer-users] giving the Dancer process via Starman a name

Mr. Puneet Kishor punk.kish at gmail.com
Fri Sep 2 15:25:48 CEST 2011


when I run 

`plackup -s Starman -p 5006 -w 10 -E development --access-log /path/to/app_access.log --error-log /path/to/app_error.log -D  --pid /path/to/app.pid -a /path/to/app/bin/app.pl`

it shows up in `ps` as 'starman master' and 'starman worker'

punkish at Lucknow ~/bin$ps -fax | grep '[s]tarman'
  501  4882     1   0  7:54AM ??         0:00.04 starman master                   
  501  4883  4882   0  7:54AM ??         0:00.00 starman worker                   
  501  4884  4882   0  7:54AM ??         0:00.00 starman worker                   
  501  4885  4882   0  7:54AM ??         0:00.00 starman worker                   
  501  4886  4882   0  7:54AM ??         0:00.00 starman worker                   
  501  4887  4882   0  7:54AM ??         0:00.00 starman worker

Is there anyway I can make those processes have specific names, for example, 'app master' and 'app worker" in the above instance?


More information about the Dancer-users mailing list