瀏覽代碼

Added information for 'description' option in getProcessInfo method.

GulsahKose 11 年之前
父節點
當前提交
a229b9d37f
共有 1 個文件被更改,包括 8 次插入0 次删除
  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