Operating locale definition file (esalocale.conf)
- Organization of this page
Format
LC_ALL=C export LC_ALL LANG=C export LANG
Overview
Specify C in the LANG and LC_ALL environment variables as SNMP Agent's operating locale.
When you set up the system language environment, if you specify a value other than C for a locale environment variable that is higher than the LANG environment variable, specify C for the LC_ALL environment variable.
Location
HP-UX (IPF), Solaris, AIX, and Linux: /etc/SnmpAgent.d/esalocale.conf
Detailed description
Specify C in the LANG and LC_ALL environment variables.
- LC_ALL=C
-
This line substitutes C for LC_ALL.
- export LC_ALL
-
This line sets C for the LC_ALL environment variable. You cannot set a value other than C. Placing a hash mark (#) before export turns the line into a comment, in which case no value is set. By default, this line is not a comment.
- LANG=C
-
This line substitutes C for LANG.
- export LANG
-
This line sets C for the LANG environment variable. You cannot set a value other than C. Placing a hash mark (#) before export turns the line into a comment, and no value is set. By default, this line is not a comment.
Notes
For details about how to specify the operating locale definition file, see 2.6 Setting up the operating locale.
Definition examples
This example sets C for the LANG and LC_ALL environment variables:
LC_ALL=C export LC_ALL LANG=C export LANG