Project

General

Profile

Backport #23186

Updated by Nathan Cutler about 6 years ago

https://github.com/ceph/ceph/pull/20664 ceph tell mds.* <command> prints only one matching usage. 

 $ ./bin/ceph tell mds.c session 
 *** DEVELOPER MODE: setting PATH, PYTHONPATH and LD_LIBRARY_PATH *** 
 2017-12-07 10:37:27.516 7f41b4dd6700 -1 WARNING: all dangerous and experimental features are enabled. 
 2017-12-07 10:37:27.524 7f41b4dd6700 -1 WARNING: all dangerous and experimental features are enabled. 
 2017-12-07 10:37:27.544 7f4171ffb700    0 client.4207 ms_handle_reset on 127.0.0.1:6815/3759128560 
 Invalid command:    missing required parameter evict 
 session evict {<filters> [<filters>...]} :    Evict client session(s) 
 Error EINVAL: invalid command 

 How did it knew that I want to do an evict ? In this case, it could be `session evict`, `session ls` or `session kill`.

Back