09-01-2001
use 'df'
df reports filesystem disk space usage. man df for info.
8 More Discussions You Might Find Interesting
1. Filesystems, Disks and Memory
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
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
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
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
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
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
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
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
OPENDEV(3) BSD Library Functions Manual OPENDEV(3)
NAME
opendev -- short form device open routine
SYNOPSIS
#include <util.h>
int
opendev(char *path, int oflags, int dflags, char **realpath);
DESCRIPTION
The opendev() function opens a device using the ``short form'' name. This is typically ``disk0s3'', for instance, which will be expanded to
/dev/rdisk0s3 on most architectures.
Device name lookup is done by first checking path for a ``/'' and if one is found attempting to open that file. Otherwise /dev is searched
for a matching device.
The oflags are the same as the flags passed to open(2).
The dflags are specified by OR'ing the following values:
OPENDEV_PART attempt to open the raw partition during expansion
OPENDEV_BLCK open the block device (default is character device)
The ``raw'' partition is defined as the partition which provides access to the entire disk, regardless of the disk's partition map.
If realpath is not NULL, it is modified to point at the fully expanded device name.
RETURN VALUES
The opendev() return value and errors are the same as the return value and errors of open(2).
WARNINGS
If realpath is not NULL, on return it will point to internal static storage space that will be overwritten by subsequent calls.
SEE ALSO
open(2)
HISTORY
The opendev() function first appeared in OpenBSD 1.2.
BSD
December 12, 2002 BSD