1830705 Members
2540 Online
110015 Solutions
New Discussion

Question about rexec

 
SOLVED
Go to solution
Daniel Schneider_3
Frequent Advisor

Question about rexec

Hi all,
I'm administrating an application that allows to be used with an ASCII- and a GUI-Frontend. If the users get the ASCII, they are logged on with telnet. If they use the GUI, they will be logged in with the rexec-command.
Now I can see with the who-command who is logged in with ASCII, and how long they are idle. But when they are connected with GUI, I only can see the Prozess by the ps - command, but not how long they are idle.
Is there a possibility to see all the Information, or is there a log-file like wtmp?

Thanks for all help!

Best regards
Daniel :-)
2 REPLIES 2
RikTytgat
Honored Contributor
Solution

Re: Question about rexec

Hi,

For the GUI process, there is no means to see how long it is idle. The process is started at some time, but there is no way to tell how long an X application has been idle, unless the application itelf contains a mechanism to do so.

A GUI application is always working because of the event loop.

Hope this helps,
Rik.

Dan Hetzel
Honored Contributor

Re: Question about rexec

Hi Daniel,

As Rik told you, a GUI application is never idle, being event driven.
This prevents you to see how long the user has been sleeping in front of his screen ;-)
Ther's not much you can do if the application itself doesn't provide that information.

Best regards,

Dan
Everybody knows at least one thing worth sharing -- mailto:dan.hetzel@wildcroft.com