![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| 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 |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
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 |
| Display Modes | Rate This Thread |
|
|