/etc/rc.config.d/savecrash


Page started on: Mon Mar 29 10:44:31 EDT 2021

ll /etc/rc.config.d/savecrash -r--r--r-- 1 bin bin 2340 May 14 2013 /etc/rc.config.d/savecrash


cat /etc/rc.config.d/savecrash #!/sbin/sh # @(#)B.11.31_LR # Savecrash configuration # # # SAVECRASH: Set to 0 to disable saving system crash dumps. # SAVECRASH=1 # SAVECRASH_DIR:Directory name for system crash dumps. Note: the filesystem # in which this directory is located should have as much free # space as your system has RAM. # SAVECRASH_DIR=/var/adm/crash # SAVECRASH_DIR=/work # CHUNK_SIZE: size of single crash image file (i.e. how big you want # each of image.n.x, image.n.x+1, etc. to be) # If not specified, savecrash will choose one based on the # physical memory size of the system. Can be specified in # bytes (b), kilobytes (k), megabytes (m), or gigabytes (g). # The default unit is kilobytes. See savecrash(1M) -s option # for size constraints. # CHUNK_SIZE= # COMPRESS: Whether you want the kernel and crash image files to be # compressed. Compression option can be: # 0 - don't compress # 1 - compress # 2 - don't care (default) # If defaulted, savecrash will choose based on the physical # memory size and available disk space. Compressing will # take longer for savecrash to complete. # COMPRESS=2 # MIN_FREE: Amount of free space remaining for non-root user after # savecrash completes. Can be specified in bytes (b), # kilobytes (k), megabytes (m), or gigabytes (g). # Default value is 0, and the default unit is kilobytes. # MIN_FREE= # SWAP_LEVEL: Defines interaction between savecrash and swapon. # NOSWAP - don't run swapon from savecrash. # (DO NOT PICK THIS UNLESS FOREGRD=1, below, or # you will not have ANY auxiliary swap enabled) # SWAPEACH - call swapon each time savecrash finishes # saving from each dump device (default) # SWAPEND - call swapon when savecrash finishes saving # from all dump devices # SWAP_LEVEL=SWAPEACH # FOREGRD: Set to 1 to force savecrash to run as foreground process. # FOREGRD= # SAVE_PART: If set to 1, Preserves file system space by only saving # those pages that reside on dump devices that are also # swap devices. Otherwise, will save all # pages that # were dumped. # SAVE_PART=1 # LOG_ONLY: If set to 1, the shutdown/panic message is logged to # /etc/shutdownlog as usual, but the crash dump is not saved. # LOG_ONLY=0

Page completed on: Mon Mar 29 10:44:31 EDT 2021