You need a KVM switch. A USB KVM will even allow you to connect both computers to the same monitor, keyboard and mouse and switch between computers with just the push of a button.
Thanks. My intent is to run dual 23's on my mac pro but to be able to switch one over to a mac-mini when my kids want to use it. They'd have a seperate mouse/keyboard.