Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    
    ...
            my $exe=eval { readlink("$dir/exe") };
            say Data::Dumper->new([$argv0,$exe],[qw(argv0 exe)])->Dump();
    }
    
  2. or download this
    /proc/1:
    $argv0 = 'init [4]';
    ...
    /proc/5566:
    $argv0 = 'postgres: stats collector process   ';
    $exe = '/opt/pg9/bin/postgres';