From 85539d014b759ae519b07555c316a0e6950af623 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miroslav=20Such=C3=BD?= Date: Fri, 11 Apr 2014 12:31:39 +0000 Subject: [PATCH] with recent ansible this is in column 33 I should parse it more inteligent :( --- files/copr/delete-forgotten-instances.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/files/copr/delete-forgotten-instances.pl b/files/copr/delete-forgotten-instances.pl index 31cd012e7c..8aa5d41f78 100644 --- a/files/copr/delete-forgotten-instances.pl +++ b/files/copr/delete-forgotten-instances.pl @@ -7,8 +7,8 @@ while (chomp($a = qx(ps ax |grep -v 'sh -c ps ax' |grep /home/copr/provision/bu sleep 5; } -#print qx(ps ax |grep ' 172.16.3.' |awk '{ print \$32 }'); -@IPs = split('\s+', qx(ps ax |grep ' 172.16.3.' |awk '{ print \$32 }')); +#print qx(ps ax |grep ' 172.16.3.' |awk '{ print \$33 }'); +@IPs = split('\s+', qx(ps ax |grep ' 172.16.3.' |awk '{ print \$33 }')); #print "Running instances\n"; #print join(", ", @IPs), "\n";