Subversion Repositories wimsdev

Rev

Rev 16433 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 16433 Rev 16579
Line 24... Line 24...
24
          awk 'BEGIN {a1=0;b1=0;c1=0;a2=0;b2=0;c2=0;a3=0;b3=0;c3=0};\
24
          awk 'BEGIN {a1=0;b1=0;c1=0;a2=0;b2=0;c2=0;a3=0;b3=0;c3=0};\
25
               $$1>='$$start1'{a1=a1+$$2;b1=b1+$$3;c1=c1+$$4};\
25
               $$1>='$$start1'{a1=a1+$$2;b1=b1+$$3;c1=c1+$$4};\
26
               $$1>='$$start2'{a2=a2+$$2;b2=b2+$$3;c2=c2+$$4};\
26
               $$1>='$$start2'{a2=a2+$$2;b2=b2+$$3;c2=c2+$$4};\
27
               $$1>='$$start3'{a3=a3+$$2;b3=b3+$$3;c3=c3+$$4};\
27
               $$1>='$$start3'{a3=a3+$$2;b3=b3+$$3;c3=c3+$$4};\
28
               END {print "week "a1" "b1" "c1;print "month "a2" "b2" "c2;print "year "a3" "b3" "c3;};' $wims_home/log/account/00access.act > $wims_home/$wims_sesdir/getfile/stat/$file;
28
               END {print "week "a1" "b1" "c1;print "month "a2" "b2" "c2;print "year "a3" "b3" "c3;};' $wims_home/log/account/00access.act > $wims_home/$wims_sesdir/getfile/stat/$file;
29
               
29
 
30
    !else
30
    !else
31
      ident_type=wims
31
      ident_type=wims
32
      error=nostat    
32
      error=nostat
33
    !endif
33
    !endif
34
  !else
34
  !else
35
    ty=!positionof item $option in class,user,classgeoloc,servergeoloc
35
    ty=!positionof item $option in class,user,classgeoloc,servergeoloc
36
    file=!item $ty of stat.class,stat.user,class.geoloc,server.geoloc
36
    file=!item $ty of stat.class,stat.user,class.geoloc,server.geoloc
37
    !let test=!fileexists wimshome/log/stat/$file
37
    !let test=!fileexists wimshome/log/stat/$file