Commit 989a8e09 authored by Dmitry Volodin's avatar Dmitry Volodin
Browse files

Linux and Solaris support

parent a1ac14d4
......@@ -22,8 +22,12 @@ class ProcessProbeSocket(PopenProbeSocket):
def get_cmd_darwin(self):
return ["/bin/ps","-ax","-o","rss,vsize,command"]
## Linux
def get_cmd_linus(self):
return []
def get_cmd_linux(self):
return ["/bin/ps","-ax","-o","rss,vsize,cmd"]
## Solaris
def get_cmd_sunos(self):
return ["/bin/ps","-e","-o","rss,vsz,args"]
##
##
## Parse self.data
##
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment