Sfoglia il codice sorgente

Update ogp_agent.pl

®omano 9 anni fa
parent
commit
d253abd56b
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      ogp_agent.pl

+ 1 - 1
ogp_agent.pl

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