1835054 Members
2324 Online
110073 Solutions
New Discussion

Server language

 
Filosofo
Regular Advisor

Server language

Hi,
I have a hp ux 11i server, what can I do to see the language that it uses?



Thanks

Filo
Sistem engeneer expert
11 REPLIES 11
Pete Randall
Outstanding Contributor

Re: Server language

env | grep -i lang
locale -a


Pete


Pete
Massimo Bianchi
Honored Contributor

Re: Server language

Hi,


locale show the current values
locale -a show the possible languages.

Massimo
A. Clay Stephenson
Acclaimed Contributor

Re: Server language

Your question is difficult to understand. If you mean what compilers are available then you can issue a "swlist" command. At the very least, you have C, awk, Perl, and bs.

If however, what is the native language support set to is your quesation then simply do an "echo ${LANG}"; however, the LANG setting can be different for each user or even each process.
If it ain't broke, I can fix that.
Filosofo
Regular Advisor

Re: Server language

Hi,
thanks for help....this is tha output of command locale

locale
LANG=
LC_CTYPE="C"
LC_COLLATE="C"
LC_MONETARY="C"
LC_NUMERIC="C"
LC_TIME="C"
LC_MESSAGES="C"
LC_ALL=

what is my lenguage?
Sistem engeneer expert
Keely Jackson
Trusted Contributor

Re: Server language

Hi

You could try the locale command. This exists on 11.0 not sure about 11i

Cheers
Keely
Live long and prosper
Keely Jackson
Trusted Contributor

Re: Server language

C
Live long and prosper
Filosofo
Regular Advisor

Re: Server language

What is C?
Sistem engeneer expert
A. Clay Stephenson
Acclaimed Contributor

Re: Server language

Do a man 5 lang for a good description of the meaning of "C" in this context.
If it ain't broke, I can fix that.
Caesar_3
Esteemed Contributor

Re: Server language

Hello!

C is a standart it's just like not set
the language, it's also default.

Caesar
Filosofo
Regular Advisor

Re: Server language

Hi,
thanks for helps.
You said me that C is default language, but if I want know what is the character set what can I do?

Thanks

Filo
Sistem engeneer expert
Gary Yu
Super Advisor

Re: Server language

If I understand you correctly, the answer to your question is "swlist", check for "Runtime Environment", e.g on my server
HPUXEng64RT B.11.00.01 English HP-UX 64-bit Runtime Environment
which means I have English runtime environment, other existing language support including Chinese, Spanish etc.

thanks,
Gary