You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
smart-top/src/monitor.py

165 lines
5.2 KiB
Python

"""
#
"""
This function returns the ratio of existing modules relative to the ones expected
"""
def composite(self):
required_modules= self.get_requirements()
sandbox_modules = self.get_sandbox_requirements()
cmd = "ps -eo pmem,pcpu,vsize,comm|grep :app"