]> granicus.if.org Git - sysstat/commitdiff
pidstat: Update manual page
authorSebastien GODARD <sysstat@users.noreply.github.com>
Mon, 17 Jul 2017 15:48:43 +0000 (17:48 +0200)
committerSebastien GODARD <sysstat@users.noreply.github.com>
Mon, 17 Jul 2017 15:48:43 +0000 (17:48 +0200)
Explain pidstat's new option "-e".

Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
man/pidstat.1

index f0056be0222094cda6741cb4665c87930828c13f..79dc0ccd4d66dc21b5cd56444eeaade3641a497c 100644 (file)
@@ -15,7 +15,10 @@ pidstat \- Report statistics for Linux tasks.
 .I interval
 .B [
 .I count
-.B ] ]
+.B ] ] [ -e
+.I program
+.I args
+.B ]
 .SH DESCRIPTION
 The
 .B pidstat
@@ -119,6 +122,17 @@ completion.
 The command name of the task.
 .RE
 .RE
+.IP "-e program args"
+Execute
+.IR program
+with given arguments
+.IR args
+and monitor it with
+.B pidstat.
+.B pidstat
+stops when
+.IR program
+terminates.
 .IP "-G process_name"
 Display only processes whose command name includes the string
 .IR process_name .