瀏覽代碼

removed options for older system with old top

®omano 9 年之前
父節點
當前提交
f21953c33b
共有 1 個文件被更改,包括 1 次插入1 次删除
  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 -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};
 	}
 	elsif($action eq 'get_timestamp')