mirror of
https://github.com/xmengnet/the-art-of-command-line.git
synced 2024-12-25 12:56:29 +08:00
Add ngrep
This commit is contained in:
parent
ad0c149319
commit
ffaeabdaca
1 changed files with 2 additions and 1 deletions
|
@ -208,7 +208,7 @@ Scope:
|
||||||
|
|
||||||
- The `ab` tool (comes with Apache) is helpful for quick-and-dirty checking of web server performance. For more complex load testing, try `siege`.
|
- The `ab` tool (comes with Apache) is helpful for quick-and-dirty checking of web server performance. For more complex load testing, try `siege`.
|
||||||
|
|
||||||
- For more serious network debugging, `wireshark` or `tshark`.
|
- For more serious network debugging, `wireshark`, `tshark`, or `ngrep`.
|
||||||
|
|
||||||
- Know about `strace` and `ltrace`. These can be helpful if a program is failing, hanging, or crashing, and you don't know why, or if you want to get a general idea of performance. Note the profiling option (`-c`), and the ability to attach to a running process (`-p`).
|
- Know about `strace` and `ltrace`. These can be helpful if a program is failing, hanging, or crashing, and you don't know why, or if you want to get a general idea of performance. Note the profiling option (`-c`), and the ability to attach to a running process (`-p`).
|
||||||
|
|
||||||
|
@ -385,6 +385,7 @@ A few examples of piecing together commands:
|
||||||
|
|
||||||
- `fortune`, `ddate`, and `sl`: um, well, it depends on whether you consider steam locomotives and Zippy quotations "useful"
|
- `fortune`, `ddate`, and `sl`: um, well, it depends on whether you consider steam locomotives and Zippy quotations "useful"
|
||||||
|
|
||||||
|
- `ngrep`: grep for the network layer
|
||||||
|
|
||||||
## More resources
|
## More resources
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue