czoczo 8f7996a872 Fixing errors in description 5 months ago
README.md Fixing errors in description 5 months ago
statesnap.sh changed output text formating, netowrk port info from ss instead of netstat 11 months ago

README.md

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