| | |
Mount point filling
![]() |
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
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.
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?
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?
•
•
Join Date: Mar 2009
Posts: 15
Reputation:
Solved Threads: 2
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
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
Buy Linux Backup Software - InternetStarting, Websites for Beginners
![]() |
Similar Threads
- problem finding mount point of sata hard disk (*nix Hardware Configuration)
- Aurora Help Badly needed! Thank you! (Viruses, Spyware and other Nasties)
- Viewing flash drive contents in RedHat 9 (*nix Hardware Configuration)
- Shell script for identifying FS TYPE and mounting via LOOP device (Shell Scripting)
- USB Pendrive for Slack 10.0 (Kernels and Modules)
- Linux Audio Streaming (live!) using Ices and Icecast (*nix Software)
Other Threads in the Kernels and Modules Forum
- Previous Thread: Why Kernel is having so many main function.
- Next Thread: Memory map
| Thread Tools | Search this Thread |






