SUMMARY - Find Problem

2007-12-24 19:16:00

I guess I don't have a summary yet for this one, so here
goes.

The answer was

Try excluding "/proc" from the find command:

find / \( -name proc -prune \) -o -name core -print

The original question was

I'm trying to implement some disk management on a machine
I have. And one way to clean up stuff is get rid of core
files. Finding them has been hard, and I'm stumped. Here's
what I get when I do the find.

find / -name core -print
find: cannot open /: Value too large for defined data type

The machine is a 450, runnin Solaris 7 with the following filesystems.

Filesystem kbytes used avail capacity Mounted on
/proc 0 0 0 0% /proc
/dev/md/dsk/d0 13271943 8780514 4358710 67% /
fd 0 0 0 0% /dev/fd
swap 4675168 19744 4655424 1% /tmp

Now the / partition is rather large. Is this the problem?

Susan KJ Thielen ePeople
Unix Systems Administrator 450 National Avenue
Ph: 650 694-6475 Mountain View, CA
Fx: 650 694-6401 94043-2388
Email: sue.thielen at epeople.com www.epeople.com

Comments

Got something to say?

You must be logged in to post a comment.