Add some getvar commands

Change-Id: I15c1d96911fbd3c448ece031a69ee4f1d2e3e58a