display filesystem size that cross 75% as used


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting display filesystem size that cross 75% as used
# 1  
Old 04-24-2007
display filesystem size that cross 75% as used

Hi Genius,

I would like to display filesystem size that cross 75% as used using df -k.
I would thank in advance for your answer.

Thanks and Regards,
HAA
# 2  
Old 04-24-2007
Code:
$ df -k
Filesystem    1024-blocks      Free %Used    Iused %Iused Mounted on
/dev/hd4            16384     10116   39%     1227    15% /
/dev/hd2          5013504   2045996   60%    27974     3% /usr
/dev/hd9var         32768     16320   51%     2881    36% /var
/dev/hd3            98304     14128   86%     2404    10% /tmp
/dev/hd1            16384     10336   37%      901    22% /home
/dev/db2_lv       2605056   1528484   42%     5517     1% /db2home
$ df -k | awk ' $4 > 75 '
/dev/hd3            98304     14128   86%     2404    10% /tmp

# 3  
Old 04-24-2007
MySQL

Anbu,

Thanks a lot for excellent answer. Smilie

Regards,
Hari
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Hardware

Increasing the filesystem size

Hi Guys We have a VM machine, now I want to increase the size of the filesystem. We are running RHEL6 O/S. I have filesystem that is 500GB I want to increase that filesystem to 1.5 TB. The guy who manages the VM increased the size on the VM machine, now how do I make sure that the... (7 Replies)
Discussion started by: Phuti
7 Replies

2. Red Hat

Increase the filesystem size

Hi I am using oracle linux 6.4. My hard drive capacity is 500 GB. my filesystem size onbly 50GB. I would like to extend my filesystem size to around 100GB. I tried many codes but still I am not able. this is the output of df -h : Filesystem Size Used Avail Use% Mounted on... (6 Replies)
Discussion started by: farshad
6 Replies

3. Shell Programming and Scripting

How to display only Directories in filesystem?

Hi, I want to display only directories inside a particular file system. TIA (2 Replies)
Discussion started by: sumanthupar
2 Replies

4. 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

5. UNIX for Dummies Questions & Answers

Removing some size for filesystem

Hi All, Currently for filesystem /usr/sap/ccms we have allocated 50 GB of size and its mounted. Is there any procedure to remove 10 GB from it without disturbing data and allocate that 10 GB to another file system say /usr/sap/sapdata1. Thanks, Rohan (2 Replies)
Discussion started by: rohanxyz
2 Replies

6. UNIX Desktop Questions & Answers

block group size of a filesystem

How can I determine the block group size of my filesystem, in case I would like to determine where my backup superblocks are? Or how can I determine the location of my backup superblock? If usually, for the block group size of 1k, the alternate superblock will be at block 8193. Thanks, (2 Replies)
Discussion started by: Pouchie1
2 Replies

7. AIX

filesystem size

i am new in the field 3months to be precise. how do i come up with size, i want to change for the filesystem? assuming there is enough space on the volume group. do i just assign any value? (5 Replies)
Discussion started by: freeman
5 Replies

8. UNIX for Dummies Questions & Answers

How to increase the filesystem size?

Hi.. I want to increase the file system size of any filesystem online, without using the Volume manager like LVMs, is it possible? & if yes then how? (3 Replies)
Discussion started by: Amol21
3 Replies

9. AIX

Increasing the FileSystem Size

Hi Everybody, I have AIX 4.3 and I have a FileSystem with 400GB size, which called /db/run. Because of grow up of the application's data, more storage has been added 200GB. To add this space without affecting the application & the application's requirements, I have to add this 200GB to the existed... (9 Replies)
Discussion started by: aldowsary
9 Replies

10. Filesystems, Disks and Memory

Changing Filesystem size.

Hi there, can i change the size of filesystem afterwards. i want give some more space to my /export/home and want take some space from /opt. is it possible in solaris ? Any help will be appriciated. Abid (2 Replies)
Discussion started by: abidmalik
2 Replies
Login or Register to Ask a Question