Mount point filling

Reply

Join Date: May 2009
Posts: 20
Reputation: plut0564 is an unknown quantity at this point 
Solved Threads: 0
plut0564's Avatar
plut0564 plut0564 is offline Offline
Newbie Poster

Mount point filling

 
0
  #1
Jun 29th, 2009
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.
Reply With Quote Quick reply to this message  
Join Date: Feb 2009
Posts: 3,224
Reputation: sknake has much to be proud of sknake has much to be proud of sknake has much to be proud of sknake has much to be proud of sknake has much to be proud of sknake has much to be proud of sknake has much to be proud of sknake has much to be proud of sknake has much to be proud of sknake has much to be proud of 
Solved Threads: 574
Sponsor
sknake's Avatar
sknake sknake is offline Offline
.NET Enthusiast

Re: Mount point filling

 
0
  #2
Jul 1st, 2009
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?
Scott Knake
Custom Software Development
Apex Software, Inc.
Reply With Quote Quick reply to this message  
Join Date: May 2009
Posts: 20
Reputation: plut0564 is an unknown quantity at this point 
Solved Threads: 0
plut0564's Avatar
plut0564 plut0564 is offline Offline
Newbie Poster

Re: Mount point filling

 
0
  #3
Jul 2nd, 2009
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
Reply With Quote Quick reply to this message  
Join Date: Mar 2009
Posts: 15
Reputation: bgeisel1 is an unknown quantity at this point 
Solved Threads: 2
bgeisel1 bgeisel1 is offline Offline
Newbie Poster

Re: Mount point filling

 
0
  #4
Jul 3rd, 2009
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
Some Favorite Sites -- favorite b/c they're mine :-)
Buy Linux Backup Software - InternetStarting, Websites for Beginners
Reply With Quote Quick reply to this message  
Join Date: May 2009
Posts: 20
Reputation: plut0564 is an unknown quantity at this point 
Solved Threads: 0
plut0564's Avatar
plut0564 plut0564 is offline Offline
Newbie Poster

Re: Mount point filling

 
0
  #5
Jul 3rd, 2009
Geis,

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

Cheers,

Jim
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the Kernels and Modules Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC