Sponsored Content
Top Forums UNIX for Advanced & Expert Users Disk space vanishes then reappears Post 302381870 by botao on Monday 21st of December 2009 08:14:59 AM
Old 12-21-2009
block it, instead of spot it ...

here's my two cents:

- as the easier/cheaper alternative, I would recommend using disk quotas in order to block the growing of the suspicious file, thus triggering a syslog event for quota-offenders ;

- now deeper (and way different) than that approach, a Dtrace probe to inspect the stat/lstat syscalls and the st_size value can spot your file, at the costs of some overhead to your overall performance, and some Dtrace programming ;

good luck, and success !

alexandre botao
<< botao {dot} org >>
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Out of disk space?

Hi I'm trying to install gcc and the installation program tells me that I'm out of disk space! I have just installed the os (using the default settings for partitions and sizes) and have only installed apache on the machine. Can it really be out of disk space already? How do I check how much... (4 Replies)
Discussion started by: alfabetman
4 Replies

2. Filesystems, Disks and Memory

Disk Space -

I know I have posted this question before, but I still just don't understand how to determine disk space. This server is an IBM RS6000 running on AIX version 4.2.1. I in essence need to know the following if anyone can assist me. 1) I need to know how many drives are configured in the... (2 Replies)
Discussion started by: Docboyeee
2 Replies

3. UNIX for Dummies Questions & Answers

available disk space on disk device???

Hello, Can someone please tell me which command to use to determine the available disk space on a given disk device? I have to write a shell script that compresses files and stores them in a specific location but I am not sure how "conservative" I should be? Thanks in advance! Al. (4 Replies)
Discussion started by: alan
4 Replies

4. Filesystems, Disks and Memory

disk space

Hi experts i am new in unix and informix and would like to ask 2 questions 1) my server shows when using df -k fs 1024-block used available /usr 10079072 3668670 6381144 does this mean i have 10GB, and used up 3.7GB and available 6.3GB ??? is... (3 Replies)
Discussion started by: kingsto88
3 Replies

5. Red Hat

disk space

when i check /export directory of my machine gets filled up (85%) i removed some old logs. but after cleaning df -k command still shows that /export is still 85% full. Is there a way to force df to reflect actual free space without rebooting? My machine is a production one and can't... (8 Replies)
Discussion started by: aboorkuma
8 Replies

6. Shell Programming and Scripting

Cron job vanishes if i disconnect the session upruptly

Hi Am logging in to the server as root. Using the export EDITOR=vi option before editing the cron file editing the crontab entry using crontab -e option the additional jobs which i added can be seen immediately, but when i disconnect the session upruptly the cron entry vanishes the next time... (4 Replies)
Discussion started by: aemunathan
4 Replies

7. UNIX for Dummies Questions & Answers

How much disk space?

Hi, I have this : uname -a Linux servername 2.6.18-194.11.3.el5PAE #1 SMP Mon Aug 23 15:57:10 EDT 2010 i686 i686 i386 GNU/Linux df -k Sys. de fich. 1K-blocs Occupied Disponible Capacity Monted on /u01/applis 10321208 3190160 6606760 33% /applis Does it mean... (1 Reply)
Discussion started by: big123456
1 Replies

8. Solaris

Setting PATH - Vanishes

Hi , I new to solaris. I want to set path variable . Eg: JAVA_HOME. When i do this, #JAVA_HOME=/usr/jdk/jdk1.6 #export JAVA_HOME #echo $JAVA_HOME /usr/jdk/jdk1.6 Then its ok. When i toggle to bourne shell or if i log off or restart. then JAVA_HOME is echoed blank. How to set... (4 Replies)
Discussion started by: gnanagurus
4 Replies

9. Solaris

Disk Space

I know there are other threads but they have not helped. My server is running low on disk space and I haven't been able to re-allocate. I think my solaris machine is missing tools or the way it was originally setup, may not have the right pathing. $ df -k Filesystem kbytes used... (5 Replies)
Discussion started by: lnxjenn
5 Replies

10. Red Hat

Login screen reappears..!!

Hi all, My login screen reappears if i give a correct password for a user and give login.. I am doing Linux BMR process for CentOs .. I first backup the ' / ' folder with partition details and then restore it using a live cd. By doing so i got succeeded in restoring a machine.. But while... (0 Replies)
Discussion started by: selvarajvs
0 Replies
REPQUOTA(8)						    BSD System Manager's Manual 					       REPQUOTA(8)

NAME
repquota -- summarize quotas for a file system SYNOPSIS
repquota [-g] [-u] [-v] filesystem ... repquota [-g] [-u] [-v] -a DESCRIPTION
Repquota prints a summary of the disk usage and quotas for the specified file systems. Available options: -a Print the quotas of all the filesystems configured with a quota mount option file at its root. -g Print only group quotas (the default is to print both group and user quotas if they exist). -u Print only user quotas (the default is to print both group and user quotas if they exist). -v Print a header line before printing each filesystem quotas. For each user or group, the current number of files and amount of space (in kilobytes) is printed, along with any quotas created with edquota(8). Only members of the operator group or the super-user may use this command. FILES
Each of the following quota files is located at the root of the mounted filesystem. The mount option files are empty files whose existence indicates that quotas are to be enabled for that filesystem. .quota.user data file containing user quotas .quota.group data file containing group quotas .quota.ops.user mount option file used to enable user quotas .quota.ops.group mount option file used to enable group quotas SEE ALSO
quota(1), quotactl(2), edquota(8), quotacheck(8), quotaon(8) DIAGNOSTICS
Various messages about inaccessible files; self-explanatory. HISTORY
The repquota command appeared in 4.2BSD. 4.2 Berkeley Distribution March 28, 2002 4.2 Berkeley Distribution
All times are GMT -4. The time now is 06:23 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy