aus dem letzten Loch pfeifen

Verb

 * 1) to be in a bad condition, at the end of one's strength or resources; to be on one's last legs