Whamcloud - gitweb
Add new command to allow obdctl usage from command-line.
authoradilger <adilger>
Tue, 9 Apr 2002 23:17:29 +0000 (23:17 +0000)
committeradilger <adilger>
Tue, 9 Apr 2002 23:17:29 +0000 (23:17 +0000)
commit05c3150e7c1852daf764d8ff8b2e2b546aa2e10a
treee6e9df80bdcf1a4d014c8415eaf28e3f2ac0077e
parent839b8f3d395d81228b31f5a016bead1582d79a27
Add new command to allow obdctl usage from command-line.
usage: --device <devno> <command [args ...]>

This is exactly the same thing as:
obdctl <<- EOF
device <devno>
connect
command [args ...]
disconnect
EOF

You can use it to run simple obdctl commands, for example:

tests/llecho.sh
util/obdctl --device 2 test_getattr 1000 q
util/obdctl --device 2 test_brw 1000 w q
tests/llmountcleanup.sh
lustre/utils/obdctl.c