Skip to content

Instantly share code, notes, and snippets.

Panos pkittenis

  • -
Block or report user

Report or block pkittenis

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View async_times.py
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from __future__ import unicode_literals
from pssh.clients.miko.single import SSHClient as MikoClient
from pssh.utils import load_private_key
import os
import sys
View PSSH Comparison-1507942918507.json
{
"__inputs": [
{
"name": "DS_LOCAL",
"label": "local",
"description": "",
"type": "datasource",
"pluginId": "graphite",
"pluginName": "Graphite"
}
View perf_test.py
from pssh.pssh_client import ParallelSSHClient
from pssh.pssh2_client import ParallelSSHClient as ParallelSSH2Client
from pssh.utils import load_private_key
from gevent import monkey, sleep, threadpool, spawn, joinall
import os
import socket
import sys
from threading import Thread
View perf_test_ssh2.py
import os
import socket
import sys
from threading import Thread
from Queue import PriorityQueue
from datetime import datetime
import pwd
from decimal import Decimal
import time
@pkittenis
pkittenis / LICENSE
Last active Aug 23, 2017
Graphite test client
View LICENSE
GNU GENERAL PUBLIC LICENSE
Version 2, June 1991
Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
Preamble
View carbon-c-relay
#!/bin/bash
#
# Init script for carbon-c-relay
#
# chkconfig: 345 80 20
# description: Carbon-c-relay is an alternative graphite relay \
# as a replacement for the built in carbon-relay. It provides \
# vastly better performance compared to the built in relay \
# in a multi-threaded process.
# processname: carbon-c-relayd"
You can’t perform that action at this time.