s990wlmd

来自「Vxworks的培训教程,大家分享下啊,」· 代码 · 共 35 行

TXT
35
字号
#!/bin/sh# Start or Stop the Wind License Manager Daemon.# Modify the following line to specify the Tornado installation directory.wind_base=/u/windWLMD=$wind_base/host/sun4-solaris2/bin/wlmdLICDIR=$wind_base/.wind/licensecase "$1" in'start')	if [ -x $WLMD ] ; then		echo "Wind License Management starting."		$WLMD -e $LICDIR -s0 -m 50k -l /tmp/wlmdlog -v 3	fi	;;'start_msg')	echo "Wind License Management starting."	;;'stop')	PID=`/usr/bin/ps -e -u 0|/usr/bin/fgrep wlmd |/usr/bin/awk '{print $1}'`	if [ ! -z "$PID" ] ;  then		/usr/bin/kill ${PID} 1>/dev/null 2>&1	fi	;;'stop_msg')	echo "Wind License Management stopping."	;;*)	echo "Usage: /etc/rc2.d/S99wlmd { start | stop | start_msg | stop_msg }"	;;esacexit 0

⌨️ 快捷键说明

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