⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 a

📁 ksh 实现的基于hpux下的性能数据以及故障的采集程序。可以作为新手练手使用
💻
📖 第 1 页 / 共 5 页
字号:
		     The value of a tracked alias becomes undefined when the		     value of PATH is reset, but the alias remains tracked.		     Without the -t option, for each name in the argument		     list for which no value is given, the name and value of		     the alias is printed.  The -x option is used to set or		     print exported aliases.  An exported alias is defined		     across sub-shell environments.  Alias returns true		     unless a name is given for which no alias has been		     defined.      bg [job ...]   Puts the specified jobs into the background.  The		     current job is put in the background if job is		     unspecified.  See Jobs for a description of the format		     of job.      % break [n]    Exit from the enclosing for, while, until, or select		     loop, if any.  If n is specified, break n levels.      % continue [n] Resume the next iteration of the enclosing for, while,		     until, or select loop.  If n is specified, resume at		     the n-th enclosing loop.      cd [-L|-P] [arg]      cd old new     This command can take either of two forms.	 In the		     first form it changes the current directory to arg.  If		     arg is - the directory is changed to the previous		     directory.	 The -L option (default) preserves logical		     naming when treating symbolic links.  cd -L .. moves		     the current directory one path component closer to the		     root directory.  The -P option preserves the physical		     path when treating symbolic links.	 cd -P .. changes		     the working directory to the parent directory of the		     current directory.	 The shell parameter HOME is the		     default arg.  The parameter PWD is set to the current		     directory.	 The shell parameter CDPATH defines the		     search path for the directory containing arg.		     Alternative directory names are separated by a colon		     (:).  If CDPATH is null or undefined, the default value		     is the current directory.	Note that the current		     directory is specified by a null path name which can		     appear immediately after the equal sign or between the		     colon delimiters anywhere else in the path list.  If		     arg begins with a /, the search path is not used. Hewlett-Packard Company	   - 21 -      HP-UX 11i Version 1: Sep 2002 ksh(1)								      ksh(1)		     Otherwise, each directory in the path is searched for		     arg.  See also cd(1).		     The second form of cd substitutes the string new for		     the string old in the current directory name, PWD and		     tries to change to this new directory.		     The cd command cannot be executed by rksh.      echo [arg ...] See echo(1) for usage and description.      % eval [arg ...]		     Reads the arguments as input to the shell and executes		     the resulting command(s).      % exec [arg ...]		     Parameter assignments remain in effect after the		     command completes.	 If arg is given, the command		     specified by the arguments is executed in place of this		     shell without creating a new process.  Input/output		     arguments can appear and affect the current process.		     If no arguments are given, the effect of this command		     is to modify file descriptors as prescribed by the		     input/output redirection list.  In this case, any file		     descriptor numbers greater than 2 opened with this		     mechanism are closed when invoking another program.      % exit [n]     Causes the shell to exit with the exit status specified		     by n.  If n is omitted, the exit status is that of the		     last command executed.  An end-of-file also causes the		     shell to exit, except when a shell has the ignoreeof		     option set (see set below).      %% export [name [=value] ...]		     The given names are marked for automatic export to the		     environment of subsequently executed commands.      fc [-eename] [-nlr] [first [last]]      fc -e - [old=new] [command]		     In the first form, a range of commands from first to		     last is selected from the last HISTSIZE commands typed		     at the terminal.  The arguments first and last can be		     specified as a number or string.  A given string is		     used to locate the most recent command.  A negative		     number is used to offset the current command number.		     The -l option causes the commands to be listed on		     standard output.  Otherwise, the editor program ename		     is invoked on a file containing these keyboard		     commands.	If ename is not supplied, the value of the		     parameter FCEDIT (default /usr/bin/ed) is used as the		     editor.  Once editing has ended, the commands (if any) Hewlett-Packard Company	   - 22 -      HP-UX 11i Version 1: Sep 2002 ksh(1)								      ksh(1)		     are executed.  If last is omitted, only the command		     specified by first is used.  If first is not specified,		     the default is the previous command for editing and -16		     for listing.  The -r option reverses the order of the		     commands and the -n option suppresses command numbers		     when listing.  In the latter, the command is re-		     executed after the substitution old=new is performed.      fg [job ...]   Brings each job into the foreground in the order		     specified.	 If no job is specified, the current job is		     brought into the foreground.  See Jobs for a		     description of the format of job.      getopts optstring name [arg ...]		     Checks arg for legal options.  If arg is omitted, the		     positional parameters are used.  An option argument		     begins with a + or a -.  An option not beginning with +		     or -, or the argument -- ends the options.	 optstring		     contains the letters that getopts recognizes.  If a		     letter is followed by a :, that option is expected to		     have an argument.	The options can be separated from		     the argument by blanks.		     getopts places the next option letter it finds inside		     variable name each time it is invoked with a +		     preceding it when arg begins with a +.  The index of		     the next arg is stored in OPTIND.	The option argument,		     if any, gets stored in OPTARG.		     A leading : in optstring causes getopts to store the		     letter of an invalid option in OPTARG, and to set name		     to ? for an unknown option and to : when a required		     option is missing.	 Otherwise, getopts prints an error		     message.  The exit status is non-zero when there are no		     more options.  See also getopts(1).      jobs [-lnp] [job ...]		     Lists information about each given job; or all active		     jobs if job is omitted.  The -l option lists process		     ids in addition to the normal information.	 The -n		     option only displays jobs that have stopped or exited		     since last notified.  The -p option causes only the		     process group to be listed.  See Jobs for a description		     of the format of job.      kill [-sig] process ...		     Sends either the TERM (terminate) signal or the		     specified signal to the specified jobs or processes.		     Signals are given either by number or name (as given in		     signal(5), stripped of the prefix SIG).  The signal		     names are listed by kill -l.  No default exists; merely Hewlett-Packard Company	   - 23 -      HP-UX 11i Version 1: Sep 2002 ksh(1)								      ksh(1)		     typing kill does not affect the current job.  If the		     signal being sent is TERM (terminate) or HUP (hangup),		     the job or process is sent a CONT (continue) signal		     when stopped.  The process argument can be either a		     process ID or job.	 If the first argument to kill is a		     negative integer, it is interpreted as a sig argument		     and not as a process group.  See also kill(1).      let arg ...    Each arg is a separate arithmetic expression to be		     evaluated.	 See Arithmetic Evaluation above, for a		     description of arithmetic expression evaluation.  The		     exit status is 0 if the value of the last expression is		     non-zero, and 1 otherwise.      % newgrp [arg ...]		     Equivalent to exec newgrp arg ....      print[-Rnprsu[n]] [arg ...]		     The shell output mechanism.  With no options or with		     option - or -- the arguments are printed on standard		     output as described by echo(1).  Raw mode, -R or -r,		     ignores the escape conventions of echo.  The -R option		     prints all subsequent arguments and options other than		     -n.  The -p option causes the arguments to be written		     onto the pipe of the process spawned with |& instead of		     standard output.  The -s option causes the arguments to		     be written onto the history file instead of standard		     output.  The -u option can be used to specify a one-		     digit file descriptor unit number n on which the output		     is to be placed.  The default is 1.  If the option -n		     is used, no new-line character is added to the output.      pwd [-L|-P]    With no arguments prints the current working directory		     (equivalent to print -r - $PWD).  The -L option		     (default) preserves the logical meaning of the current		     directory and -P preserves the physical meaning of the		     current directory if it is a symbolic link.  See the		     special cd command, cd(1), ln(1)), and pwd(1).      read [-prsu[n]] [name] [?prompt] [name ...]		     The shell input mechanism.	 One line is read and broken		     up into words using the characters in IFS as		     separators.  In -r raw mode, \ at the end of a line		     does not signify line continuation.  The first word is		     assigned to the first name, the second word to the		     second name, etc., with remaining words assigned to the		     last name.	 The -p option causes the input line to be		     taken from the input pipe of a process spawned by the		     shell using |&.  If the -s option is present, the input		     is saved as a command in the history file.	 The option		     -u can be used to specify a one-digit file descriptor Hewlett-Packard Company	   - 24 -      HP-UX 11i Version 1: Sep 2002 ksh(1)								      ksh(1)		     unit to read from.	 The file descriptor can be opened		     with the exec special command.  The default value of n		     is 0.  If name is omitted, REPLY is used as the default		     name.  The return code is 0, unless an end-of-file is		     encountered.  An end-of-file with the -p option causes		     cleanup for this process so that another process can be		     spawned.  If the first argument contains a ?, the		     remainder of this word is used as a prompt when the		     shell is interactive.  If the given file descriptor is		     open for writing and is a terminal device, the prompt		     is placed on this unit.  Otherwise the prompt is issued		     on file descriptor 2.  The return code is 0, unless an		     end-of-file is encountered.  See also read(1).      %% readonly [name[=value] ...]		     The given names are marked read-only and these names		     cannot be changed by subsequent assignment.      % return [n]   Causes a shell function to return to the invoking		     script with the return status specified by n.  If n is		     omitted, the return status is that of the last command		     executed.	Only the low 8 bits of n are passed back to		     the caller.  If return is invoked while not in a		     function or executing a script by the . (dot) built-in		     command, it has the same effect as an exit command.      set [_aefhkmnopstuvx | _o option] ... [ _A name] [arg ...]		     The following options are used for this command:			  -A	  Array assignment.  Unset the variable name				  and assign values sequentially from the				  list arg.  If +A is used, the variable				  name is not unset first.			  -a	  All subsequent defined parameters are				  automatically exported.			  -e	  If the shell is non-interactive and if a				  command fails, execute the ERR trap, if				  set, and exit immediately.  This mode is				  disabled while reading profiles.			  -f	  Disables file name generation.			  -h	  Each command whose name is an identifier				  becomes a tracked alias when first				  encountered.			  -k	  All parameter assignment arguments (not				  just those that precede the command name)				  are placed in the environment for a				  command.			  -m	  Background jobs are run in a separate				  process group and a line is printed upon				  completion.  The exit status of background				  jobs is reported in a completion message.				  This option is turned on automatically for Hewlett-Packard Company	   - 25 -      HP-UX 11i Version 1: Sep 2002 ksh(1)								      ksh(1)				  interactive shells.			  -n	  Read commands and check them for syntax				  errors, but do not execute them.  The -n				  option is ignored for interactive shells.			  -o	  The -o argument takes any of several				  option names, but only one option can be				  specified with each -o option.  If none is				  supplied, the current option settings are				  printed.  The -o argument option names				  fo

⌨️ 快捷键说明

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