All of lore.kernel.org
 help / color / mirror / Atom feed
From: Marcelo Taube <staube@t2.technion.ac.il>
To: linux-console@vger.kernel.org
Subject: Last active tty
Date: Thu, 06 Apr 2006 11:12:15 +0200	[thread overview]
Message-ID: <4434DB6F.806@t2.technion.ac.il> (raw)

Hello,

My name is Marcelo and I am a student in computer science facing a 
project that is getting difficult to implement.

In order to solve some of my problems I would like to get some information.

I would like to know if it is possible in Linux to know from user space 
which is the last active tty attached to an user i choose(the last tty 
which had some activity in it). I will be root or some other user which 
will have the proper privileges. I am willing to do any combination of 
system calls and tricks.

If it is not possible to do from user space then I would like to do it 
myself inside the kernel. I need to know where should I start reading to 
have the knowledge required to do the changes in the kernel (in my local 
copy of course).

I have some knowledge of the kernel and some little experience in 
programming inside the kernel (mainly i played with the scheduler and 
the virtual memory).

Thank you in advance,

Marcelo Taube


                 reply	other threads:[~2006-04-06  9:12 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4434DB6F.806@t2.technion.ac.il \
    --to=staube@t2.technion.ac.il \
    --cc=linux-console@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.