Sponsored Content
Top Forums UNIX for Dummies Questions & Answers How to find a file whick is consuming larger disk space in file system Post 302155477 by lokeshpashine on Friday 4th of January 2008 04:34:38 AM
Old 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

Unable to remove file using rm: Disk space is full

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

How much space I am consuming?

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

Directory size larger than file system size?

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 suppress the file name when we check for disk space

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

Perl Script to find the disk usage and to delete the files which is consuming more space

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

Clone or mirror your AIX OS larger disk to smaller disk ?

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

No space in the file system

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

Files consuming more space in 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

Use 'dd' to copy boot disk to larger target disk

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
newfs(8)						      System Manager's Manual							  newfs(8)

Name
       newfs - construct a new file system

Syntax
       /etc/newfs [ -N ] [ -n ] [ -v ] [ mkfs-options ] special disk-type

Description
       The command is a front-end to the program.  The program looks up the type of disk a file system is being created on in the disk description
       file calculates the appropriate parameters to use in calling then builds the file system by forking If the file system is a root partition,
       installs the necessary bootstrap program in the initial 16 sectors of the device.

       If there is no disk description for the specified disk type in the file, the program will use the subroutine to derive disk geometry infor-
       mation from the controlling device driver.  This functionality is provided for MSCP and SCSI disks.

Options
       -N	 Runs in no update mode.  In this mode, will not write to

       -n	 Prevents the bootstrap program from being installed.

       -v	 Instructs to print out its actions, including the parameters passed to

       Options which may be used to override default parameters passed to are:

       -s size	 The size of the file system in sectors.

       -b block-size
		 The block size of the file system in bytes.

       -f frag-size
		 The fragment size of the file system in bytes.

       -t #tracks/cylinder
       -c #cylinders/group
		 The number of cylinders per cylinder group in a file system.  The default value used is 16.

       -m free space %
		 The percentage of space reserved from normal users; the minimum free space threshold.	The default value used is 10%.

       -o optimization
		 Specifies whether the file system will optimize for space or for time.

       -r revolutions/minute
		 The speed of the disk in revolutions per minute (normally 3600).

       -S sector-size
		 The size of a sector in bytes (almost never anything but 512).

       -i number of bytes per inode
		 This specifies the density of inodes in the file system.  The default is to create an inode for each 2048 bytes  of  data  space.
		 If fewer inodes are desired, a larger number should be used; to create more inodes a smaller number should be given.

Files
       For disk geometry and file system partition information

       To actually build the file system

       For boot strapping program

See Also
       disktab(5), fs(5), chpt(8), fsck(8), format(8v), creatediskbyname(3x), mkfs(8), tunefs(8)
       "A Fast File System for UNIX", Supplementary Documents, Volume 3: System Manager

																	  newfs(8)
All times are GMT -4. The time now is 07:04 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy