Sponsored Content
Operating Systems Solaris Help Me! Get size on each directory on each disk Post 302695131 by edydsuranta on Saturday 1st of September 2012 03:07:53 PM
Old 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

Size of Disk

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

disk size

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

disk size help

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

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

5. Solaris

Different disk size on different controllers

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

Help with disk size in sco unix

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

How to delete some of the files in the directory, if the directory size limits the specified size

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

Physical disk IO size smaller than fragment block filesystem size ?

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

Ls directory size reporting byte size instead of file count

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

Kdump disk size

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
DISK_FREE_SPACE(3)							 1							DISK_FREE_SPACE(3)

disk_free_space - Returns available space on filesystem or disk partition

SYNOPSIS
float disk_free_space (string $directory) DESCRIPTION
Given a string containing a directory, this function will return the number of bytes available on the corresponding filesystem or disk partition. PARAMETERS
o $directory - A directory of the filesystem or disk partition. Note Given a file name instead of a directory, the behaviour of the function is unspecified and may differ between operating sys- tems and PHP versions. RETURN VALUES
Returns the number of available bytes as a float or FALSE on failure. EXAMPLES
Example #1 disk_free_space(3) example <?php // $df contains the number of bytes available on "/" $df = disk_free_space("/"); // On Windows: $df_c = disk_free_space("C:"); $df_d = disk_free_space("D:"); ?> NOTES
Note This function will not work on remote files as the file to be examined must be accessible via the server's filesystem. SEE ALSO
disk_total_space(3). PHP Documentation Group DISK_FREE_SPACE(3)
All times are GMT -4. The time now is 10:50 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy