Search AIX for core file, omitting /proc
Posted on 2009-04-02
I have a daily script that does miscellaneous operator takes, one being located application core files with the following command:
# find / -type f -name core
It does find the files, however it frequently reports:
find: 0652-023 Cannot open file /proc/44502.
find: 0652-023 Cannot open file /proc/145546.
find: 0652-023 Cannot open file /proc/156628.
find: 0652-023 Cannot open file /proc/156998.
I have tried the following command with no success:
# find / -type f '/proc' -prune -o -name core
find: 0652-009 There is a missing conjunction
Any ideas ??