|
list | diskSpaceCmd = ["sh", "-c", "df -BM --output=pcent DISK | grep -v Use"] |
|
list | memoryFreeCmd = ["sh", "-c", "free -h -o | grep Mem: | awk '{print $4}'"] |
|
list | memoryTotalCmd = ["sh", "-c", "free -h -o | grep Mem: | awk '{print $2}'"] |
|
list | memoryUsedCmd = ["sh", "-c", "free -h -o | grep Mem: | awk '{print $3}'"] |
|
dictionary | ops |
|
Definition at line 25 of file CheckProfile.py.
def CheckProfile.CheckProfile.__init__ |
( |
|
self | ) |
|
def CheckProfile.CheckProfile.activate |
( |
|
self | ) |
|
def CheckProfile.CheckProfile.deactivate |
( |
|
self | ) |
|
def CheckProfile.CheckProfile.execute |
( |
|
self, |
|
|
|
log, |
|
|
|
keyvals, |
|
|
|
testDef |
|
) |
| |
def CheckProfile.CheckProfile.print_name |
( |
|
self | ) |
|
def CheckProfile.CheckProfile.print_options |
( |
|
self, |
|
|
|
testDef, |
|
|
|
prefix |
|
) |
| |
list CheckProfile.CheckProfile.diskSpaceCmd = ["sh", "-c", "df -BM --output=pcent DISK | grep -v Use"] |
|
static |
list CheckProfile.CheckProfile.memoryFreeCmd = ["sh", "-c", "free -h -o | grep Mem: | awk '{print $4}'"] |
|
static |
list CheckProfile.CheckProfile.memoryTotalCmd = ["sh", "-c", "free -h -o | grep Mem: | awk '{print $2}'"] |
|
static |
list CheckProfile.CheckProfile.memoryUsedCmd = ["sh", "-c", "free -h -o | grep Mem: | awk '{print $3}'"] |
|
static |
dictionary CheckProfile.CheckProfile.ops |
|
static |
CheckProfile.CheckProfile.options |
The documentation for this class was generated from the following file: