it's all can do

it's all (that) somebody can do to do something

if it's all someone can do to do something, they just manage to do it although it is difficult It was all I could do to stop myself screaming with pain.
See also: all, can