Monthly Archives: January 2013

0315-021 Cannot open error message catalog – errpt

when you try to use errpt command and you get the following error : 0315-021 Cannot open error message catalog /var/adm/ras/codepoint.cat. The error report will still run, but it will not have explanatory messages.

AIX Life Cycle

Product

last update on password

to check last update on users password, run the following commands : #pwdadm -q root root: lastupdate = 1340177035 #perl -le ‘print scalar localtime(shift);’ 1340177035 Wed Jun 20 09:23:55 2012

Useful HACMP Commands

Useful HACMP commands clstat – show cluster state and substate; needs clinfo. cldump – SNMP-based tool to show cluster state. cldisp – similar to cldump, perl script to show cluster state. cltopinfo – list the local view of the cluster … Continue reading

preserved files

if you search under /var directory, of course you see strange directory which named “preserve”. this directory contains preserved data from interrupted edit sessions. which means, if you open file to edit it using vi command or any editor, the … Continue reading

Removing Control Characters

To Remove the Control Characters (^M) from File in Linux/UNIX do the following Steps: 1- Check the file first (You will see ‘^M’ on the end of each line): #cat -vte filename 2- open the file : #vi filename 3- … Continue reading

AIX Display memory in GB

To Display Memory Information in Gigabyte use the Follwoing Command : #svmon -O,unit=GB This Command Tested on AIX 6.1