I could barely stand.

Literal

Standing [nominalizer-の] [subject-が] was-utmost.

立っているのが精一杯だった — 'just standing was the utmost I could manage.' 精一杯 (to one's utmost/the very limit) describes the maximum of one's ability. Conveys extreme exhaustion or weakness.