This file has been truncated, but you can view the full file.
This file contains 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
# ======== | |
# captured on: Fri Aug 29 21:35:50 2014 | |
# hostname : ip-10-81-171-47 | |
# os release : 3.2.0-67-virtual | |
# perf version : 3.2.60 | |
# arch : x86_64 | |
# nrcpus online : 16 | |
# nrcpus avail : 16 | |
# cpudesc : Intel(R) Xeon(R) CPU E5-2670 v2 @ 2.50GHz | |
# cpuid : GenuineIntel,6,62,4 |
This file has been truncated, but you can view the full file.
This file contains 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
# ======== | |
# captured on: Fri Aug 29 21:35:50 2014 | |
# hostname : ip-10-81-171-47 | |
# os release : 3.2.0-67-virtual | |
# perf version : 3.2.60 | |
# arch : x86_64 | |
# nrcpus online : 16 | |
# nrcpus avail : 16 | |
# cpudesc : Intel(R) Xeon(R) CPU E5-2670 v2 @ 2.50GHz | |
# cpuid : GenuineIntel,6,62,4 |
This file contains 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
cd /opt/local/datadog | |
source venv/bin/activate | |
pip install pg8000 --upgrade | |
bin/agent restart | |
# wait for 10s | |
bin/agent info # should show you proper postgres metrics |
This file contains 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
docker run -d --privileged --name dd-agent -h `hostname` \ | |
-v /var/run/docker.sock:/var/run/docker.sock \ | |
-v /proc/mounts:/host/proc/mounts:ro \ | |
-v /sys/fs/cgroup/:/host/sys/fs/cgroup:ro \ | |
-e API_KEY=`etcdctl get /ddapikey` \ | |
datadog/docker-dd-agent |
This file contains 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
# make dpkg think that upstart is always happy even when systemd is running the show | |
# credit: http://csgeek-random.blogspot.com/2015/04/ubuntu-1504-broken-upstart-working.html | |
sudo dpkg-divert --local --rename --add /sbin/initctl | |
sudo ln -s /bin/true /sbin/initctl |
This file contains 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
Crashlog created at 2015-05-31 15:54:57 -0400 | |
===== MESSAGE: | |
ArgumentError: invalid byte sequence in US-ASCII | |
===== COMPILATION STACK: | |
- [item] /ja/examples/Graphing Functions/ (rep default) |
This file contains 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
dnetc v2.9111-520-CFR-13101401 for Linux (Linux 3.13.0-62-generic). | |
Please provide the *entire* version descriptor when submitting bug reports. | |
The distributed.net bug report pages are at http://bugs.distributed.net/ | |
[Aug 26 20:28:39 UTC] Automatic processor type detection did not | |
recognize the processor (tag: "100063F2") | |
[Aug 26 20:28:39 UTC] OGR-NG: using core #0 (FLEGE-64 2.0). | |
[Aug 26 20:28:59 UTC] OGR-NG: Benchmark for core #0 (FLEGE-64 2.0) | |
0.00:00:17.02 [42,484,904 nodes/sec] | |
[Aug 26 20:28:59 UTC] OGR-NG: using core #1 (cj-asm-generic). |
This file contains 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
From 1814e7c904072f0f67c5128d53a20d26ebb56b1a Mon Sep 17 00:00:00 2001 | |
From: Jun Rao <[email protected]> | |
Date: Tue, 12 May 2015 15:37:21 -0700 | |
Subject: [PATCH 1/3] synchronize on getting size from watchers | |
--- | |
core/src/main/scala/kafka/server/RequestPurgatory.scala | 6 +++++- | |
1 file changed, 5 insertions(+), 1 deletion(-) | |
diff --git a/core/src/main/scala/kafka/server/RequestPurgatory.scala b/core/src/main/scala/kafka/server/RequestPurgatory.scala |
This file contains 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
#define _GNU_SOURCE | |
#define _FILE_OFFSET_BITS 64 | |
#include <stdio.h> | |
#include <time.h> | |
#include <stdlib.h> | |
#include <unistd.h> | |
#include <sys/resource.h> | |
#define errExit(msg) do { perror(msg); exit(EXIT_FAILURE); \ | |
} while (0) |
This file contains 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
import timeit | |
import random | |
acc = None | |
def sample(): | |
value = random.random() | |
if value >= 0.5: | |
return "+" + str(value) | |
else: |