Created
July 19, 2013 17:17
-
-
Save yeukhon/6040830 to your computer and use it in GitHub Desktop.
run.py
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/python | |
| import time | |
| time.sleep(30) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/python | |
| from subprocess import Popen | |
| p1 = Popen(['python', 'demo.py', '-c', 'name=val']) | |
| p2 = Popen(['skipfish', '-o', '/tmp/skipfish', '-N', '-C', 'name=val', 'http://127.0.0.1:5000']) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ps -elf|grep python | |
| S vagrant 28685 1 0 80 0 - 8042 poll_s 17:14 pts/7 00:00:00 python demo.py -c name=val | |
| 0 S vagrant 28693 1 0 80 0 - 8042 poll_s 17:14 pts/7 00:00:00 python demo.py -c name=val | |
| ps -elf|grep skipfish | |
| (b)vagrant@precise64:~$ ps -elf|grep skipfish | |
| 0 S vagrant 28758 1 0 80 0 - 4344 hrtime 17:17 pts/7 00:00:00 skipfish -o /tmp/erererere112 -N -C name val http://127.0.0.1:5000 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment