Questions tagged [linux-disk-free]

NOT FOR USE WITH DATAFRAMES. Use [dataframe] for such questions. df (abbreviation for disk free) is a Unix and Linux command. The df command reports the amount of available disk space being used by file systems.

df (abbreviation for disk free) is a Unix and Linux command. The df command reports the amount of available disk space being used by file systems.

Manpage for df.

85 questions
0
votes
2 answers

how to reliably get size of available disk space in unix

I tried this by typing df -k ., I get the following: Filesystem 1K-blocks Used Available Use% Mounted on /dev/sda2 16512936 8650196 7023932 56% / I tailed the last statement and gwt 4th block . but if file system name is long…
Niraj Nandane
  • 1,318
  • 1
  • 13
  • 24
-1
votes
1 answer

Finding disk space details Linux server

I have a strange issue. When I use the below command [user@lautpyy003d ~]$ df -h /app/dev-data Filesystem Size Used Avail Use% Mounted on nfspci1q-2421-03.xxx.xx.xxx.xxxx:/app_nfs/lautpyy003d_4d_app_dev-data 68G 55G 14G 81% /app/dev-data The above…
user2967948
  • 529
  • 2
  • 8
  • 23
-1
votes
1 answer

reserve,used,available,total disk space in linux

Is there any single linux command or single system call through which I can get all 4 information(Total,used,free,reserved) ? I have checked following: df: does not give reserve disk space stat(): does not give reserve disk space statfs(): gives…
Ek1234
  • 407
  • 3
  • 7
  • 17
-1
votes
2 answers

How to get more space on /dev/mapper/centos-root

The following is df -h result. /dev/mapper/centos-root is 100%. /dev/mapper/centos-root 50G 50G 20K 100% / devtmpfs 3.8G 0 3.8G 0% /dev tmpfs 3.9G 8.0K 3.9G 1% /dev/shm tmpfs …
ryo
  • 2,009
  • 5
  • 24
  • 44
-1
votes
2 answers

echo command is not working as expected in shell scriptin

I have my filesystem as like below Filesystem Size Used Avail Use% Mounted on /dev/mapper/rootvg-rootvol 20G 3.7G 15G 20% / tmpfs 71G 8.0K 71G 1% /dev/shm And my code is as below: varone…
zeewagon
  • 1,835
  • 4
  • 18
  • 22
-1
votes
1 answer

df says zero 1k-blocks free but copying still possible (3 TB ext4)

I have 3 TB internal harddisks which are (apparently) almost full. Df says 0 1k-blocks free but I can still copy a file of more than 200 Mb to the drive. What is wrong here?
Niels
  • 537
  • 5
  • 22
-1
votes
2 answers

About Linux file system

Just set a Fedora 22 system on VMWare with 60GB. When inputting the "df" command, the system displayed this: Filesystem 1K-blocks Used Available Use% Mounted on /dev/mapper/fedora-root 38440424 4140700 32324020 12% / devtmpfs …
John Yang
  • 21
  • 4
-2
votes
1 answer

File System Disk Space Usage

When I use the unix df command to return the disk usage, I get the following reported /dev/sda1 30929148 30530112 399036 99% / How get what is using the disk space. Is there a way to determine as to which directories are…
Pete Long
  • 107
  • 2
  • 11
-3
votes
1 answer

With df -h how to create custom alert-conditions

With df -h, awk, tail, tr, how to create a custom "alert" column that should display one of the following indications for /mnt/hgfs : Warning: If the occupancy rate is between 75% and 80% Critical: If the occupancy rate is between 81% and…
-4
votes
1 answer

AWS instance not showing the correct free space

I use AWS and I got an EC2 instance. When I run the command du -h --max-depth=1 I get: and When I run the command df -h I get: It look I use only 1GB but it show that I am using 7.1GB. So I run the command lsof +L1 to locate some deleted file…
Blackstar
  • 97
  • 1
  • 2
  • 8
1 2 3 4 5
6