Additional command line options在哪里
时间: 2024-04-06 11:29:13 浏览: 9
"Additional command line options"是一个通用的术语,它指的是在运行命令行程序时可以添加的额外参数或选项。具体来说,这些选项可以用来改变程序的行为或提供额外的输入。这些选项通常在命令行中添加,例如在Windows操作系统的命令提示符或Linux操作系统的终端中。具体的选项取决于你要运行的程序,你可以在程序的文档或官方网站上查找有关可用选项的信息。
相关问题
error: 'optimoptions' undefined near line 1, column 11 The 'optimoptions' function belongs to the optim package from Octave Forge, which you have installed but not loaded. Run 'pkg load optim' to use 'optimoptions'. Please read <https://www.octave.org/missing.html> to learn how you can contribute missing functionality. error: Invalid call to options. Correct usage is: -- Function File: OPT = options ('KEY1', VALUE1, 'KEY2', VALUE2, ...) Additional help for built-in functions and operators is available in the online version of the manual. Use the command 'doc <topic>' to search the manual index. Help and information about Octave is also available on the WWW at https://www.octave.org and via the help@octave.org mailing list. !!! OUT OF TIME !!!
这个错误是因为你在使用 'optimoptions' 函数之前没有加载 optim 包。你可以尝试运行 'pkg load optim' 来加载该包。这样你就可以使用 'optimoptions' 函数了。如果你还需要更多帮助,可以参考 <https://www.octave.org/missing.html> 或者访问 https://www.octave.org 获取关于 Octave 的帮助和信息。
#!/bin/sh # WARNING: This file is created by the Configuration Wizard. # Any changes to this script may be lost when adding extensions to this configuration. # --- Start Functions --- usage() { echo "You must have a value for SERVER_NAME either set as an environment variable or the first parameter on the command-line." echo "ADMIN_URL defaults to t3://iZbp13mxkrdvorojwpi2c9Z:7001 if not set as an environment variable or the second command-line parameter." echo "USER_NAME and PASSWORD are required for shutting the server down when running in production mode:" echo "Usage: $1 {SERVER_NAME} {ADMIN_URL} {USER_NAME} {PASSWORD}" echo "for example:" echo "$1 managedserver1 t3://iZbp13mxkrdvorojwpi2c9Z:7001 weblogic weblogic" } # --- End Functions --- # ************************************************************************* # This script is used to stop a managed WebLogic Server for the domain in # the current working directory. This script reads in the SERVER_NAME and # ADMIN_URL as positional parameters, sets the SERVER_NAME variable, then # calls the startWLS.cmd script under ${WL_HOME}/server/bin. # # Other variables that startWLS takes are: # # WLS_USER - cleartext user for server startup # WLS_PW - cleartext password for server startup # JAVA_OPTIONS - Java command-line options for running the server. (These # will be tagged on to the end of the JAVA_VM) # JAVA_VM - The java arg specifying the VM to run. (i.e. -server, # -hotspot, etc.) # # For additional information, refer to "Managing Server Startup and Shutdown for Oracle WebLogic Server" # # (http://download.oracle.com/docs/cd/E23943_01/web.1111/e13708/overview.htm) # # ************************************************************************* # Set SERVER_NAME and ADMIN_URL, they must by specified before starting # a managed server, detailed information can be found at # http://download.oracle.com/docs/cd/E23943_01/web.1111/e13708/overview.htm if [ "$1" = "" ] ; then if [ "${SERVER_NAME}" = "" ] ; then usage $0 exit fi else SERVER_NAME="$1" export SERVER_NAME shift fi if [ "$1" = "" ] ; then if [ "${ADMIN_URL}" = "" ] ; then ADMIN_URL="t3://iZbp13mxkrdvorojwpi2c9Z:7001" export ADMIN_URL fi else ADMIN_URL="$1" export ADMIN_URL shift fi DOMAIN_HOME="/home/weblogic/Oracle/Middleware/user_projects/domains/base_domain" ${DOMAIN_HOME}/bin/stopWebLogic.sh $1 $2
这段代码是用来停止一个 WebLogic Server 的 managed server 的脚本。它需要传入 SERVER_NAME 和 ADMIN_URL 作为位置参数,或者将它们设置为环境变量。此外,它还需要 USER_NAME 和 PASSWORD 用来在生产模式下关闭服务器。该脚本调用了 ${DOMAIN_HOME}/bin/stopWebLogic.sh 来停止服务器。