Subscribe for automatic updates: RSS icon RSS

Login icon Sign in for full access | Help icon Help
Advanced search

Pages: [1]
  Reply  |  Print  
Author Topic: finger / w not updating  (Read 6096 times)
Sally W.
Posts: 32


« on: February 25, 2010, 10:41:59 am »

Hi all

A customer has some scripts that use 'w' (similar to finger) to work out which user have been idle for more than a certain amount of time, but have realised that once they have logged in and started using the Genero system the idle time simply reports the time since they logged in - I'm guessing this is because it's not communicating over the same route as they did to login.  If they start using the Informix SQL screen then their idle time gets updated.

Their box is running Solaris, and they are using Genero 2.1.

Does anyone have any light to shed on this?

Thanks

Code
  1. Genero LIVE > w username
  2.  5:18pm  up 22 day(s),  4:47,  68 users,  load average: 1.64, 2.30, 2.36
  3. User     tty           login@  idle   JCPU   PCPU  what
  4. username pts/238      10:02am  7:16                /housing/genero/2.0/rt/lib/fglru
  5.  
  6. Genero LIVE > man w
  7.  
  8. User Commands                                                w(1)
  9.  
  10. NAME
  11.     w - display information about currently logged-in users
  12. SYNOPSIS
  13.     w [ -hlsuw ]  [ user ]
  14. DESCRIPTION
  15.     The w command displays a summary of the current activity  on
  16.     the  system,  including what each user is doing. The heading
  17.     line shows the current time, the length of time  the  system
  18.     has been up, the number of users logged into the system, and
  19.     the average number of jobs in the run queue over the last 1,
  20.     5 and 15 minutes.
  21.  
  22.     etc.
Pages: [1]
  Reply  |  Print  
 
Jump to:  

Powered by SMF 1.1.21 | SMF © 2015, Simple Machines