This is a discussion on Why is there a mismatch between df and du outputs? within the Linux hardware forums, part of the Linux Getting Started category; Ok, don't Laugh at me why is there a mismatch between df and du outputs? Code: df /home du /home ...
|
|||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
|||
|
Ok, don't Laugh at me why is there a mismatch between df and du outputs?
Code:
df /home du /home
__________________
Raj Linux rulz. I have never turned back in my life ; I shall not do so today.. haha |
| Sponsored Links | ||
|
|
|
|||
|
Quote:
It is a bit misleading since on most systems "vi" does not keep the file opened, if you see the expected differences then I'd be surprised. A better example would be to run: sleep 120 < /home/user/demo.txt & instead of vi on another terminal/console. Then remove, check usages, kill the job, then check again. Cheers. PS: On many/most Linux systems with a "/proc" filesystem, you can find open, deleted files with: ls -l /proc/[0-9]*/fd | grep ' (deleted)$' PPS: Presuming you have permissions, you can often access the file by that symbolic link; use 'wc' to determine the size or even copy the contents back to a disk file. |
|
||||
|
Quote:
__________________
Rocky Jr. You may have my body & soul, but you will never touch my pride! If you have knowledge, let others light their candles at it. Certified to work on HP-UX / Sun Solaris / RedHat |
![]() |
| Bookmarks |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) |
|
| Thread Tools | |
| Display Modes | |
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| mtrr: type mismatch | piggy | Linux hardware | 1 | 08-02-2007 10:32 PM |