cancel
Showing results for 
Search instead for 
Did you mean: 

AIX-SAP Commands

Former Member
0 Kudos

Dear Folks ,

now i am working in AIX, ECC6.0, oracle10g

i am new for AIX environment , pls could u provide me AIX-SAP command

its helpful for my job

regards

satheesh

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Where do we start!

Searches all file systems to report back those files larger than 1 MB in size

find / -size +1000k -exec ls -l {} \; -print

Delete oldest backups

for backupdir in `ls -ltr <backup location> |grep trc|head -1|tr -s ' ' |cut -f9 -d ' '`

do

su - <sid>adm -c "brbackup -u / -db $backupdir.afd -c"

done

Delete files olders than 9 days

find /backup/livecache/LC_LOG_AUTO* -name "*" -mtime +9 -exec rm {} \;

Make backup copies of all files in folder

for filename in `ls`

do

cp $filename $filename.bak

done

Show which PIDs are locking a file

fuser <file_name>

To see if a particular APAR is installed

instfix -ik <APAR>

e.g instfix -ik IY89080

Please let me know if there is anything specific.

sunny_pahuja2
Active Contributor
0 Kudos

Hi,

I think best way is to do google.

Any way check below link:

http://basissap.blogspot.com/2008/05/aix-command-for-basis-administrator.html

Thanks

Sunny