tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* How to monitor console activities?
@ 1995-07-02 18:13 sherry
  0 siblings, 0 replies; only message in thread
From: sherry @ 1995-07-02 18:13 UTC (permalink / raw)
  To: tru64-unix-managers

Dear Lifesavers:

    This is a continuation of my earlier question about /dev/kbd.  All
I am trying to do is to monitor activities at the console.  When a user
logs in from the console, stop all background jobs; when the console
has been idle for over 15 minutes, resume them.  I have successfully
opened /dev/console and /dev/mouse. However, when I used stat to obtain
the access time and modification time, the numbers did not reflect the
real activities. They did not change when I moved the mouse around or
typed in one of the xterms. Xdm is capable of knowing if a user is at
the console, and how long the console has been idle. So there must be a
way of doing it.  Where is this information? How can I obtain it?

    This is really ruining my weekend. :-(

    Thanks a lot.

Sherry

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

only message in thread, other threads:[~1995-07-02 18:13 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1995-07-02 18:13 How to monitor console activities? sherry

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