QotD#3 How do you generate crash dump in RHEL 5.x

How do you generate crash dump in RHEL 5.x and what is the important kernel parameter need to set in /etc/sysctl.conf to generate the crash dump.

Advertisements

which command is efficient “find -exec” or” find | xargs”

Which is more efficient in below two commands, though both perform same tasks ?
find /path/to/folder -type f -mtime +31 -exec rm -f {} \;
Or
find /path/to/folderĀ -type f -mtime +31 -print0 | xargs -0 -r rm -f
Answers with Explanation will be sent in Weekend