list ltm pool | grep -B 20 x.x.x.x | grep ltm pool
The -B 20 specifies the display of twenty 'lines' of output prior to the match for x.x.x.x. If you have pools with many members you may want to increase the value. Each node in a pool takes three lines, each pool name takes 2. So 20 should suffice for pools with up to six members but of course beware that the value isn't too high either else you'll potentially see pool names that the node isn't a member of.
Nik - I marked this as the solution to your original query. Seems right. If not...unselect this one. OR If you think there are other replies that also qualify as part of the solution (in this post) you can mark them too.
thanks for being crucial to the health of our community. Lief