Help for this page

Select Code to Download


  1. or download this
        $root = $mysystem->root;
        $proc = $root->{'proc'};
        print "Uptime is ", $proc->{'uptime'}[0], "\n";
    
  2. or download this
        $passwd = $root->{'etc'}->{'passwd'};
        $spool  = $root->{'var'}->{'spool'};
    
  3. or download this
        $line = $root->{'etc'}->{'passwd'}[0] # First line of passwd file
        @names = $root->{'var'}->{'spool'};   # List of files/dirs
    
  4. or download this
        $proc->{'/var'}
    
  5. or download this
        $proc->{'/var'}[0]