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.

QotD#2 Default mode in Linux Bonding

Out of 7 bonding modes Linux, which is the default mode ?

  • Balance-rr (mode 0)
  • Active-backup (mode 1)
  • Balance-xor (mode 2)
  • Broadcast (mode 3)
  • 802.3ad (mode 4)
  • Balance-tlb (mode 5)
  • Balance-alb (mode 6)

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 {} \;
find /path/to/folderĀ -type f -mtime +31 -print0 | xargs -0 -r rm -f
Answers with Explanation will be sent in Weekend