Sponsored Content
Full Discussion: problem knowing disk space
Top Forums UNIX for Dummies Questions & Answers problem knowing disk space Post 6254 by buntty on Saturday 1st of September 2001 02:52:37 AM
Old 09-01-2001
problem knowing disk space

i am a fresh person learning sco open server 5.5Smilie
how should i know that how much space is occupied & how much is free on a particular partition?please help
 

8 More Discussions You Might Find Interesting

1. Filesystems, Disks and Memory

Disk Space -

I know I have posted this question before, but I still just don't understand how to determine disk space. This server is an IBM RS6000 running on AIX version 4.2.1. I in essence need to know the following if anyone can assist me. 1) I need to know how many drives are configured in the... (2 Replies)
Discussion started by: Docboyeee
2 Replies

2. UNIX for Dummies Questions & Answers

available disk space on disk device???

Hello, Can someone please tell me which command to use to determine the available disk space on a given disk device? I have to write a shell script that compresses files and stores them in a specific location but I am not sure how "conservative" I should be? Thanks in advance! Al. (4 Replies)
Discussion started by: alan
4 Replies

3. Shell Programming and Scripting

Disk Space

HI ... I am New to the Unix...I am trying to write a script to check the disk space. But i am not able to write it. I know the command to check the disk space df -k,but unable to write the script..Can any body help me... Thanks in advance... (3 Replies)
Discussion started by: Kingkon
3 Replies

4. Filesystems, Disks and Memory

disk space

Hello All- Am new member to this forum. Have some unix experience. But true believer in it compared to windows. Have a question regarding the disk space. I know a command to check the total disk space utilization using: df -k . but what is the command to check the same disk space by... (6 Replies)
Discussion started by: milkyway
6 Replies

5. Red Hat

disk space

when i check /export directory of my machine gets filled up (85%) i removed some old logs. but after cleaning df -k command still shows that /export is still 85% full. Is there a way to force df to reflect actual free space without rebooting? My machine is a production one and can't... (8 Replies)
Discussion started by: aboorkuma
8 Replies

6. Solaris

Disk Space

I know there are other threads but they have not helped. My server is running low on disk space and I haven't been able to re-allocate. I think my solaris machine is missing tools or the way it was originally setup, may not have the right pathing. $ df -k Filesystem kbytes used... (5 Replies)
Discussion started by: lnxjenn
5 Replies

7. Red Hat

Problem in starting: message shown is "disk out of space"

Hi all, I was using centos on VMware platform. It is not getting started, as it is showing the following message: GDM could not write to your authorization file. This could mean that you are out of disk space or that your home directory could not be opened for writing. In any case, it is not... (2 Replies)
Discussion started by: CAch
2 Replies

8. Solaris

Problem in getting total Disk space using iostat -En command

Hi Everyone, I try to calculate the total hard disk space of a solaris machine using iostat -En command. Iterating the output and summing up all the number present near the Size: will give the exact size of the harddisk. But it is not working for a machine. This command works in many flavors... (2 Replies)
Discussion started by: prasankn
2 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 02:34 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy