kill 掉运行在 8000 端口的应用
lsof -ti :8000 | xargs kill -9 3 notes found.
kill 掉运行在 8000 端口的应用
lsof -ti :8000 | xargs kill -9 ➜ uname -m
arm64
➜ uname -s
Darwin 使用 hyperfine 来运行,参考:https://github.com/chinanf-boy/hyperfine-zh#%E7%94%A8%E6%B3%95
比如:hyperfine 'sleep 0.3', 运行结果如下
[nix-shell:~/ghq/github.com/zhaochunqi/til]$ hyperfine 'sleep 0.3'
Benchmark 1: sleep 0.3
Time (mean ± σ): 319.5 ms ± 4.8 ms [User: 6.8 ms, System: 3.8 ms]
Range (min … max): 311.0 ms … 326.1 ms 10 runs