I got back to using
schema crawler this week, trying to make sure we can explain the inconsistencies we see in the metadata between our different environments. I found this
cool little script to do port scanning so I could discover which ports our DB's were using.
HOST=127.0.0.1;
for((port=1;port<=65535;++port)); do echo -en "$port \n"; if echo -en "open $HOST $port\nlogout\quit" | telnet 2>/dev/null | grep 'Connected to' > /dev/null;
then echo -en "\n\nport $port/tcp is open\n\n";
fi;
done
No comments:
Post a Comment