Przeglądaj źródła

removed options for older system with old top

®omano 9 lat temu
rodzic
commit
f21953c33b
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      ogp_agent.pl

+ 1 - 1
ogp_agent.pl

@@ -3833,7 +3833,7 @@ sub shell_action
 	elsif($action eq 'get_tasklist')
 	elsif($action eq 'get_tasklist')
 	{
 	{
 		my %taskList;
 		my %taskList;
-		$taskList{'task'} = encode_base64(`top -b -c -i -o +%CPU -w512 -n2 | awk '/^top/{i++}i==2' | grep "COMMAND" -A 30`);
+		$taskList{'task'} = encode_base64(`top -b -c -i -w512 -n2 | awk '/^top/{i++}i==2' | grep "COMMAND" -A 30`);
 		return {%taskList};
 		return {%taskList};
 	}
 	}
 	elsif($action eq 'get_timestamp')
 	elsif($action eq 'get_timestamp')