Line | |
---|
1 | .TH SYSENV 1
|
---|
2 | .SH NAME
|
---|
3 | sysenv \- request system boot parameter
|
---|
4 | .SH SYNOPSIS
|
---|
5 | .B sysenv
|
---|
6 | .RI [ boot-variable "] ..."
|
---|
7 | .SH DESCRIPTION
|
---|
8 | .B Sysenv
|
---|
9 | requests the value of one or more boot variables. For example
|
---|
10 | .B "sysenv\ memory"
|
---|
11 | returns the list of free memory at system startup. Note that some
|
---|
12 | parameters have undergone "device translation" from a device name to
|
---|
13 | a decimal device number.
|
---|
14 | .PP
|
---|
15 | If no variable names are given then the entire boot environment is
|
---|
16 | listed.
|
---|
17 | .SH "SEE ALSO"
|
---|
18 | .BR svrctl (2),
|
---|
19 | .BR monitor (8),
|
---|
20 | .BR boot (8).
|
---|
21 | .SH DIAGNOSTICS
|
---|
22 | Exit code 0 with the variable's value printed to standard output if all
|
---|
23 | requested variables exist in the boot environment, exit code 1 on any
|
---|
24 | weird error, exit code 2 if one of the variables is not set, and exit
|
---|
25 | code 3 if both kind of errors occurred.
|
---|
26 | .SH AUTHOR
|
---|
27 | Kees J. Bot (kjb@cs.vu.nl)
|
---|
Note:
See
TracBrowser
for help on using the repository browser.