01-04-2008
How to find a file whick is consuming larger disk space in file system
Hello,
Can anybody please tell me the command to find out the filesystem or a file which is consuming larger disk space sing i want to find out the file and want to compress it
please help me out
any help would be appreciated
9 More Discussions You Might Find Interesting
1. Linux
Hi all,
My disk space is 100% full.
df -k <dir> -> 100%
One of my debug files consume huge amount of space and i want to remove the same to start off fresh debugs.
However i'm unable to remove the file giving out the following error message:
rm -f debug.out22621
rm: cannot remove... (8 Replies)
Discussion started by: Pankajakshan
8 Replies
2. Shell Programming and Scripting
Hi
i want to know if many users are logging in system then how would i know that how much space in system i am consuming..
Thanks
Vijay sahu (4 Replies)
Discussion started by: vijays3
4 Replies
3. Solaris
Hi,
We currently have an Oracle database running and it is creating lots of processes in the /proc directory that are 1000M in size. The size of the /proc directory is now reading 26T. How can this be if the root file system is only 13GB?
I have seen this before we an Oracle temp file... (6 Replies)
Discussion started by: sparcman
6 Replies
4. Shell Programming and Scripting
How to supress the file name when we check for disk space ?
I used this command :
du -ks /home/dir1/dir2/file.csv
it returns
13 /home/dir1/dir2/file.csv
Please explain the options too (7 Replies)
Discussion started by: arukuku
7 Replies
5. 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
6. AIX
hello folks,
I have a 300GB ROOTVG volume groups with one filesystem /backup having 200GB allocated space
Now, I cannot alt disk clone or mirrorvg this hdisk with another smaller disk. The disk size has to be 300GB; I tried alt disk clone and mirrorvg , it doesn't work. you cannot copy LVs as... (9 Replies)
Discussion started by: filosophizer
9 Replies
7. AIX
A file system has reached 100%. I have tried adding space using chfs -a size=+100 command to that file system. However, the % used is not decreasing from 100%. Is there a way to add more space?
Also, can someone suggest a script to send a mail alert when a file system is reaching 90%.
G (4 Replies)
Discussion started by: ggayathri
4 Replies
8. HP-UX
Hi,
Could you please provide OS command to find large files in size MB and GB... under specific directory in HP-UX?
Regards,
Maddy (4 Replies)
Discussion started by: Maddy123
4 Replies
9. Solaris
Hi,
I'm looking to copy a boot disk on an old Solaris 8 system using dd. I'll bring the system down to single user mode and begin from there. I'm copying my source disk to a larger target disk. Do I need to do anything other than the 'dd' command below because the target disk is bigger? ... (2 Replies)
Discussion started by: sparcman
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)