LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 08-12-2014, 03:27 AM   #1
Fr3dY
LQ Newbie
 
Registered: Aug 2014
Posts: 1

Rep: Reputation: Disabled
Exclamation 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
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Need Help to find the process running by particular user and kill process one by one LittleMaster Linux - Newbie 1 02-09-2013 02:03 PM
Get Process size and Thread count for a particular running process haseit Linux - Newbie 2 01-22-2009 11:09 PM
Shell Script : Kill a running process when another process starts ashmew2 Linux - General 3 08-20-2008 03:47 AM
When running programs: Locale not supported by C library miceagol Linux - General 2 06-02-2006 04:46 PM
GAIM: problems with running under custom locale VertX Linux - Software 1 04-04-2005 10:31 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 12:13 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration