1.xargs
[[email protected] log]# find. -type f-name "*.log" |sort-rn
./yum.log
./sssd/sssd_sudo.log
./sssd/sssd_pam.log
./sssd/sssd_nss.log
./sssd/sssd.log
./sssd/sssd_ldap.log
./sssd/ldap_child.log
./security_scan/security_scan.log
./security_scan.log
./security_scan-alarm.log
./prelink/prelink.log
./ntp_sync_status.log
./hadoop-hdfs/hdfs-audit.log
./dstat_io.log
./dstat_cpu.log
./dracut.log
./diskhealth.log
[[email protected] log]# find. -type f-name "*.log" |xargs file
./anaconda.ifcfg.log:ascii Text
./daney_security-alarm.log:ascii Text
./yum.log:ascii Text
./dstat_io.log:ascii text, with no line terminators, with escape sequences
./cpuspeed_status.log:ascii Text
./cloudera-scm-agent/cloudera-flood.log:ascii Text
./cloudera-scm-agent/cloudera-scm-agent.log:ascii 中文版 text, with very long lines
./cloudera-scm-agent/cmf_listener.log:ascii Text
./cloudera-scm-agent/supervisord.log:ascii 中文版 Text
./hadoop-hdfs/hdfs-audit.log:empty
./diskhealth.log:ascii Text
./security_scan/security_scan.log:ascii Text
./audit/audit.log:ascii Text
./conman/wosrepsum.log:ascii text, with very long lines
./boot.log:ascii 中文版 text, with CRLF, CR line Terminators, with escape sequences
./sssd/sssd_pam.log:empty
./sssd/sssd_ldap.log:empty
./sssd/sssd.log:empty
./sssd/ldap_child.log:empty
./sssd/sssd_sudo.log:empty
2. Identify processes with high memory usage in the current system
3. Identify processes with high CPU usage in the current system
Linux several high-utility commands