Help needed for ps command in AIX


 
Thread Tools Search this Thread
Operating Systems AIX Help needed for ps command in AIX
# 1  
Old 09-30-2005
Network Help needed for ps command in AIX

folks;
I'm trying to run the command "stime" I couldn't get it to work right, but it seems like it's controlled by LANG variables, how can I change the LANG variables to make the result of stime or start_time appear right (if I use stime I get letter "A" under STIME & if I use "start_time" in my shell script, I get the results below.

CLASS SERVICE STATUS PID TIME START USER

COMMON
CONFIGSVC UP 516162 0:01:50 Sep 30 cometdev

I'm not sure how can I get the "sep 30" to be together (they appear together here due to the format of this forum). Any idea?

Last edited by moe2266; 10-04-2005 at 12:26 PM..
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. AIX

AIX Hardware Migration w/ HACMP...Advice Needed

Hello Everyone, Hope you all are doing great! As you can see by the title on top, we are in the process of migrating alot of our servers from Power5 (physical) to Power8 (Virtual). Now it's turn for servers with HACMP Cluster on it. Let me lay out the environment like: OLD ENVIRONMENT: ... (12 Replies)
Discussion started by: uzair_rock
12 Replies

2. AIX

Power5 9111-520 reload of AIX 6.1 - help needed

Hello all, I am hoping someone can point me in the right direction here. We had a machine running AIX 6.1 that someone completely corrupted, so we decided to re-load it from media. I was able to boot into DVD media, select options for complete (destructive) install, AIX standard, etc. The... (0 Replies)
Discussion started by: JamesNJ
0 Replies

3. AIX

AIX equivalent return codes needed

Hi, I have a script which is written for solaris x86 system. trap 'echo "$(date):$(who am i | cut -d" " -f1) menu exec" >> /tmp/hist/.menu_history.$(who am i | cut -d" " -f1).$(uname -n).$(date +%y%m%d);exit' 1 2 3 15 trap 'echo "$(who am i | cut -d" " -f1) menu" >>... (1 Reply)
Discussion started by: boehnke
1 Replies

4. AIX

AIX TL updates not including all packages needed

In trying to resolve my issue, I downloaded TL 11 and trying to update to it. Why the heck does not the TL fix have the required files in it? Thats another 1.+ GB download. I am also sure that when I go to install that package it will complain about rsct not being updated. MISSING... (1 Reply)
Discussion started by: mrmurdock
1 Replies

5. AIX

Help needed with AIX 6.1

Hi, We have just purchased an ibm Power 520 express box with AIX 6.1 preloaded onto it. Using a null modem cable we have connected this upto a Windows 2003 server. From this Windows 2003 server we can using hyperterminal connect to it. I can aslo connect to the Advanced System Management... (16 Replies)
Discussion started by: yfayyaz
16 Replies

6. AIX

help needed on aix ksh

i am trying to convert .ksh script to .bat in windows box , it says awk is not recognized as internal or external command. this is the sample .ksh script , even if i change awk to gawk it does not work its giving me syntax error, at line one ---- it's pointing ":" and "fund:" some one plzz help.... (0 Replies)
Discussion started by: 2.5lt V8
0 Replies

7. AIX

AIX 5.2 Syslog : Help needed

Hi all, I am trying to get the authentication logs of FTP,Telnet,SSH,inetd from the syslog file. But my output for every type of authentications - success & failure keep differing everytime i view them. The output does not show the priority code (emerg, or 0, in any case). How do I get the... (0 Replies)
Discussion started by: kamadana
0 Replies

8. UNIX for Advanced & Expert Users

AIX + disk redundency input needed

OK guys & gals this is the issue: i am trying to sort out all the disks in all of our AIX servers. 12 hdisks w/ mirroring (so only 6 disks in uses @ any time) 2 volume groups (rootvg, vg1) this does include muliple informix databases and misc. data. Do you think it would be wise to... (1 Reply)
Discussion started by: Optimus_P
1 Replies
Login or Register to Ask a Question
locale(1)							   User Commands							 locale(1)

NAME
locale - get locale-specific information SYNOPSIS
locale [-a | -m] locale [-ck] name... DESCRIPTION
The locale utility writes information about the current locale environment, or all public locales, to the standard output. For the purposes of this section, a public locale is one provided by the implementation that is accessible to the application. When locale is invoked without any arguments, it summarizes the current locale environment for each locale category as determined by the settings of the environment variables. When invoked with operands, it writes values that have been assigned to the keywords in the locale categories, as follows: o Specifying a keyword name selects the named keyword and the category containing that keyword. o Specifying a category name selects the named category and all keywords in that category. OPTIONS
The following options are supported: -a Writes information about all available public locales. The available locales include POSIX, representing the POSIX locale. -c Writes the names of selected locale categories. The -c option increases readability when more than one category is selected (for example, via more than one keyword name or via a category name). It is valid both with and without the -k option. -k Writes the names and values of selected keywords. The implementation may omit values for some keywords; see OPERANDS. -m Writes names of available charmaps; see localedef(1). OPERANDS
The following operand is supported: name The name of a locale category, the name of a keyword in a locale category, or the reserved name charmap. The named category or keyword will be selected for output. If a single name represents both a locale category name and a keyword name in the current locale, the results are unspecified; otherwise, both category and keyword names can be specified as name operands, in any sequence. EXAMPLES
Example 1: Examples of the locale utility In the following examples, the assumption is that locale environment variables are set as follows: LANG=locale_x LC_COLLATE=locale_y The command locale would result in the following output: LANG=locale_x LC_CTYPE="locale_x" LC_NUMERIC="locale_x" LC_TIME="locale_x" LC_COLLATE=locale_y LC_MONETARY="locale_x" LC_MESSAGES="locale_x" LC_ALL= The command LC_ALL=POSIX locale -ck decimal_point would produce: LC_NUMERIC decimal_point="." The following command shows an application of locale to determine whether a user-supplied response is affirmative: if printf "%s " "$response" | /usr/xpg4/bin/grep -Eq "$(locale yesexpr)" then affirmative processing goes here else non-affirmative processing goes here fi ENVIRONMENT VARIABLES
See environ(5) for the descriptions of LANG, LC_ALL, LC_CTYPE, LC_MESSAGES, and NLSPATH. The LANG, LC_*, and NLSPATH environment variables must specify the current locale environment to be written out. These environment vari- ables will be used if the -a option is not specified. EXIT STATUS
The following exit values are returned: 0 All the requested information was found and output successfully. >0 An error occurred. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWloc | +-----------------------------+-----------------------------+ |CSI |Enabled | +-----------------------------+-----------------------------+ |Interface Stability |Standard | +-----------------------------+-----------------------------+ SEE ALSO
localedef(1), attributes(5), charmap(5), environ(5), locale(5), standards(5) NOTES
If LC_CTYPE or keywords in the category LC_CTYPE are specified, only the values in the range 0x00-0x7f are written out. If LC_COLLATE or keywords in the category LC_COLLATE are specified, no actual values are written out. SunOS 5.10 20 Dec 1996 locale(1)