Sometimes SSH related information is lost ....

This commit is contained in:
Gerard Wagener 2010-01-19 17:36:55 +01:00
parent e226c7303a
commit 4f7ed8bdc5

View file

@ -225,7 +225,7 @@ class ProcessTrees:
ts = time.strftime("%Y-%m-%d %H:%M:%S") ts = time.strftime("%Y-%m-%d %H:%M:%S")
f.write("*** UserList created on %s ***\n"%(str(ts))) f.write("*** UserList created on %s ***\n"%(str(ts)))
for pid in self.userList.keys(): for pid in self.userList.keys():
print "Inspecting user: ",pid f.write("** user root process %d **\n"%pid)
#See if some annotation is found for this pid #See if some annotation is found for this pid
if self.aplist.has_key(pid): if self.aplist.has_key(pid):
print "Found some annotations for",pid print "Found some annotations for",pid