https://github.com/vicanso/tools
frequently-used tools
https://github.com/vicanso/tools
Last synced: 3 months ago
JSON representation
frequently-used tools
- Host: GitHub
- URL: https://github.com/vicanso/tools
- Owner: vicanso
- Created: 2017-12-22T13:01:06.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2018-05-29T12:52:49.000Z (over 7 years ago)
- Last Synced: 2025-05-18T10:07:07.993Z (5 months ago)
- Size: 11.8 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# tools
常用的一些工具
- `ctop` 查看docker container的性能,启动时加参数:-v /var/run/docker.sock:/var/run/docker.sock
- `httpstat` HTTP调用,生成各状态的调用时长
- `jj` 格式化JSON
- `wrk` HTTP并发性能测试
- `nload` 查看网卡流量
- `curl` HTTP调用
- `telnet`## docker run
```bash
docker run -it --rm -v /var/run/docker.sock:/var/run/docker.sock vicanso/tools bash
```### ctop
```bash
ctop -a
```### httpstat
```bash
httpstat https://www.baidu.com/
```### jj
```bash
curl 'https://xs.aslant.site/api/users/me' | jj -p
```### wrk
```bash
wrk -t10 -c200 -d1m -H 'Accept-Encoding: br, gzip, deflate' 'http://127.0.0.1:3015/css/app.f81943d4.css' --latency
```### dig
```bash
dig @localhost -p 1053 a www.baidu.com
```### traceroute
```bash
traceroute www.baidu.com
```