Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

who and w don't show anything

Status
Not open for further replies.

ogniemi

Technical User
Nov 7, 2003
1,041
PL
I think it happened after the system migration AIX 4.3 -> AIX 5.2 in the past - we started the problem with "who" and "w" commands - they dont't show users/anything.

# who
# w
07:05AM up 6:51, 0 users, load average: 1.28, 1.00, 0.78
User tty login@ idle JCPU PCPU what
#

Of course "0 users" is not true (I am logged in) and a lot of the other users are logged into the system and using it.

Yesterday we had upgraded system to TL8-CSP but after reboot problem still exists.

thank you in advance for any tip how to investigate and solve the problem.
 
What is the output of
# who /var/adm/wtmp ?

Regards,
-Sam
 
Is it same in your server ?

$ which w
/usr/bin/w

$ which who
/usr/bin/who

$ ls -l /usr/bin/w
-r-xr-sr-x 2 root system 15584 Oct 19 2005 /usr/bin/w

$ ls -l /usr/bin/who
-r-xr-xr-x 1 bin bin 11532 Jul 13 2005 /usr/bin/who

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top