Đang chuẩn bị nút TẢI XUỐNG, xin hãy chờ
Tải xuống
Cùng với các chức năng này, tar_file f đối số dòng lệnh được sử dụng để chỉ định một thiết bị sao lưu. Nếu đối số dòng lệnh này không được sử dụng, hoặc thiết bị sao lưu theo quy định của các biến TAPE môi trường | Special Disk Operations 251 When the operating system crashes the crash dump is written to an area of a hard disk identified as the dump device. The crash dump is written in a compressed manner to save disk space. The dump device is a raw device not a file system and is typically not accessible by system users. Once the crash dump is finished the system is rebooted. As part of the system boot the savecore lM command is executed. If a crash dump exists in the dump device the savecore command copies it to an identified user-accessible area of the system so that it can be examined. The crash dump is written as a pair of files with the names unix.X and vmcore.X where X is a dump sequence number. If a minimum free threshold is specified the savecore command will estimate the amount of free space that will be available in the savecore directory after saving the crash dump. If the amount of free space will be below the threshold the crash dump is not saved. The user-accessible area along with other crash dump-related information is configured by the dumpadm IM command. This information is stored in the etc dumpadm.conf file. The dumpadm Command The dumpadm command in usr sbin is used to configure the system crash dump operation. By default the dump device is the swap partition and the savecore directory is var crash system where system is the hostname of the system. The dumpadm command without command-line arguments displays the current crash dump configuration. The dumpadm command-line arguments are described in Table 11.4. The following code shows the dumpadm command which lists the current crash dump configuration. dumpadm Dump content kernel pages Dump device dev dsk c0t3d0s1 swap Savecore directory var crash solaris9 Savecore enabled yes Table 11.4 dumpadm Command-Line Arguments Argument Purpose -c type Sets the type of memory pages to save kernel for kernel memory pages only curprocfor kernel memory pages and the memory pages of the current process or all for all .