How to get locale parameters used by a running process
Hi,
I've just discovered that ssh is forwarding locale variables... I realized it after checking some weblogic errors due to date format change (they were different when accessing by SSH from a machine that had "C" defined).
I'll overwrite the locale parameters in the user profiles, just in case, but I'm wondering... is it possible to check the locale parameters used to execute a running process? I've looked at /proc/PID/environ without success.
Update: I took another look at /proc/PID/environ and here it is, under 'LANG=xxx' (just missed the text, it's a bit messy)
Thanks!
Last edited by Fr3dY; 08-12-2014 at 03:33 AM.
Reason: Solved
|