943,548 Members | Top Members by Rank

Ad:
Jun 29th, 2009
0

Mount point filling

Expand Post »
Hi,

Has anybody got a shell script to see what is filling a mount point?
It's my oracle mount point but I can't see anything writing to it when I check using
ps -ef | grep *log nothing stands out are there any other commands I can use, it's solaris OS?

Cheers,

Jim
Last edited by plut0564; Jun 29th, 2009 at 8:59 am.
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
plut0564 is offline Offline
24 posts
since May 2009
Jul 1st, 2009
0

Re: Mount point filling

What you're after is "listing open file descriptors". In Linux you would use lsof but for solaris I think it depends on the version. Google this: "solaris list open file descriptors"

It came back with a few urls:
http://www.mail-archive.com/solaris-.../msg02028.html

And what do you mean by "filling a mount point"? I'm assuming you mean writing data to disk and eating away at the free space?
Featured Poster
Reputation Points: 1749
Solved Threads: 735
Senior Poster
sknake is offline Offline
3,948 posts
since Feb 2009
Jul 2nd, 2009
0

Re: Mount point filling

Cheers Scott,
I found an article regarding 'ulimit' that looks interesting.
I suspect it's down to oracle 10g ias, but I'm more oracle than unix. It's solaris 10(5.10) by the way. I was really after a unix command where you could see all the files being written at a certain time.

Jim
Reputation Points: 10
Solved Threads: 0
Newbie Poster
plut0564 is offline Offline
24 posts
since May 2009
Jul 3rd, 2009
0

Re: Mount point filling

You probably aren't going to find exactly what you're looking for, but a couple of sibling commands might be able to help. Check out `df` and `du`.

With `df` you can see the amount of space used on any mount point. It's often useful to run `df -B 1M` as it will format it in MB granularity instead of KB (older systems actually use 512b blocks).

You can use `du` to list all directories under a particular directory, so you might be able to do something useful with that to give yourself a better idea of what's being written to. Try `du -s *` in the directory you are curious about. That will output the size of each directory and file in your current directory.

HTH,
geis
Reputation Points: 20
Solved Threads: 2
Newbie Poster
bgeisel1 is offline Offline
15 posts
since Mar 2009
Jul 3rd, 2009
0

Re: Mount point filling

Geis,

I'm going to monitor it with du -s.

Cheers,

Jim
Reputation Points: 10
Solved Threads: 0
Newbie Poster
plut0564 is offline Offline
24 posts
since May 2009

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Linux Kernel and Hardware Setup Forum Timeline: Help setup a few basic things on my unix box please?
Next Thread in Linux Kernel and Hardware Setup Forum Timeline: installing linux on SiS motherboard chipset





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC