tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* SUMMARY: w output info wrong (please read!)
@ 2001-01-10 16:55 Tru64 User
  0 siblings, 0 replies; only message in thread
From: Tru64 User @ 2001-01-10 16:55 UTC (permalink / raw)
  To: tru64-unix-managers

Hi,
It took me a while to figure out what was wrong.
Problem was "w" was reporting that users are idle for
a longer period that even the system had been up for.
Cleaning of wtmp on a nightly basis thru cron did not
solve this problem either.
Found out that a program, "idled" which I installed
then disabled sometime ago, had created files in /dev
in the form of sky:0, oraac:0...., where these are
Xterm names. These files had messages from idled:
xxx@/dev$ cat sky:0
Tue Nov 21 13:25:55
This terminal has been idle 60 minutes. If it remains
idle
for 30 more minutes it will be logged out by the
system.
xxx@/dev$ 
So the number of days reported with "w" command was
based on date of this file, hence today it was showing
idle time of 50days, while the system had been up for
only 25 days. I removed these text files from /dev,
and immediately the output from "w" is correct. This
leaves me wandering for the relation between "w" and
the /dev, for I thought it depends solely on
wtmp/utmp. I checked "idled" configuration file
(idled.cf), and it does not indicate that it was
supposed to write anything to /dev!!
 Unique situation, nowonder no further suggestions
came up when I posted it the second time.
Any educative explanations are warmly welcomed.
_Gracias


=====
Richard F. Mollel
Systems Administrator
SAIC
Greenbelt, MD
Experience is what allows you to recognize 
  a mistake the second time you make it.

__________________________________________________
Do You Yahoo!?
Yahoo! Photos - Share your holiday photos online!
http://photos.yahoo.com/

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-01-10 16:55 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-01-10 16:55 SUMMARY: w output info wrong (please read!) Tru64 User

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox