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
| #Octave / Matlab | |
| #The values are in seconds and the vectors are containing the execution time of first, second and 3rd run. | |
| #Texas | |
| teragen=[ 419 427 440 ]; [mean(teragen) std(teragen)] | |
| terasort=[ 2165 1735 1887 ]; [mean(terasort) std(terasort)] | |
| teravalidate=[ 162 147 144 ]; [mean(teravalidate) std(teravalidate)] | |
| #GCP |
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
| #!/bin/bash | |
| export HADOOP_LIBS=/usr/hdp/2.2.4.2-2/hadoop-mapreduce | |
| export JAR_EXAMPLES=$HADOOP_LIBS/hadoop-mapreduce-examples.jar | |
| export JAR_JOBCLIENT=$HADOOP_LIBS/hadoop-mapreduce-client-jobclient-2.6.0.2.2.4.2-2-tests.jar | |
| terasort(){ | |
| echo "############################################" | |
| echo Running terasort tests.. | |
| echo "############################################" |
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
| #List of open file short by count: | |
| lsof 2>/dev/null | awk '{print $2}' | sort | uniq -c | sort -n | |
| lsof 2>/dev/null | wc -l |
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
| #!/bin/bash | |
| consul_dns_resolver() { | |
| sudo mkdir -p /etc/resolver | |
| echo "Writing resolver to /etc/resolver/consul" | |
| sudo tee /etc/resolver/consul << EOF | |
| domain consul | |
| search node.consul service.consul | |
| nameserver 192.168.59.103 | |
| EOF |
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
| { | |
| "configurations": [ | |
| { | |
| "nagios-env": { | |
| "nagios_contact": "admin@localhost" | |
| } | |
| } | |
| ], | |
| "host_groups": [ | |
| { |
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
| { | |
| "title": "System Resources", | |
| "services": { | |
| "query": { | |
| "list": { | |
| "0": { | |
| "query": "collectd_type:\"load\"", | |
| "alias": "Load", | |
| "color": "#70DBED", | |
| "id": 0, |
NewerOlder