mirror of
https://github.com/adulau/aha.git
synced 2024-12-27 03:06:10 +00:00
Removed print messages
This commit is contained in:
parent
8a57773fcc
commit
52d235b957
1 changed files with 1 additions and 5 deletions
|
@ -125,8 +125,6 @@ class ProcessTrees:
|
||||||
try:
|
try:
|
||||||
pid = int(msg['pid'][0])
|
pid = int(msg['pid'][0])
|
||||||
ppid = int(msg['ppid'][0])
|
ppid = int(msg['ppid'][0])
|
||||||
print "Annotate process ",pid
|
|
||||||
print msg
|
|
||||||
if self.aplist.has_key(pid) == False:
|
if self.aplist.has_key(pid) == False:
|
||||||
#Got a new process, so create a new dictionary for meta data
|
#Got a new process, so create a new dictionary for meta data
|
||||||
self.aplist[pid] = dict()
|
self.aplist[pid] = dict()
|
||||||
|
@ -140,17 +138,15 @@ class ProcessTrees:
|
||||||
if ev.startswith('SSH_CLIENT='):
|
if ev.startswith('SSH_CLIENT='):
|
||||||
ev = ev.replace('SSH_CLIENT=','')
|
ev = ev.replace('SSH_CLIENT=','')
|
||||||
self.aplist[pid]['ssh_client'] = ev
|
self.aplist[pid]['ssh_client'] = ev
|
||||||
print"GROAAAAAAAAAAAAAAAAAAAAARRRRRRRRRRRRRRR: ",pid
|
|
||||||
# Is there a timestamp?
|
# Is there a timestamp?
|
||||||
if msg.has_key('timestamp'):
|
if msg.has_key('timestamp'):
|
||||||
self.aplist[pid]['timestamp'] = msg['timestamp']
|
self.aplist[pid]['timestamp'] = msg['timestamp']
|
||||||
print "annotated list"
|
|
||||||
print self.aplist
|
|
||||||
|
|
||||||
except ValueError,e:
|
except ValueError,e:
|
||||||
pass
|
pass
|
||||||
except IndexError,e:
|
except IndexError,e:
|
||||||
pass
|
pass
|
||||||
|
|
||||||
def addUser(self,pid):
|
def addUser(self,pid):
|
||||||
self.userList[pid] = 1 #Shortcut to init
|
self.userList[pid] = 1 #Shortcut to init
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue