source: trunk/minix/man/man1/sysenv.1@ 20

Last change on this file since 20 was 9, checked in by Mattia Monga, 14 years ago

Minix 3.1.2a

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