Skip to content

Instantly share code, notes, and snippets.

View khailey-zz's full-sized avatar

Kyle Hailey khailey-zz

View GitHub Profile
<?xml version="1.0" encoding="UTF-8"?>
<jmeterTestPlan version="1.2" properties="2.9" jmeter="3.0 r1743807">
<hashTree>
<TestPlan guiclass="TestPlanGui" testclass="TestPlan" testname="Test Plan" enabled="true">
<stringProp name="TestPlan.comments"></stringProp>
<boolProp name="TestPlan.functional_mode">false</boolProp>
<boolProp name="TestPlan.serialize_threadgroups">false</boolProp>
<elementProp name="TestPlan.user_defined_variables" elementType="Arguments" guiclass="ArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
<collectionProp name="Arguments.arguments"/>
</elementProp>
<?xml version="1.0" encoding="UTF-8"?>
<jmeterTestPlan version="1.2" properties="2.9" jmeter="3.0 r1743807">
<hashTree>
<TestPlan guiclass="TestPlanGui" testclass="TestPlan" testname="Test Plan" enabled="true">
<stringProp name="TestPlan.comments"></stringProp>
<boolProp name="TestPlan.functional_mode">false</boolProp>
<boolProp name="TestPlan.serialize_threadgroups">false</boolProp>
<elementProp name="TestPlan.user_defined_variables" elementType="Arguments" guiclass="ArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
<collectionProp name="Arguments.arguments"/>
</elementProp>
@khailey-zz
khailey-zz / README.md
Created November 4, 2015 00:27
fresh block
@khailey-zz
khailey-zz / README.md
Created November 4, 2015 00:11
fresh block
@khailey-zz
khailey-zz / tcpmac.d
Last active January 1, 2016 18:19
get tcp traffic send and receive on a Mac. Was using this to see what programs were saturating my DSL connection
#!/usr/sbin/dtrace -s
#pragma D option defaultargs
#pragma D option quiet
inline int af_inet = 2; /* AF_INET defined in bsd/sys/socket.h */
inline int af_inet6 = 30; /* AF_INET6 defined in bsd/sys/socket.h */
/* would be cool if this worked on the MAC
dtrace -n 'mib:::tcpInDataInorderBytes { @[execname] = sum(args[0]); }'
but mib doesn't seem to be on my Mac 10.8.2
*/
@khailey-zz
khailey-zz / index.html
Created July 19, 2012 01:18
markdown test
title
------------------
list
* a
* b
* c
list 2
@khailey-zz
khailey-zz / fio_visualize.r
Created July 19, 2012 01:02
visualizing data from fio in R
colors <- c(
"#00007F", # 50u 1 blue
"#0000BB", # 100u 5
"#0000F7", # 250u
"#00ACFF", # 500u 6
"#00E8FF", # 1ms 7
"#25FFD9", # 2ms 8
"#61FF9D", # 4ms 9
"#9DFF61", # 10ms 10