![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Advanced & Expert Users Advanced UNIX and Linux questions go here. Expert-to-Expert. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| set Working day in ksh | Rafael.Buria | Shell Programming and Scripting | 1 | 10-09-2007 01:42 AM |
| Not working | Mandab | Shell Programming and Scripting | 7 | 05-11-2007 06:23 PM |
| FTP is not working. | ronald_brayan | Security | 10 | 04-04-2007 05:23 AM |
| sed not working | baanprog | UNIX for Advanced & Expert Users | 5 | 09-18-2006 05:11 AM |
| why is this not working? | matt2kjones | UNIX for Dummies Questions & Answers | 2 | 07-09-2002 12:58 PM |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
who not working
Hi,
We have a AIX 5.3 box. The 'who' command is not displaying the users loggged in to the system. Even who -a doesnt list out all the users. What are the details that I need to provide? Could it be a permission issue? Slightly confused at this moment. The who -q gives output as '0 users'. Very strange!! Last edited by ranj@chn; 04-19-2007 at 09:31 PM. Reason: adding more info |
| Forum Sponsor | ||
|
|
|
#2
|
|||
|
|||
|
I do not know that much AIX. Do you have a utmp or utmpx file that show activity - ie. get larger over time?
Normally these files are maintained by init, login, getty, telnet; entries are constantly being added on an active system. |
|
#3
|
|||
|
|||
|
yes
The utmp file is getting updated. Even the /var/adm/wtmp file gets updated. I check the ouput of 'last' and some of the rows show that system was halted abnormally. Could this be the cause of the issue? Sometimes, the last 's output shows a terminal itself as a user. Please find a sample output.
Quote:
|
|
#4
|
|||
|
|||
|
Not necessarily - it just means init did not cleanup when the process ended.
Does AIX have the equivalent of truss, tusc or strace? Try AIX's equivalent of Code:
truss who |
|
#5
|
|||
|
|||
|
hai,
I have been working in AIX 5.1 version. and in that who command is working fine. Even who -a and who -q is giveing list of users corrently logged into the system. you can try out following option with who command : -A Displays all accounting entries in the /etc/utmp file. These entries are generated through the acctwtmp command. -m Displays information about the current terminal only. The who -m command is equivalent to the who am i and who am I commands. even though if its not working then it might be the issue of permissions/rights given to you. thanks. |
|||
| Google The UNIX and Linux Forums |