Diff for /loncom/lond between versions 1.132 and 1.132.2.1

version 1.132, 2003/07/14 13:43:42 version 1.132.2.1, 2003/08/22 16:26:11
Line 2080  sub userload { Line 2080  sub userload {
  my $curtime=time;   my $curtime=time;
  while ($filename=readdir(LONIDS)) {   while ($filename=readdir(LONIDS)) {
     if ($filename eq '.' || $filename eq '..') {next;}      if ($filename eq '.' || $filename eq '..') {next;}
     my ($atime)=(stat($perlvar{'lonIDsDir'}.'/'.$filename))[8];      my ($mtime)=(stat($perlvar{'lonIDsDir'}.'/'.$filename))[9];
     if ($curtime-$atime < 3600) { $numusers++; }      if ($curtime-$mtime < 3600) { $numusers++; }
  }   }
  closedir(LONIDS);   closedir(LONIDS);
     }      }

Removed from v.1.132  
changed lines
  Added in v.1.132.2.1


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>