Topics: AIX, System Admin
Sdiff
A very usefull command to compary 2 files is sdiff. Let's say you want to compare the lslpp from 2 different hosts, then sdiff -s shows the differences between two files next to each other:
# sdiff -s /tmp/a /tmp/b > bos.loc.com.utf 5.3.9.0 > bos.loc.utf.EN_US 5.3.0.0 > gskta.rte 7.0.3.27 | gskta.rte 7.0.3.17 lum.base.cli 5.1.2.0 | lum.base.cli 5.1.0.0 lum.base.gui 5.1.2.0 | lum.base.gui 5.1.0.0 lum.msg.en_US.base.cli 5.1.2.0 | lum.msg.en_US.base.cli 5.1.0.0 lum.msg.en_US.base.gui 5.1.2.0 | lum.msg.en_US.base.gui 5.1.0.0 rsct.basic.sp 2.4.10.0 < < rsct.compat.basic.sp 2.4.10.0 < < rsct.compat.clients.sp 2.4.10.0 < < rsct.opt.fence.blade 2.4.10.0 < rsct.opt.fence.hmc 2.4.10.0 < bos.clvm.enh 5.3.8.3 | bos.clvm.enh 5.3.0.50 lum.base.cli 5.1.2.0 | lum.base.cli 5.1.0.0
If you found this useful, here's more on the same topic(s) in our blog:
- Log file rotation script
- Unable to remove hdiskpower devices due to a method error
- Using an alternative MAC address
- AIX memory consumption
- Identifying devices with usysident
UNIX Health Check delivers software to scan Linux and AIX systems for potential issues. Run our software on your system, and receive a report in just a few minutes. UNIX Health Check is an automated check list. It will report on perfomance, capacity, stability and security issues. It will alert on configurations that can be improved per best practices, or items that should be improved per audit guidelines. A report will be generated in the format you wish, and the report includes the issues discovered and information on how to solve the issues as well.
Interested in learning more?
Interested in learning more?