Disk speed benchmark
Benchmarking Block Storage
These commands will test for write speeds under multiple conditions:
Benchmarking Block Storage
These commands will test for write speeds under multiple conditions:
When runned out of memory and redis fail
- try to stop everything with excessive usage of RAM
- fix redis db file with ./redis-check-aof --fix fdbfilename.aof
Get response time with curl:
Total time
curl -o /dev/null -s -w 'Total: %{time_total}s\n' https://www.google.com
Establish connection/time to first byte/total time
For a dig with dns request flow response use
dig hostname.tld +trace
Set at the beginning of bash script:
set -Eeuxo pipefail
set -e
The -e option will cause a bash script to exit immediately when a command fails.
nmap - checking open ports and footprinting
MSF - Metasploit framework
DIRB - enumerate files on webserver
Wireshark - network analytics
Wfuzz - bruteforcing web applications
sqlmap - detection and exploitation of SQL injection flaws
Get docker ip addressesdocker inspect -f '{{.Name}} - {{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}' $(docker ps -aq)
In order to pest whether is network port accessible, either udp or tcp.
Can server listen on udp port 5000 ?
Example with UDP port!
Server sidencat -ulp 5000
Client sidencat -u XXX.XXX.XXX.XXX 5000
journalctl -u service.name
List systemd service start time systemd-analyze blame