require detailed description for df -k command


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers require detailed description for df -k command
# 1  
Old 01-14-2011
Question require detailed description for df -k command

Hi,

I have used df -k always just to check the % of disk space left.

Recently i discovered that the sum availabl space and used space is not equal to 1K-blocks.

Can anyone explain me the reason for this difference.

Thanks.
# 2  
Old 01-14-2011
Your filesystem may reserve part of the filesystem for a particular purpose. For example ext3/4 reserves 5% for the root user by default.
# 3  
Old 01-14-2011
Please give a detailed example, showing what command(s) you typed, what the answer was, and what you think is wrong. Please mention the Operating System and version and the type of filesystem (e.g. ufs, vxfs). Were you logged in as user "root".

On some versions of unix I have seen the free space reported quite differently according to whether you are logged in as "root" or as a basic user. The difference is usually 10% of the capacity of the filesystem but is configurable.

Let's see your numbers.
# 4  
Old 01-17-2011
Thank you Scrutinizer and Methyl for your replies. Now I got my answer.Smilie..
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Description of the option print0 in the command find (man page)

This is the description of the option -print0 fon the command find in the man page: What does the "True" in the first line of the description mean? (3 Replies)
Discussion started by: puertas12
3 Replies

2. Shell Programming and Scripting

Getting detailed error from sql script

Hello, I have a main.sql file which runs around 5-6 .sql files and each .sql file is spooling it in separate text file. In my shell script I am appending main.sql to one of my log file but I am not able to get detailed error if anything fails from those 5-6 .sql files. Those errors are... (1 Reply)
Discussion started by: sp92
1 Replies

3. Shell Programming and Scripting

Description using last command

Hello Experts, I need the description (like if user has done sudo,logging from winscp termial or ssh from other machine) using the last command.Can someone help me out please. Thanks. (3 Replies)
Discussion started by: ahmed.vaghar
3 Replies

4. Shell Programming and Scripting

Require single command to start script in multiple servers

I have 9 servers, on each server a script with common name is available. I send a token file to all server from 1 particular server. so when a daemon job checks that token file is available then it triggers the script.. I want to know is there any command or script which I will run/execute on... (16 Replies)
Discussion started by: mirwasim
16 Replies

5. Shell Programming and Scripting

Require compare command to compare 4 files

I have four files, I need to compare these files together. As such i know "sdiff and comm" commands but these commands compare 2 files together. If I use sdiff command then i have to compare each file with other which will increase the codes. Please suggest if you know some commands whcih can... (6 Replies)
Discussion started by: nehashine
6 Replies

6. Homework & Coursework Questions

Command Doesn't Show Description

im making c code in linux and im having problems with one command, id should bring up a list but instead id doesnt do nothing, there are no error's, can anyone solve whats wrong ? void environ() { extern char **environ; int i=0; for (i = 0; environ !=NULL;i++) { ... (1 Reply)
Discussion started by: figureout
1 Replies

7. UNIX for Dummies Questions & Answers

require alternate command for lsof

Using lsof command i can find out which process-id is associated with the port. lsof -i :51000 . But as part of process i cant have lsof in the server. I am using sun solaris 8 and only kshell. Is there a way to find out which process is using the above port. as of now i am gettn port... (1 Reply)
Discussion started by: logic0
1 Replies

8. Solaris

Please tell me the Detailed Booting procedure of Solaris 8

Can anyone explain me the detailed booting procedure on Solaris 2.8 Regards, Max29583 (3 Replies)
Discussion started by: max29583
3 Replies

9. UNIX for Dummies Questions & Answers

require help about cut command

hi, im trying to cut the file using cut command in unix . the problem is i want to input the chacter list from another file and then using the postioins specified in this file i want to cut another file. for eg. cut -c(here i want to use a list being read from a file) listdata(this is the file i... (2 Replies)
Discussion started by: vikramchots
2 Replies

10. Solaris

Command to require OS info

Hi, I am new to UNIX environment. Can anybody tell me how can I check whether my OS is 32bit or 64bit? Regards, Malay Mary (4 Replies)
Discussion started by: malaymaru
4 Replies
Login or Register to Ask a Question