Plot machine name, more values in config
This commit is contained in:
parent
f4ce4bd3fc
commit
ef0715fad2
3 changed files with 185 additions and 48 deletions
39
README.md
39
README.md
|
|
@ -223,10 +223,10 @@ Add p2 the `/etc/hosts`:
|
|||
192.168.3.14 p2
|
||||
```
|
||||
|
||||
Install sa on p2:
|
||||
Install things on p2:
|
||||
|
||||
```bash
|
||||
sudo apt install acct
|
||||
sudo apt install acct dtach
|
||||
sudo chmod +s /sbin/sa
|
||||
```
|
||||
|
||||
|
|
@ -235,7 +235,7 @@ Run:
|
|||
```bash
|
||||
python exp.py make pi -c
|
||||
python exp.py send pi
|
||||
python exp.py update-certs # also do this command on p2
|
||||
python exp.py update-certs pi # also do this command on p2
|
||||
python exp.py run pi --idle
|
||||
```
|
||||
|
||||
|
|
@ -248,9 +248,36 @@ Profile code execution on the local machine.
|
|||
Add the domains the `/etc/hosts`:
|
||||
|
||||
```
|
||||
127.0.0.1 google.com.localhost
|
||||
127.0.0.1 youtube.com.localhost
|
||||
127.0.0.1 www.youtube.com.localhost
|
||||
127.0.0.1 i.ytimg.com.localhost
|
||||
127.0.0.1 fonts.gstatic.com.localhost
|
||||
127.0.0.1 www.gstatic.com.localhost
|
||||
127.0.0.1 www.google.com.localhost
|
||||
# etc.
|
||||
127.0.0.1 accounts.google.com.localhost
|
||||
127.0.0.1 yt3.ggpht.com.localhost
|
||||
127.0.0.1 rr1---sn-gxo5uxg-jqbl.googlevideo.com.localhost
|
||||
127.0.0.1 rr2---sn-gxo5uxg-jqbl.googlevideo.com.localhost
|
||||
127.0.0.1 rr4---sn-q4fl6nds.googlevideo.com.localhost
|
||||
127.0.0.1 fr.wikipedia.org.localhost
|
||||
127.0.0.1 upload.wikimedia.org.localhost
|
||||
127.0.0.1 apple.com.localhost
|
||||
127.0.0.1 www.apple.com.localhost
|
||||
192.168.3.1 youtube.com
|
||||
192.168.3.1 www.youtube.com
|
||||
192.168.3.1 i.ytimg.com
|
||||
192.168.3.1 fonts.gstatic.com
|
||||
192.168.3.1 www.gstatic.com
|
||||
192.168.3.1 www.google.com
|
||||
192.168.3.1 accounts.google.com
|
||||
192.168.3.1 yt3.ggpht.com
|
||||
192.168.3.1 rr1---sn-gxo5uxg-jqbl.googlevideo.com
|
||||
192.168.3.1 rr2---sn-gxo5uxg-jqbl.googlevideo.com
|
||||
192.168.3.1 rr4---sn-q4fl6nds.googlevideo.com
|
||||
192.168.3.1 fr.wikipedia.org
|
||||
192.168.3.1 upload.wikimedia.org
|
||||
192.168.3.1 apple.com
|
||||
192.168.3.1 www.apple.com
|
||||
```
|
||||
|
||||
Install sa:
|
||||
|
|
@ -284,7 +311,7 @@ Run:
|
|||
```bash
|
||||
python exp.py make local -c
|
||||
python exp.py send local
|
||||
python exp.py update-certs
|
||||
python exp.py update-certs local
|
||||
python exp.py run local
|
||||
python plots.py prof <path/to/log>
|
||||
```
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue