Add shell cancel and dump

Signed-off-by: nigel <nigel.cook@hp.com>