Help for this page

Select Code to Download


  1. or download this
    tie @lines, 'Tie::File', "testfile.dat" or die "Can't read file: $!\n"
    +;
    $linecount = $#lines+1;
    ...
            $hash{$No.$date} = $type."@".$No."@".$date;
    }
    untie @lines;
    
  2. or download this
    
    PROCESS TIME
    ...
    
    PID     COMMAND           %CPU  TIME      #TH   #WQ   #PORT #MREGS RPR
    +VT   RSHRD   RSIZE   VPRVT   VSIZE   PGRP   PPID   STATE     UID   FA
    +ULTS    COW      MSGSENT     MSGRECV     SYSBSD     SYSMACH     CSW  
    +     PAGEINS KPRVT   KSHRD   USER
    perl5.12          99.9  00:08.58  1/1   0     22    56+    99M+    124
    +4K