06-09-2008
df+du=Total space allocated(for a file system)
Hi All,
Will df+du=Total space allocted for a file system??
Is the above correct. Please correct me If iam wrong.
In one my programs the above is not happening.
Please help me out.
Many thanks.
Regards,
Manas
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi there,
When I run top on my machine it says I have 497M swap space in use, and 380M swap space free,
but I have only allocated 512M swap space to the machine!!!!
Does anyone know how swap used is calculated in the top command?
Thanks... (1 Reply)
Discussion started by: chorgan
1 Replies
2. UNIX for Dummies Questions & Answers
hi guys im new here, would like to ask what is the syntax or how could i check the total allocated external disk in HP-UX???
ive check the allocated size using SAM, but in some servers the SAM hangs when checking the disk space. So i would like to know using command line.
thanks (3 Replies)
Discussion started by: gob23g
3 Replies
3. Solaris
i am working with solaris 9 and my disk usages are
# df -k
Filesystem kbytes used avail capacity Mounted on
/dev/dsk/c0t0d0s0 2148263 1902721 202577 91% /
/proc 0 0 0 0% /proc
mnttab 0 0 0 ... (3 Replies)
Discussion started by: smartgupta
3 Replies
4. Solaris
Hey guys,
I am somewhat new to Solaris - and very new when it comes to mounts.
My problem is that when I installed Solaris, I allocated way too little diskspace to my / mount (it first became obvious now, however, because of new needs).
bash-3.00# df -h
Filesystem size ... (25 Replies)
Discussion started by: brightstorm
25 Replies
5. Solaris
How swap is getting 12GB as its size as per the below output:
Filesystem size used avail capacity Mounted on
/dev/md/dsk/d0 7.9G 2.1G 5.7G 27% /
/devices 0K 0K 0K 0% /devices
ctfs 0K 0K 0K 0% /system/contract
proc 0K 0K 0K 0% /proc
mnttab 0K 0K 0K 0% /etc/mnttab
swap 12G 1.2M 12G 1%... (3 Replies)
Discussion started by: ramnagaraj
3 Replies
6. Shell Programming and Scripting
Good afternoon! Im new at scripting and Im trying to write a script to
calculate total space, total used space and total free space in filesystem names matching a keyword (in this one we will use keyword virginia). Please dont be mean or harsh, like I said Im new and trying my best. Scripting... (4 Replies)
Discussion started by: bigben1220
4 Replies
7. UNIX for Dummies Questions & Answers
Hello,
I need to find the total allocated disk space for the home directory.
How can i find that in unix?(in GB).
Thanks. (4 Replies)
Discussion started by: kailash19
4 Replies
8. Linux
Hi All,
I am writing a block driver for a 2GB SD card where i get the total amount of data per request as follows:
struct request *req;
uint card_addr,total_bytes;
struct request_queue *rq = BlkDev->queue;
req = elv_next_request(rq);
..
..
card_addr = req->sector*512;... (1 Reply)
Discussion started by: amio
1 Replies
9. AIX
A file system has reached 100%. I have tried adding space using chfs -a size=+100 command to that file system. However, the % used is not decreasing from 100%. Is there a way to add more space?
Also, can someone suggest a script to send a mail alert when a file system is reaching 90%.
G (4 Replies)
Discussion started by: ggayathri
4 Replies
10. Shell Programming and Scripting
Hi ,
I Would like to know the space allocated by adding up all the allocated space to group of filesystems ..
example ,
df -h|grep /db | awk '{ print $4 }' ---> giving me all the used space on the filesystem but need to know the total used space by adding up all the values (3 Replies)
Discussion started by: nsankineni
3 Replies