(self)
| 70 | |
| 71 | """ We only want mounted nfs filesystems """ |
| 72 | def nfsoutput(self): |
| 73 | command="mount -v -t nfs" |
| 74 | p=subprocess.Popen(command, shell=True, stdout=subprocess.PIPE) |
| 75 | lines=map(lambda line: line.split()[2], p.stdout.readlines()) |
| 76 | test=re.compile("^%s" % (primary)) |
| 77 | lines=filter(test.search, lines) |
| 78 | return lines |
| 79 | |
| 80 | """ |
| 81 | The main run for all checks we do, |