473,395 Members | 1,488 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

File System Full

vj
What are the various tasks which can be done to avoid the error message
" file System full" ?

Thanks,
Vj.

Nov 12 '05 #1
4 2206
Monitor the filesystems using a tool like Tivoli and generate automated
alerts to the proper parties when one gets to 80% or 90% full. Have the
System Admin add space when that happens.

vj wrote:
What are the various tasks which can be done to avoid the error message
" file System full" ?

Thanks,
Vj.

Nov 12 '05 #2
Create two files:
1. dft.awk -containing below
$4 > 90
{
}

2. Create dft.sh
rm /tmp/dft.out
rm /tmp/dft.txt
rm /tmp/dft1.txt
df -k |tr -d '%' |tail +1 >/tmp/dft.out
awk -f dft.awk </tmp/dft.out >/tmp/dft1.txt
grep -iv "filesystem" /tmp/dft1.txt >/tmp/dft.txt

if [ -s '/tmp/dft.txt' ]
then
for email in `cat /db2/bin/ini/dft_email.ini` # Store
email/pager address/cell phone address in dft_email.ini
do
mail -s "File System Warning: Please Check " "$email"
</tmp/dft.txt
echo "emailing"
done
fi

Test the above and use it in crontab to monitor every minute.
vj wrote:
What are the various tasks which can be done to avoid the error message
" file System full" ?

Thanks,
Vj.


Nov 12 '05 #3
vj wrote:
What are the various tasks which can be done to avoid the error message
" file System full" ?

Thanks,
Vj.


Next to the DB2 monitoring facilities, you could try a monitoring system
like zabbix (www.zabbix.org) to monitor disk space. In case of a
threshold overflow, it can report through a number of media.

Obviously the answer to your question is:
Prevent the filesystem from getting full. Monitor diskusage and let your
systems administrator add storage when needed.

-R-
Nov 12 '05 #4
Hi,

You can use SiteScope also. It is very very useful one for these
kind of monitoring. You can download the trial version from mercury
site (http://www.mercury.com/us/website/fw_transition.html).

With Regards

Bala

vj wrote:
What are the various tasks which can be done to avoid the error message
" file System full" ?

Thanks,
Vj.


Nov 12 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Hal Vaughan | last post by:
I want to have a config file for my program, which means I need to know where the config file is. If I type: java myclass and it runs myclass.class, is there any way to obtain the location of...
6
by: o'seally | last post by:
solaris/linux admins/rookie_developers that battle with this error are probably all frustrated when it happens. i bet you're also somehow frustrated by this seemingly unsolvable error :-) ...take...
13
by: Leo | last post by:
Hi I had asekd previously a question qith regards to running a DLL file from ASP. It was not running for me. Bo error returned, nothing, Just an empty string (when it should have not been...
1
by: Edward Yang | last post by:
I setup web.config with impersonation="true". On our local server the project works great. I did the same procedures on our staging server, but it failed with an impossible error: Server Error in...
11
by: VJ | last post by:
I have these functions in my application. FileInfo.CopyTo DirectoryInfo.Create File.Copy Directory.Create
17
by: spentun | last post by:
How can I moitor file which is executed by user or program in window. I need to write a code to monitor file. When user clicks the file(.exe) or is called by program, the name of file will be...
6
by: Seok Bee | last post by:
Dear Experts, In my web application, I'm having a button to view an attachment. After I retrieve the record from database (Ms. Access), I have a button to view the attachment (if there is any)....
3
by: shapper | last post by:
Hello, In have a class inside a compiled DLL where I have the following code: ' Create site map XML document Dim siteMap As XmlDocument = New XmlDocument ' Load site map XML document from...
34
by: Alexnb | last post by:
Gerhard Häring wrote: No, it didn't work, but it gave me some interesting feedback when I ran it in the shell. Heres what it told me: Traceback (most recent call last): File...
65
by: Hongyu | last post by:
Dear all: I am trying to write to a file with full directory name and file name specified (./outdir/mytestout.txt where . is the current directory) in C programming language and under Unix, but...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.