go4321 发表于 2018-8-23 08:52:17

Artifact shell for APAR

  # (date;rpm -qa)>"`hostname -s`_`date +%Y%m%d`.log"
  this would help to generate a log file with format like : hkfs01_2001002.log with the output of date and rpm -qa
  -------
  # to check logwatch distribution email: /etc/log.d/logwatch.conf

页: [1]
查看完整版本: Artifact shell for APAR