Browse Source

Added information for 'description' option in getProcessInfo method.

GulsahKose 11 years ago
parent
commit
a229b9d37f
1 changed files with 8 additions and 0 deletions
  1. 8 0
      docs/api.rst

+ 8 - 0
docs/api.rst

@@ -222,6 +222,7 @@ Process Control
 
             {'name':           'process name',
              'group':          'group name',
+             'description':    'pid 18806, uptime 0:03:12'
              'start':          1200361776,
              'stop':           0,
              'now':            1200361812,
@@ -241,6 +242,13 @@ Process Control
 
             Name of the process' group
 
+        .. describe:: description
+
+            If process state is running description's value is process_id
+            and uptime. Example "pid 18806, uptime 0:03:12 ".
+            If process state is stopped description's value is stop time.
+            Example:"Jun 5 03:16 PM ". 
+
         .. describe:: start
 
             UNIX timestamp of when the process was started