Architecting, installing and maintaining your SAS environment

AIX question

Accepted Solution Solved
Reply
Contributor Go
Contributor
Posts: 58
Accepted Solution

AIX question

this is not a sas question at all, this is unix question, I could not find an answer to this, hope i find it here...

 

ps -ef in AIX gives "UID" in the first column, but the UID it displays only 8 characeters, I need entire uid , some of the uid's length is more than 8, how can i print whole uid ? please advise


Accepted Solutions
Solution
2 weeks ago
SAS Employee
Posts: 121

Re: AIX question

@Go,

 

You have to use the flag -X. -X prints all available characters of each user/group name instead of truncating to the first eight characters.

View solution in original post


All Replies
Solution
2 weeks ago
SAS Employee
Posts: 121

Re: AIX question

@Go,

 

You have to use the flag -X. -X prints all available characters of each user/group name instead of truncating to the first eight characters.

Contributor Go
Contributor
Posts: 58

Re: AIX question

Alexal,
It worked, thank you very much... I tried ls -lXp before instead of ls -ll , but did not realize I could ues -X with ps -ef , thank you...
☑ This topic is solved.

Need further help from the community? Please ask a new question.

Discussion stats
  • 2 replies
  • 178 views
  • 1 like
  • 2 in conversation