A fork of Rural Dictionary
Close to the end, wearing out or on the verge of breaking.
This machine is on its last legs, I'll give it another 2 weeks before it stops working altogether.