Specialized hardware exists for that. Google for "spectrum monitoring".