diff options
author | Christophe Varoqui <christophe.varoqui@free.fr> | 2008-09-11 00:17:37 +0200 |
---|---|---|
committer | Christophe Varoqui <christophe.varoqui@free.fr> | 2008-09-11 00:17:37 +0200 |
commit | 88eb616ae1a673127ef4fd995d703a8b46a63822 (patch) | |
tree | 5baaa8d786fbd45b7a435e0ea16de88514fe3911 /multipathd/cli.c | |
parent | f8506903e13e898af04d582d51e76a6cad326a8d (diff) | |
download | multipath-tools-88eb616ae1a673127ef4fd995d703a8b46a63822.tar.gz multipath-tools-88eb616ae1a673127ef4fd995d703a8b46a63822.tar.bz2 multipath-tools-88eb616ae1a673127ef4fd995d703a8b46a63822.zip |
[multipathd] add "show status" cli command
For now just print the number of paths in each path checker state,
if not zero. For example :
path checker states:
up 2
down 1
ghost 1
Diffstat (limited to 'multipathd/cli.c')
-rw-r--r-- | multipathd/cli.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/multipathd/cli.c b/multipathd/cli.c index 7eaac73..051624a 100644 --- a/multipathd/cli.c +++ b/multipathd/cli.c @@ -406,6 +406,7 @@ cli_init (void) { add_handler(LIST+PATHS, NULL); add_handler(LIST+PATHS+FMT, NULL); + add_handler(LIST+STATUS, NULL); add_handler(LIST+MAPS, NULL); add_handler(LIST+MAPS+STATUS, NULL); add_handler(LIST+MAPS+STATS, NULL); |