Przeglądaj źródła

Update ogp_agent.pl

®omano 9 lat temu
rodzic
commit
d253abd56b
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')
 	{
 		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')