add capacity command

Signed-off-by: Momchil Atanasov <m.momchil@gmail.com>