09-09-2009
provide 2 outputs,
format -> p -> p
and
df -h
10 More Discussions You Might Find Interesting
1. Programming
I everybody!!
How can i use statvfs() to calculate disk usage and free disk space??
Im using this code:
/* Any file on the filesystem in question */
char *filename = "/home/nesto/test/test.cpp";
struct statvfs buf;
if (!statvfs(filename, &buf)) {
... (1 Reply)
Discussion started by: ninjanesto
1 Replies
2. AIX
Hello,
I would like to free some space to install gcc with is about 50M large, and I have no free space on my system. What can I delete?
Filesystem 1024-blocks Used Free %Used Iused Ifree %Iused Mounted on
/dev/hd4 262144 145436 116708 56% 7981 ... (10 Replies)
Discussion started by: aixn00b
10 Replies
3. Solaris
is there a command to get the total disk space (available + free) on the solaris server ?
thanks (3 Replies)
Discussion started by: sudhiroracle
3 Replies
4. Solaris
I'm getting ready to start a LU from Sol 9 to Solaris 10. I want to ensure that I have enough disk space for future upgrades. What I don't know is what free space Solaris requires.
If I have 10GB of free space in /opt, will Solaris 10 use that for a LU?
Or, do I need to allocate 10GB of space... (5 Replies)
Discussion started by: zeekstern
5 Replies
5. Shell Programming and Scripting
Hi,
I would like to create the new file system(mount point) in our unix server.
before that i would like to know the total free space available in /home directory.
Can you please let me know, how to find free space available for new filesystem?
Be careful with your spelling and... (2 Replies)
Discussion started by: koti_rama
2 Replies
6. Red Hat
Hi, I am having similar issue showing filesystem 100% even after deleting the files. I understood the issue after going through this chain. But i can not restart the processes being oracle database. Is there way like mounting filesytem with specific options would avoid happening this issue.
How... (0 Replies)
Discussion started by: prashant185
0 Replies
7. Solaris
Version: Solaris 10 (August 2011) on VM
I am kind of new to Solaris.From VM workstation i allocated 35 GB to this Solaris VM's Disk
The disk was named
c1t0d0
Few basic slices for root(8gb), swap(517mb) and /export/home(494mb) were created by the solaris Installer during the... (18 Replies)
Discussion started by: polavan
18 Replies
8. AIX
my users has requested more space to a particular volume group, so i do a lsvg
honda:/tmp/ab/ecc # lsvg
rootvg
OP24BCKVG
OP24ORAvg
OP24SYSVG
OP24DATVG
the user wants to know what disks are available to be added to any of the vgs listed above, (not including rootvg)
so i do a lspv... (2 Replies)
Discussion started by: asyed123
2 Replies
9. Shell Programming and Scripting
i want to write a shell script,when disk uses is 90% then automatically send a email to distribution list (group member)...... (1 Reply)
Discussion started by: sonu pandey
1 Replies
10. Solaris
Hi,
I need about 500G space in one corporate solaris server.
However, I am not sure which command to use to check this.
There are few volume groups in the server, and I deleted unused, old volume groups to clear some space.
However, now I am not sure how to check the free space itself.
... (2 Replies)
Discussion started by: anaigini45
2 Replies
bdf(1M) bdf(1M)
NAME
bdf - report number of free disk blocks (Berkeley version)
SYNOPSIS
type [filesystem|file] ... ]
DESCRIPTION
The command displays the amount of free disk space available either on the specified filesystem for example) or on the file system in which
the specified file (such as is contained. If no file system is specified, the free space on all of the normally mounted file systems is
printed. The reported numbers are in kilobytes.
Options
The command recognizes the following options:
Display information regarding file system swapping.
Report the number of used and free inodes.
Display information for local file systems only (for example,
HFS and CDFS file systems).
Do not sync the file system data on the disk before reporting the usage.
Note that the data reported by may not be up to date.
Report on the file systems of a given
type (for example, or
RETURN VALUE
The command returns 0 on success (able to get status on all file systems), or returns 1 on failure (unable to get status on one or more
file systems).
WARNINGS
If file system names are too long, the output for a given entry is displayed on two lines.
The command does not account for any disk space reserved for swap space, or used for the HFS boot block (8 KB, 1 per file system), HFS
superblocks (8 KB each, 1 per disk cylinder), HFS cylinder group blocks (1 KB - 8 KB each, 1 per cylinder group), and inodes (currently 128
bytes reserved for each inode). Non-HFS file systems may have other items not accounted for by this command.
AUTHOR
was developed by the University of California, Berkeley.
FILES
Static information about the file systems.
Mounted file system table.
File system devices.
SEE ALSO
df(1M), fstab(4), mnttab(4).
bdf(1M)