You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
875 B
875 B
statesnap
- It's your first login to server as admin and need small/fast system inventory?
- Not sure which services to expect to come up after reboot?
- Want to know what changed after a restart?
If any of the above questions is true for you, this script might be just right for you.
How?
statesnap.sh simply records output of commands such as: ss, ps, ip and iptables with timestamp. This allows to view difference beetween last recorded 'snap' and current situation. It provides information about:
- List of unique processes names
- List of opened TCP/UDP ports along with process name
- Firewall rules
- Routing table
- Mount points
Usage
./statesnap.sh Usage: ./statesnap.sh [command]
snap - Make server status snapshot
diff - Make a diff comparison against latest snapshot
clear - Delete all previous snapshots