X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=pl_mom.pl;h=d441393a15436af0b7857c134eed97fe5387368f;hb=4a43b1541b3a0ea80637762679552d26f638ae7f;hp=99eef4b9d589d4bd6abd6691d068e52c00051653;hpb=4465839356566503834dacaafdf119d4173853fe;p=mom.git diff --git a/pl_mom.pl b/pl_mom.pl index 99eef4b..d441393 100755 --- a/pl_mom.pl +++ b/pl_mom.pl @@ -3,7 +3,7 @@ use POSIX qw(setsid); use Sys::Syslog; use Sys::Hostname; -use LWP::Simple; +#use LWP::Simple; $debug = 0; $proc = "pl_mom"; @@ -256,7 +256,8 @@ sub swap_used { sub get_slice_info { if (! $debug) { - $content = get "http://127.0.0.1:3100/slicestat"; + #$content = get "http://127.0.0.1:3100/slicestat"; + $content = `curl -s http://127.0.0.1:3100/slicestat`; } else { $content = `cat ../pl_mom-deploy/slicestat` }