Aravinda VK 3ed7d6de25 tools/glusterfind: Check existence of Session
Use glusterfind list command to check a session is valid or not

    glusterfind list --session <SESSION> --volume <VOLUME>

Session exists if return code($?) is zero else invalid session

Change-Id: I37faa09e4e1bf2f10725dd8e5b0cc36a36a3cad4
Signed-off-by: Aravinda VK <avishwan@redhat.com>
BUG: 1205057
Reviewed-on: http://review.gluster.org/10154
Reviewed-by: Kotresh HR <khiremat@redhat.com>
Tested-by: Gluster Build System <jenkins@build.gluster.com>
2015-04-09 09:52:33 +00:00
..