09-01-2012
Help Me! Get size on each directory on each disk
Hi,
I want to know how to get size of each directory and each sub-directory on each disk, assume i have 20 disk.
Could you help me to find out the solution, please?
Thanks
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
First of all, hello there!!!
Well, I' ve got one question:
How may I get the size of the HD, I mean, wich command do I have to type?
Thanks in advance, (6 Replies)
Discussion started by: saulolps
6 Replies
2. UNIX for Dummies Questions & Answers
What is the easy way to see what size mydisk (total disk size) is ? similar to properties in windows ? Thanks. (7 Replies)
Discussion started by: xramm
7 Replies
3. UNIX for Dummies Questions & Answers
Please could someone advise what disk size this would be ?
Filesystem kbytes used avail capacity
/dev/dsk/c0t1d0s2 282315967 65553 279427255 1%
is it 280 meg ?
regards
venhart (2 Replies)
Discussion started by: venhart
2 Replies
4. 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
5. Solaris
Hi folks,
I just recently build myself a NAS with Oracle Solaris 11 Express.
MOBO: Asus M4N68T-M LE V2 nForce 630a AM3
PCI-e Controller: 2x Exsys EX-3503 with Sil3132 Chipset (latest FW)
HDD: 7x 2000GB Samsung EcoGreen F4 HD204UI 32MB 3.5" (latest FW)
OS: SunOS zaruba 5.11 snv_151a i86pc... (4 Replies)
Discussion started by: Garter
4 Replies
6. SCO
when i try to find the disk size in a sco unix machine
i am not quite sure about the commands
df and df -k
is there any other command to see what hardware raid it is built in and the total disk size
any command similar to fdisk (4 Replies)
Discussion started by: robo
4 Replies
7. Shell Programming and Scripting
To find the whole size of a particular directory i use "du -sk /dirname".. but after finding the direcory's size how do i make conditions like if the size of the dir is more than 1 GB i hav to delete some of the files inside the dir (0 Replies)
Discussion started by: shaal89
0 Replies
8. UNIX for Advanced & Expert Users
Hello,
in one default UFS filesystem we have 8K block size (bsize) and 1K fragmentsize (fsize). At this scenary I thought all "FileSytem IO" will be 8K (or greater) but never smaller than the fragment size (1K). If a UFS fragment/blocksize is allwasy several ADJACENTS sectors on disk (in a ... (4 Replies)
Discussion started by: rarino2
4 Replies
9. UNIX for Dummies Questions & Answers
I have been searching both on Unix.com and Google and have not been able to find the answer to my question. I think it is partly because I can't come up with the right search terms.
Recently, my virtual server switched storage devices and I think the problem may be related to that change.... (2 Replies)
Discussion started by: jmgibby
2 Replies
10. Red Hat
We have a Oracle linux 6.4 servers and memory is around 256GB, we are planing to configure kdump and I am confused about disk size I should set. I need your suggestion what would be the best size I should define for kdump. (3 Replies)
Discussion started by: karthik9358
3 Replies
LEARN ABOUT HPUX
prealloc
prealloc(1) General Commands Manual prealloc(1)
NAME
prealloc - preallocate disk storage
SYNOPSIS
name size
DESCRIPTION
preallocates at least size bytes of disk space for an ordinary file name, creating the file if name does not already exist. The space is
allocated in an implementation-dependent fashion for fast sequential reads and writes of the file.
fails and no disk space is allocated if name already exists and is not an ordinary file of zero length, if insufficient space is left on
disk, or if size exceeds the maximum file size or the file size limit of the process (see ulimit(2)). The file is zero-filled.
DIAGNOSTICS
returns one of the following values upon completion:
0 Successful completion.
1 name already exists and is not an ordinary file of zero length.
2 There is insufficient room on the disk.
3 size exceeds file size limits.
EXAMPLES
The following example preallocates 50000 bytes for the file
WARNINGS
Allocation of file space is highly dependent on current disk usage. A successful return does not indicate how fragmented the file actually
might be if the disk is approaching its capacity.
AUTHOR
was developed by HP.
SEE ALSO
prealloc(2), ulimit(2).
prealloc(1)