From 62c542fd4e7f47d5216785e9a13054ce56973f28 Mon Sep 17 00:00:00 2001 From: Eugeni Dodonov Date: Fri, 14 Oct 2011 15:26:13 -0300 Subject: Allow to output statistics to stdout. This allows intel_gpu_top to run both in statistics-collecting mode (collecting the per-ring statistics in gnuplot-friendly format) and ncurses top-like mode at the same time. It also allows to output the statistics directly to stdout, by using "-o -", so the results can be parsed directly via a popen() parsing. If you are using intel_gpu_top as previously (without any command-line arguments), it should change nothing for you. If you were using its logging facilities (e.g., the '-o file'), note that the logging will keep running, but the detailed top-like interface will be on the screen at the same time. Signed-off-by: Eugeni Dodonov --- man/intel_gpu_top.1 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'man') diff --git a/man/intel_gpu_top.1 b/man/intel_gpu_top.1 index db2f362e..1a483fcb 100644 --- a/man/intel_gpu_top.1 +++ b/man/intel_gpu_top.1 @@ -17,7 +17,8 @@ privilege to map the graphics device. number of samples to acquire per second .TP .B -o [output file] -run non-interactively and collect usage statistics to [file] +collect usage statistics to [file]. If file is "-", run non-interactively +and output statistics to stdout. .TP .B -e ["command to profile"] execute a command, and leave when it is finished. Note that the entire command -- cgit v1.2.3