Disk usage showing 100% after deleting files also | Red Hat Linux 3.2.2-5

 
Thread Tools Search this Thread
Operating Systems Linux Red Hat Disk usage showing 100% after deleting files also | Red Hat Linux 3.2.2-5
# 8  
Old 02-22-2012
Also remember that deleting a file that has an open file handle/descriptor does not remove the file from the disk until that handle is closed. lsof should be used to determine what is holding the file open. Then that daemon can be restarted to clear the open file handle.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Fedora

Which is the better platform to learn UNIX/Linux (Kali Linux Vs. Red Hat or other)?

I just started a new semester and I started my UNIX class yesterday. I've already decided to use python along with my learning process but what I really want to use with it is Kali as my UNIX/Linux platform to learn off of since I already wanted to learn Cyber Sec. anyways. I just wanted to know if... (12 Replies)
Discussion started by: ApacheOmega
12 Replies

2. UNIX for Dummies Questions & Answers

Detect New Disk in Red Hat

Hello, Wanted to know if there is a way to detect a new disk added to the Red Hat system without restarting the server. Thanks. (3 Replies)
Discussion started by: ikn3
3 Replies

3. UNIX for Dummies Questions & Answers

how to know if i use "Red Hat Enterprise Linux" or "Red Hat Desktop" ?

how to know if i use "Red Hat Enterprise Linux" or "Red Hat Desktop" ? (2 Replies)
Discussion started by: ahmedamer12
2 Replies

4. Red Hat

Implememting disk quota on Red Hat

Hi , what are all the files will be edited when we are\ implememting disk quota for a user. Thanks in advance (2 Replies)
Discussion started by: krish4linux
2 Replies

5. SuSE

ghost root disk on Red Hat Linux

I have been reading to no avail on how to create a root ghost disk. The purpose of this task is that prior to patching my linux servers, I would create a copy of my root disk to an empty disk for failback in the event that the patching has issues. I currently configured my root disk with 2... (2 Replies)
Discussion started by: gperez
2 Replies

6. Linux

Red Hat Linux 9

Hello there! Will anybody please tell me some good links to online eBooks on Red Hat Linux 9 user experiences and the like. If the books are in PDF Format, it will be nice to read. Thanks for cooperation in advance. Enjoy using open source and breathe freely! JAM (5 Replies)
Discussion started by: Jawwad
5 Replies

7. UNIX for Dummies Questions & Answers

red hat linux installation boot floppy disk

Hi, My dear friends, I am trying to install red hat linux. I have downloaded its disc1. On the instructions page, the next stage is to make the boot disk, so that I can boot from the floppy. However, I am unable to locate the boot image iso file. I tried on google, but I got a few files which... (3 Replies)
Discussion started by: linuxpenguin
3 Replies

8. UNIX for Dummies Questions & Answers

XP to Linux (Red Hat)

I have a PC running XP, and I have a PC that dual boots W2K and Red Hat Linux 7.3. I have the two connected via crossover cable, and the two can access each other when both are running windows. If I were to boot up Linux, can my XP PC telnet to the Linux PC? Any pointers or websites to... (3 Replies)
Discussion started by: lawadm1
3 Replies

9. UNIX for Dummies Questions & Answers

Slackware's Linux 3.0 VS Red Hat Linux 7.x

Hello guys, I got overzealous (I Think). I got the book Linux Unleashed that comes with the Slackware 3.0 Version of Linux for $2.00.I also have Red Hat Linux 7.2 (No book, just the OS).What I wanted to know was,other than the bells and whistles of Red Hat is there any significant difference... (2 Replies)
Discussion started by: perrylx
2 Replies

10. UNIX for Dummies Questions & Answers

Red Hat Linux 6.0

Ok here is my problem i do not know the command to load a driver for my network card in Ted hat linux 6.0 could sombody give me a hand. and if there is anyone that has a list of commands for red hat that would be great also (2 Replies)
Discussion started by: bbutler3295
2 Replies
Login or Register to Ask a Question
Sys::Statistics::Linux::DiskUsage(3pm)			User Contributed Perl Documentation		    Sys::Statistics::Linux::DiskUsage(3pm)

NAME
Sys::Statistics::Linux::DiskUsage - Collect linux disk usage. SYNOPSIS
use Sys::Statistics::Linux::DiskUsage; my $lxs = new Sys::Statistics::Linux::DiskUsage; my $stat = $lxs->get; DESCRIPTION
Sys::Statistics::Linux::DiskUsage gathers the disk usage with the command "df". For more information read the documentation of the front-end module Sys::Statistics::Linux. DISK USAGE INFORMATIONS
Generated by /bin/df -kP. total - The total size of the disk. usage - The used disk space in kilobytes. free - The free disk space in kilobytes. usageper - The used disk space in percent. mountpoint - The moint point of the disk. GLOBAL VARS If you want to change the path or arguments for "df" you can use the following variables... $Sys::Statistics::Linux::DiskUsage::DF_PATH = '/bin'; $Sys::Statistics::Linux::DiskUsage::DF_CMD = 'df -akP'; Example: use Sys::Statistics::Linux; use Sys::Statistics::Linux::DiskUsage; $Sys::Statistics::Linux::DiskUsage::DF_CMD = 'df -akP'; my $sys = Sys::Statistics::Linux->new(diskusage => 1); my $disk = $sys->get; METHODS
new() Call "new()" to create a new object. my $lxs = Sys::Statistics::Linux::DiskUsage->new; It's possible to set the path to df. Sys::Statistics::Linux::DiskUsage->new( cmd => { # This is the default path => '/bin', df => 'df -kP 2>/dev/null', } ); get() Call "get()" to get the statistics. "get()" returns the statistics as a hash reference. my $stat = $lxs->get; EXPORTS
No exports. SEE ALSO
df(1) REPORTING BUGS
Please report all bugs to <jschulz.cpan(at)bloonix.de>. AUTHOR
Jonny Schulz <jschulz.cpan(at)bloonix.de>. COPYRIGHT
Copyright (c) 2006, 2007 by Jonny Schulz. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. perl v5.14.2 2012-03-09 Sys::Statistics::Linux::DiskUsage(3pm)