On Tue, 8 Dec 2009, James Antill wrote:
On Tue, 2009-12-08 at 16:45 -0500, Seth Vidal wrote:
---
yum/misc.py | 30 ++++++++++++++++++++++++++++++
1 files changed, 30 insertions(+), 0 deletions(-)
diff --git a/yum/misc.py b/yum/misc.py
index 642f9a2..bfebc38 100644
--- a/yum/misc.py
+++ b/yum/misc.py
@@ -873,3 +873,33 @@ def get_my_lang_code():
return mylang
+def return_running_pids():
+ """return list of running processids, excluding this one"""
+def get_open_files(pid):
+ """returns files open from this pid"""
Do you have more planned uses?
not _really_ and I hunted around quite a bit, to no avail, to see if there
was an already existent way of doing this in python.
-sv
_______________________________________________
Yum-devel mailing list
Yum-devel@lists.baseurl.org
http://lists.baseurl.org/mailman/listinfo/yum-devel