Afternoon,
I have this script to pull all the ports ona switch that have had no activity within a given period:
#show int | i proto.*notconnect|proto.