I\'ve got supervisor\'s status output, looking like this.
frontend RUNNING pid 16652, uptime 2:11:17 nginx
sed 's/.*pid \([0-9]*\).*/\1/'