lustre_rmmod

来自「lustre 1.6.5 source code」· 代码 · 共 21 行

TXT
21
字号
#!/bin/sh## remove all lustre modules.  Won't succeed if they're in use, or if you# manually did a 'lctl network up'.###############################################################################SRCDIR=`dirname $0`PATH=$PWD/$SRCDIR:$SRCDIR:$SRCDIR/../utils:$PATHcase `uname -r` in2.4.*) RMMOD="modprobe -r";;*) RMMOD="rmmod";;esaclctl modules | awk '{ print $2 }' | xargs $RMMOD >/dev/null 2>&1# do it again, in case we tried to unload the lnd's too earlylctl modules | awk '{ print $2 }' | xargs $RMMOD >/dev/null 2>&1# third times the charmlsmod | grep lnet > /dev/null && lctl modules | awk '{ print $2 }' | xargs $RMMOD

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?