how can i extract only the Memory line from top command ?

Hello all
i need in csh to extract only the Memory line from the out put of the top command how can it easily done

use the -d option then just use awk or grep to get the value of the memory