diff options
| author | Leo Chan <leochanj@live.unc.edu> | 2020-10-24 13:18:05 -0400 |
|---|---|---|
| committer | Joshua Bakita <jbakita@cs.unc.edu> | 2020-10-24 13:18:05 -0400 |
| commit | 54f1032e22f556ccb77b5b7f800189309ec941d7 (patch) | |
| tree | ab3f78924dd9b376857847c69a815e52160520ff /kill.py | |
| parent | 81ef41aff991342bf53c6dab3bec892c628e62c9 (diff) | |
Merge case study updates from sd-vbs branch
Diffstat (limited to 'kill.py')
| -rw-r--r-- | kill.py | 5 |
1 files changed, 5 insertions, 0 deletions
| @@ -0,0 +1,5 @@ | |||
| 1 | import os | ||
| 2 | |||
| 3 | with open("./pids.txt", "r") as f: | ||
| 4 | for line in f: | ||
| 5 | os.system("sudo kill " + line) | ||
