Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    
    ...
    
    print "Total memory size of current processes: ",
    my $size  = $gtop->proc_mem($$)->size, "\n";
    
  2. or download this
    #!perl
    
    ...
        my $share = $proc_mem->share,
        my $size  = $proc_mem->size;
    }