Skip to content

Instantly share code, notes, and snippets.

View Unitech's full-sized avatar

Alexandre Strzelewicz Unitech

View GitHub Profile
@alavit-d
alavit-d / README.md
Last active August 31, 2016 17:25
Setup dhcp for Rig

#Setup dhcp for Rig

  • Set static IP on network: ex on enxf01e34002108: sudo ifconfig enxf01e34002108 192.168.50.0
  • Setup file in /etc/dhcp/dhcpd.conf - as options routers ip set IP getting net access
  • Setup correct interface in /etc/default/isc-dhcp-server
  • sudo service isc-dhcp-server restart
  • sudo service isc-dhcp-server status
  • for debug: sudo tcpdump -n -i enxf01e34002108 port bootps or port bootpc
  • for DNS using the google DNS: add /etc/resolvconf/resolv.conf.d/tail
@YutaroHayakawa
YutaroHayakawa / report.lua
Created October 10, 2016 14:10
Lua script for formatting output of wrk to csv
done = function(summary, latency, requests)
-- open output file
f = io.open("result.csv", "a+")
-- write below results to file
-- minimum latency
-- max latency
-- mean of latency
-- standard deviation of latency
-- 50percentile latency