Changeset e07538c37980e359c934afed8020e94418d8162d

Show
Ignore:
Timestamp:
03/19/10 15:42:23 (4 years ago)
Author:
Mark Harrison <mark@omniti.com>
git-committer:
Mark Harrison <mark@omniti.com> 1269013343 +0000
git-parent:

[4dec1cad7b7b758eb26a27a13dad73fc8609af3f]

git-author:
Mark Harrison <mark@omniti.com> 1269013343 +0000
Message:

Remove an old hack (svn revision 39) for multiple zones that is no longer used

git-svn-id: https://labs.omniti.com/resmon/branches/resmon2@264 8c0face9-b7db-6ec6-c4b3-d5f7145c7d55

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • lib/Resmon/Status.pm

    r4dec1ca re07538c  
    88use Socket; 
    99use Fcntl qw/:flock/; 
    10 use IPC::SysV qw /IPC_PRIVATE IPC_CREAT IPC_RMID ftok S_IRWXU S_IRWXG S_IRWXO/; 
     10use IPC::SysV qw /IPC_PRIVATE IPC_CREAT IPC_RMID S_IRWXU S_IRWXG S_IRWXO/; 
    1111use Data::Dumper; 
    1212 
     
    377377    listen($handle,SOMAXCONN); 
    378378 
    379     $self->{zindex} = 0; 
    380     if (-x "/usr/sbin/zoneadm") { 
    381         open(Z, "/usr/sbin/zoneadm list -p |"); 
    382         my $firstline = <Z>; 
    383         close(Z); 
    384         ($self->{zindex}) = split /:/, $firstline, 2; 
    385     } 
    386379    $self->{http_port} = $port; 
    387380    $self->{http_ip} = $ip; 
    388     $self->{ftok_number} = $port * (1 + $self->{zindex}); 
    389381 
    390382    $self->{child} = fork();