Re: CF212 - golang app crash - how to perform the troubleshooting?


Noburou TANIGUCHI
 

Hi,

It seems too late to be here, but there may be a person coming across by Web
search.
I'll write my script snippet to get environment variables for such a person.

```
cat /proc/$(cat /home/vcap/run.pid)/environ | sed -e 's/\x0/\n/g'
```

This script extracts environment variables from `/proc` info, and I've
confirmed that it works on Warden / DEAng.




-----
I'm not a ...
noburou taniguchi
--
View this message in context: http://cf-dev.70369.x6.nabble.com/cf-dev-CF212-golang-app-crash-how-to-perform-the-troubleshooting-tp4567p4829.html
Sent from the CF Dev mailing list archive at Nabble.com.

Join cf-dev@lists.cloudfoundry.org to automatically receive all group messages.