Wiktionary
smell of an oily rag
n. (context idiomatic Australia New Zealand English) A very small amount, or the absolute minimum (usually of money).
Usage examples of "smell of an oily rag".
So they're existing on the smell of an oily rag and things are pretty shaky back at the ranch.