Help for this page

Select Code to Download


  1. or download this
    my @keys = keys %{$nodemetrics{'server1'}};
    
  2. or download this
    $ perl scratch.pl 
    [...]
    ...
                           }
    [...]
    
  3. or download this
    my @system_attributes = qw(memory cpu disk network);
    
    ...
    
    my $hashref = $nodemetrics{'server1'};
    @$hashref{@system_attributes}=@data;