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
[uwsgi] | |
socket=0.0.0.0:4800 | |
master = true | |
single-interpreter = true | |
uid = apache | |
gid = apache | |
pythonpath = /usr/share/graphite | |
pythonpath = /usr/share/graphite/webapp | |
chdir = /usr/share/graphite/webapp | |
plugins=python |
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
import asyncio | |
import time | |
import threading | |
from time import time | |
SERVER_ADDRESS = ('127.0.0.1', 5566) | |
INTERVAL = 10 | |
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
#! /usr/bin/env stap | |
############################################################ | |
# connect_stat.stp | |
# Author: Robin Hack <[email protected]> | |
# An example script show process tree of process | |
# which tried to call connect with specific ip address | |
############################################################ | |
function process_tree (ip:string) { |
OlderNewer