
498
|
Chapter 3: Linux Commands
This is the Title of the Book, eMatter Edition
Copyright © 2006 O’Reilly & Associates, Inc. All rights reserved.
vidmode
vidmode [option] image [mode [offset]]
System administration command. Set the video mode for a kernel
image. If no arguments are specified, print current mode value.
mode is a 1-byte value located at offset 506 in a kernel image. You
may change the mode by specifying the kernel image to change, the
new mode, and the byte offset at which to place the new informa-
tion (the default is 506). Note that rdev -v is a synonym for
vidmode.IfLILO is used, vidmode is not needed. The video mode
can be set from the LILO prompt during a boot.
Modes
-3 Prompt
-2 Extended VGA
-1 Normal VGA
0 Same as entering 0 at the prompt
1 Same as entering 1 at the prompt
2 Same as entering 2 at the prompt
3 Same as entering 3 at the prompt
n Same as entering n at the prompt
Option
-o offset
Same as specifying an offset as an argument.
vim
vim
An enhanced version of the vi screen editor. Both vi and vim are
covered in Chapter 9.
vmstat
vmstat [options] [interval [count]]
System administration command. Print report on virtual memory
statistics, including information on processes, memory, paging
block I/O, traps, system and CPU usage. vmstat initially reports
average values since the last system reboot. If given a sampling
period interval in seconds, it prints additional statistics for each
interval. ...