OLD | NEW |
| (Empty) |
1 | |
2 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> | |
3 <html><head><title>Python: module telemetry.internal.util.ps_util</title> | |
4 <meta charset="utf-8"> | |
5 </head><body bgcolor="#f0f0f8"> | |
6 | |
7 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="heading"> | |
8 <tr bgcolor="#7799ee"> | |
9 <td valign=bottom> <br> | |
10 <font color="#ffffff" face="helvetica, arial"> <br><big><big><strong><a hre
f="telemetry.html"><font color="#ffffff">telemetry</font></a>.<a href="telemetry
.internal.html"><font color="#ffffff">internal</font></a>.<a href="telemetry.int
ernal.util.html"><font color="#ffffff">util</font></a>.ps_util</strong></big></b
ig></font></td | |
11 ><td align=right valign=bottom | |
12 ><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href=
"../telemetry/internal/util/ps_util.py">telemetry/internal/util/ps_util.py</a></
font></td></tr></table> | |
13 <p><tt># Copyright 2013 The Chromium Authors.
All rights reserved.<br> | |
14 # Use of this source code is governed by
a BSD-style license that can be<br> | |
15 # found in the LICENSE file.</tt></p> | |
16 <p> | |
17 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> | |
18 <tr bgcolor="#aa55cc"> | |
19 <td colspan=3 valign=bottom> <br> | |
20 <font color="#ffffff" face="helvetica, arial"><big><strong>Modules</strong></big
></font></td></tr> | |
21 | |
22 <tr><td bgcolor="#aa55cc"><tt> </tt></td><td>
</td> | |
23 <td width="100%"><table width="100%" summary="list"><tr><td width="25%" valign=t
op><a href="atexit.html">atexit</a><br> | |
24 </td><td width="25%" valign=top><a href="inspect.html">inspect</a><br> | |
25 </td><td width="25%" valign=top><a href="logging.html">logging</a><br> | |
26 </td><td width="25%" valign=top><a href="os.html">os</a><br> | |
27 </td></tr></table></td></tr></table><p> | |
28 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> | |
29 <tr bgcolor="#eeaa77"> | |
30 <td colspan=3 valign=bottom> <br> | |
31 <font color="#ffffff" face="helvetica, arial"><big><strong>Functions</strong></b
ig></font></td></tr> | |
32 | |
33 <tr><td bgcolor="#eeaa77"><tt> </tt></td><td>
</td> | |
34 <td width="100%"><dl><dt><a name="-EnableListingStrayProcessesUponExitHook"><str
ong>EnableListingStrayProcessesUponExitHook</strong></a>()</dt></dl> | |
35 <dl><dt><a name="-GetChildPids"><strong>GetChildPids</strong></a>(processes, pi
d)</dt><dd><tt>Returns all child processes of |pid|&nbs
p;from the given |processes| list.<br> | |
36 <br> | |
37 Args:<br> | |
38 processes: A tuple of (pid, ppid, stat
e) as generated by ps.<br> | |
39 pid: The pid for which to get chi
ldren.<br> | |
40 <br> | |
41 Returns:<br> | |
42 A list of child pids.</tt></dd></dl> | |
43 <dl><dt><a name="-GetPsOutputWithPlatformBackend"><strong>GetPsOutputWithPlatfo
rmBackend</strong></a>(platform_backend, columns, pid)</dt><dd><tt>Returns
output of the 'ps' command as a list of&
nbsp;lines.<br> | |
44 <br> | |
45 Args:<br> | |
46 platform_backend: The platform backend (LinuxBas
edPlatformBackend or<br> | |
47 PosixPlatformBackend).<br> | |
48 columns: A list of require columns, e.
g., ['pid', 'pss'].<br> | |
49 pid: If not None, returns only the&nbs
p;information of the process with the pid.</tt></d
d></dl> | |
50 </td></tr></table> | |
51 </body></html> | |
OLD | NEW |