She sensed that her husband was unhappy.

Literal

She [topic-は] husband [subject-が] happy not thing [object-を] sensed.

感じとる ('to sense/perceive') is a compound verb — 感じる (feel) + 取る (take/grasp). ことを感じとった nominalizes the embedded clause.