albinsun / logsend Goto Github PK
View Code? Open in Web Editor NEWthe stupid syslog sender
the stupid syslog sender
default: eps = 1
default: blank (text input)
facility:Ref. https://docs.python.org/2/library/logging.handlers.html#logging.StreamHandler
priority: DEBUG, INFO, WARNING, ERROR and CRITICAL
also the priority
this helps user know the current sender eps status since the divergence between real and assigned frequency (by -f) will increase when assigned getting higher due to outer reason like system scheduling and other actinities.
default: 1 event
msg: generator iter all file contents (if file) or infinite iteration (if msg)
runs: control number of submission
-n \ src | file | msg |
---|---|---|
None (default) | infinite | send 1 |
N (>=0) | send N | send N |
N (< 0) | infinite | infinite |
if msg and args.number is None: args.number = 1
runs = N runs if args.number >= 0 else infinite runs
dynamic frequency to simulation real world situation, could be assign by a pattern like r,10,20 indicates random between 10 ~ 20 eps.
but the real world behavior is that a specific eps will insists for a while, not randomly, no need more discuss...
for fun :P
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.