/[sysadmin-cookbook]/recepies/acct/lastcomm-duration.pl
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /recepies/acct/lastcomm-duration.pl

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 39 by dpavlin, Sat May 2 14:44:31 2009 UTC revision 40 by dpavlin, Sat May 2 14:46:34 2009 UTC
# Line 5  use strict; Line 5  use strict;
5    
6  use YAML;  use YAML;
7    
8  my $too_long = 0.5; # s  my $too_long = shift @ARGV || 0.5; # s
9  my $stats;  my $stats;
10    
11  open(my $lastcomm, '-|', 'lastcomm');  open(my $lastcomm, '-|', 'lastcomm');

Legend:
Removed from v.39  
changed lines
  Added in v.40

  ViewVC Help
Powered by ViewVC 1.1.26