savedump

Usage

      
savedump [-c none|rle|gzip][-x [u][b][p][f]][-t <dir>][-i][-v]
      
    

Description

      

This command can be used for two purposes:

1. Create a live dump: When /dev/mem is specified at startup of lcrash, 
this command can be used to create a live dump. 

2. Reduce dump size: When a system dump is specified at startup of lcrash, 
this command can be used to reduce the size of the system dump using 
compression and the '-x' option for discarding special memory pages like 
buffer cache, page cache, free and userspace pages. This capability is 
especially useful, when huge dumps should be transfered e.g. over a network.

OPTIONS:
-c:  compression type:
       - none: No compression:
       - rle:  Runlength encoding
       - gzip: gzip compression (default)
-x:  exclude memory regions to reduce dump size:
       - u: Exclude <U>ser pages
       - b: Exclude <B>uffer cache pages
       - p: Exclude <P>age cache pages
       - f: Exclude <F>ree (unused) pages
-t:  target directory where dump is written (default is current directory)
-i:  write info file which describes dump content
-v:  verbose output