The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
.
google unix.com



UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Problem In Formating Table as Output Lo11001 Shell Programming and Scripting 1 05-12-2008 07:35 AM
problem parsing output file ragha81 Shell Programming and Scripting 13 03-21-2007 02:06 PM
Output Problem Eric_Bakken UNIX for Dummies Questions & Answers 3 12-09-2005 03:16 PM
Problem With Who-u Command Output V.V.KUMAR UNIX for Advanced & Expert Users 2 04-12-2005 12:37 AM
somewhat unusual top output problem ohhmyhead UNIX for Dummies Questions & Answers 4 07-17-2004 11:44 PM

 
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1 (permalink)  
Old 04-20-2005
V.V.KUMAR V.V.KUMAR is offline
Registered User
  
 

Join Date: Apr 2005
Posts: 9
Post problem with who -u output

I am using sco unix ver 5. who -u output lists the user name, tty,idle time and PID of the process. When I kill the idle process using kill -9 PID, the process is killed and the who -u output doesn't contain the user which is killed. This out of who -u is correct and desirable. But for past week, I am finding that the who -u out put is still showing the killed user process details.
When I use command w, the it shows doesn't show me the killed user logins.
When I use ps -ft ttyp21 (assuming ttyp21 being the killed terminal id) the
out put is blank. So when w command and ps command work correctly, then why the who -u command still shows the killed logins with idle time still incrementing. I think, the /etc/wtmp and /etc/utmp files are not refreshed.
Which command will refresh the wtmp/utmp files and give me correct who -u output ?
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 05:51 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0