Comments (8)
@arriven I'll implement it - an option to have only totals. I think it would be even better to have totals and each protocol as a target, something like:
http | stats...
https | stats..
tcp | stats..
--------
total | stats..
Propose to call it -less-stats
. Maybe fewer
would be more grammatical, but I guess less
is kinda more conventional for text..
from db1000n.
available in 0.9.10, thanks to @roman-kruglov
from db1000n.
So there are couple options to achieve something similar to what you need already:
- you can specify
--log-format json
and then feed those to some json parser to only gather info you need (I think https://github.com/ihorlv/db1000nX100 does something similar to that so you could take some inspiration there) - alternatively, you can specify
--log-level fatal
- that should disable all the logs except the stats table. the table may still be pretty large so if json option is not good enough I could probably make alternative reporter format that would only output total stats but not sure when I can get to it
from db1000n.
Чому в документації немає нічого про ці опції?
from db1000n.
@PerchunPak i guess in most cases it's enough to run the binary without any provided options, but you can see all of them by running the db1000n instance with '-h' argument:
./db1000n -h
from db1000n.
Maybe a numeric options would be even better? Something like -less-stats=20
would mean "show less info when the number of targets is higher than 20".
from db1000n.
Well, let's start with a simple boolean flag then #552
from db1000n.
it's merged, should be in the next release. Maybe we could close this issue now.
from db1000n.
Related Issues (20)
- SIGSEGV incoming HOT 3
- Things to optimize - performance HOT 10
- Reference to db1000nX100 project HOT 1
- Error when pulling docker image HOT 1
- vpn load balancing script
- Can you compiling file or opkg OpenWRT for MIPS, MIPSBE, MMIPS etc? ;) HOT 14
- Trojan HOT 3
- Scale up db1000n automatically in order to utilize all available system resources HOT 2
- Disk usage is increasing with Docker containers HOT 5
- Can you add limit download/upload speed? HOT 3
- Add more stats (cpu/memory load, amount of open connections, etc.)
- oom killed HOT 23
- prometheus.go:298: Can't push metrics to gateway HOT 2
- ERROR: HostClient can't follow redirects to a different protocol, please use Client instead HOT 1
- Config path is not available anymore for Digital Ocean deployment HOT 1
- Add new sites? HOT 2
- Non-cumulative stats HOT 1
- Build unsuccesful by go install HOT 4
- . HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from db1000n.