diff options
author | Eugeni Dodonov <eugeni.dodonov@intel.com> | 2011-10-14 15:26:13 -0300 |
---|---|---|
committer | Eugeni Dodonov <eugeni.dodonov@intel.com> | 2011-10-14 16:01:52 -0300 |
commit | 62c542fd4e7f47d5216785e9a13054ce56973f28 (patch) | |
tree | 17b2ddf267a7589c54d95669db00e9e245ff170b /man | |
parent | eaaddc794bade33e0d7b0c94406102c9814c2c05 (diff) |
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 <eugeni.dodonov@intel.com>
Diffstat (limited to 'man')
-rw-r--r-- | man/intel_gpu_top.1 | 3 |
1 files changed, 2 insertions, 1 deletions
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 |