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
| 4110 --- SIGCHLD (Child exited) @ 0 (0) --- | |
| 4109 --- SIGCHLD (Child exited) @ 0 (0) --- | |
| 4108 --- SIGCHLD (Child exited) @ 0 (0) --- | |
| 4113 --- SIGCHLD (Child exited) @ 0 (0) --- | |
| 4112 --- SIGCHLD (Child exited) @ 0 (0) --- | |
| 4108 --- SIGCHLD (Child exited) @ 0 (0) --- | |
| 4115 --- SIGCHLD (Child exited) @ 0 (0) --- | |
| 4108 --- SIGCHLD (Child exited) @ 0 (0) --- | |
| 4108 --- SIGCHLD (Child exited) @ 0 (0) --- | |
| 4108 --- SIGCHLD (Child exited) @ 0 (0) --- |
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
| user root; | |
| worker_processes 8; | |
| daemon off; | |
| error_log /root/error.log; | |
| pid /root/nginx.pid; | |
| events { | |
| worker_connections 102400; | |
| multi_accept on; |
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
| package main | |
| import ( | |
| "fmt" | |
| "net" | |
| "os" | |
| "syscall" | |
| "github.com/docker/libcontainer/netlink" | |
| "github.com/docker/libcontainer/system" |
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
| package main | |
| import ( | |
| "fmt" | |
| "net" | |
| "os" | |
| "runtime" | |
| "github.com/docker/libcontainer/netlink" | |
| ) |
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
| package main | |
| import ( | |
| "fmt" | |
| "time" | |
| "github.com/open-falcon/agent/g" | |
| "github.com/open-falcon/common/model" | |
| ) |
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
| #include <sys/stat.h> | |
| #include <sys/types.h> | |
| #include <sys/socket.h> | |
| #include <sys/ioctl.h> | |
| #include <net/if.h> | |
| #include <netinet/in.h> | |
| #include <netinet/ip.h> | |
| #include <string.h> | |
| #include <unistd.h> | |
| #include <stdlib.h> |
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
| local redis_c = require "resty.redis" | |
| local ok, new_tab = pcall(require, "table.new") | |
| if not ok or type(new_tab) ~= "function" then | |
| new_tab = function (narr, nrec) return {} end | |
| end | |
| local _M = new_tab(0, 155) |
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
| worker_processes {{worker_processes}}; | |
| error_log stderr info; | |
| events { | |
| worker_connections {{worker_connections}}; | |
| } | |
| daemon off; |
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
| # coding: utf-8 | |
| import gevent | |
| from gevent import monkey; monkey.patch_all() | |
| import time | |
| from requests import Session | |
| ans = { | |
| u'92和160哪个数大?(请填数值)':'160', \ | |
| u'55和200哪个数大?(请填数值)':'200', \ | |
| u'700和222哪个数大?(请填数值)':'700', \ |
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
| # Generated by confd | |
| include "bird_aggr.cfg"; | |
| include "bird_ipam.cfg"; | |
| router id {{getenv "IP"}}; | |
| {{define "LOGGING"}} | |
| {{$node_logging_key := printf "/host/%s/loglevel" (getenv "HOSTNAME")}}{{if exists $node_logging_key}}{{$logging := getv $node_logging_key}} | |
| {{if eq $logging "debug"}} debug all;{{else if ne $logging "none"}} debug { states };{{end}} | |
| {{else if exists "/global/loglevel"}}{{$logging := getv "/global/loglevel"}} |