I'm trying to monitor the traffic on a particular switch for a continuous hour. Could anybody please suggest me how to make it possible? For example if I wanna use snmpget command, what would I do in order to do that for an hour?

_ _ _ _ _ _ _ _
_ _ _ _ _ _ _ _
snmpget _ _ _ _
_ _ _ _ _ _ _ _
_ _ _ _ _ _ _ _
_ _ _ _ _ _ _ _

Thank you very much for your kind attention : )

A loop and sleep should do the job. Here it is
-------------
for (( i = 1; i <= 60; i++ ))
do
snmpget ......
sleep 60
done

change the seconds and loop count as per your snmpget tuning.