12-17-2008
How to trace the big files causing high disk usage
Hi All,
One very urgent issue and I need your help.
I have two V490 servers installed with Sun Solaris 10.
I have traced out that the disk usage is running out of space for both the servers. Currently the /dev/md/dsk/d10 device is 91% in one server and another is 56% and it is increasing very rapidly. In the last 3 days both of them has been increase 8-10%.
/ partition is mounted on the /dev/md/dsk/d10.
I want to trace out the files which are unnecessarily blocking the disk usage.
How can I do it?
Thanks in Advance
Nilanjan
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hmm, how to ask this without sounding too malicious...
How might one go about causing a disk corruption in OS X specifically or via the command line in UNIX in general?
Doesnt matter the severity of the problem, I just want to scare the person a little, then fix the problem for them.
Any... (1 Reply)
Discussion started by: Yummator
1 Replies
2. UNIX for Advanced & Expert Users
Hi,
I am seeing very high kernel usage and very high load averages on my system (Although we are not loading much data to our database). Here is the output of top...does anyone know what i should be looking at?
Thanks,
Lorraine
last pid: 13144; load averages: 22.32, 19.81, 16.78 ... (4 Replies)
Discussion started by: lorrainenineill
4 Replies
3. Shell Programming and Scripting
Hi Guys
I am looking for a python / PERL script which will send me email when ever my disk becomes more than 90% full.
By the way my OS is Win XP.
If anybody have already has written same type of script or something very similar kind of script, that will also be very helpful.
Thanks... (1 Reply)
Discussion started by: csaha
1 Replies
4. Solaris
Hi,
I want to monitor the current cpu usage, monitor usage , disk I/o and network utlization for solaris using SNMP.
I want the oids for above tasks.
can you please tell me that
Thank you (2 Replies)
Discussion started by: S_venkatesh
2 Replies
5. UNIX for Dummies Questions & Answers
Hello,
Could any one help me how to find the Disk Usage for all the files in the running directory and the sub directories without the disk usage of the directory. I mean to say, i need only the file names without the size of the directories.
See, i used this command
du -a .|sort... (3 Replies)
Discussion started by: RRVARMA
3 Replies
6. AIX
I don't know when the process will start and end, I need write a script to trace it's cpu/memory usage when it is runing. How to write this script? (2 Replies)
Discussion started by: rainbow_bean
2 Replies
7. UNIX for Advanced & Expert Users
Hi all,
I have a solaris box, and I would like to know if anyone has commands to check kernel usage's.
Scenario:
solaris box is having cpu 100 % issue. .
I have used sar -u 10 5 it shows 35 % kernel usage.
If you can guide with some docs that would be good..
waiting for... (1 Reply)
Discussion started by: SunSolars_admin
1 Replies
8. Red Hat
My Redhat Linux system is always showing 100& disk usage. I have removed almost all the files, but no use and I am always getting 100% disk usage.!!
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/hda2 36337384 36066352 0 100% /
I can... (7 Replies)
Discussion started by: sanoop
7 Replies
9. Shell Programming and Scripting
Hi All,
I have written a script to check the file system usage and to delete the files which is consuming more space.Please check whether the script is corrcet
#Script Starts here
#!/usr/local/bin/perl
#Program to find the disk space and to delete the older files
#Checks the type of OS... (8 Replies)
Discussion started by: arunkarthick
8 Replies
10. Shell Programming and Scripting
I want count size of all directories on my current File System including size of links only if the target of these links is on same filesystem.
I tried below but it gives size of link target even if its on a different FS:
du -skL *
also the -x option did not help.
Any help. (2 Replies)
Discussion started by: pratikgupta123
2 Replies
LEARN ABOUT BSD
quotacheck
QUOTACHECK(8) System Manager's Manual QUOTACHECK(8)
NAME
quotacheck - filesystem quota consistency checker
SYNOPSIS
quotacheck [ -v ] filesystem ...
quotacheck [ -v ] -a
DESCRIPTION
Quotacheck examines each filesystem, builds a table of current disk usage, and compares this table against that recorded in the disk quota
file for the filesystem. If any inconsistencies are detected, both the quota file and the current system copy of the incorrect quotas are
updated (the latter only occurs if an active filesystem is checked).
Available options:
-a If the -a flag is supplied in place of any filesystem names, quotacheck will check all the filesystems indicated in
/etc/fstab to be read-write with disk quotas.
-v quotacheck reports discrepancies between the calculated and recorded disk quotas.
Parallel passes are run on the filesystems required, using the pass numbers in /etc/fstab in an identical fashion to fsck(8).
Normally quotacheck operates silently.
Quotacheck expects each filesystem to be checked to have a quota files named quotas located at the root of the associated file system.
These defaults may be overridden in /etc/fstab. If a file is not present, quotacheck will create it.
Quotacheck is normally run at boot time from the /etc/rc.local file, see rc(8), before enabling disk quotas with quotaon(8).
Quotacheck accesses the raw device in calculating the actual disk usage for each user. Thus, the filesystems checked should be quiescent
while quotacheck is running.
FILES
quotas at the filesystem root
/etc/fstab default filesystems
BUGS
The quotas file may be named arbitrarily but must reside in the filesystem for which it contains quota information. Quotacheck will give
the error:
%s dev (0x%x) mismatch %s (0x%x)
if the quotas file is not in the filesystem being checked. This restriction is enforced by the kernel but may be lifted in the future.
SEE ALSO
quota(1), quotactl(2), fstab(5), edquota(8), fsck(8), quotaon(8), repquota(8)
HISTORY
The quotacheck command appeared in 4.2BSD.
4.2 Berkeley Distribution January 24, 1996 QUOTACHECK(8)