I had to search, but I had written this Perl script for automatic notification if the filesystem was greater than some arbirtary percentage:
Code:
#!/usr/bin/perl
# auswipe, 5 Apr 2002
# Tested under OpenBSD 2.9
# auswipe sez : "No guarantees!"
$upperLimit = 80; # Upper Limit in % for a File System
$mailTarget = "joe\@blow.com"; # Target for the automatic e-mail message
open(STATS, "df -h\|grep '%'|") || die "$!";
my @fileStats = <STATS>;
foreach $entryLine (@fileStats) {
chomp($entryLine);
$entryLine =~ s/\s+/ /g;
my @fsStats = split(/ /, $entryLine);
$fsStats[4] =~ s/%//g;
if ($fsStats[4] >= $upperLimit) {
open(MAIL, "|mail -s \"FileSystem $fsStats[0] Getting Full!\" $mailTarget ") || die "Can't open m
ail!";
select(MAIL);
print << "EOF";
The FileSystem $fsStats[0] is getting full.
Currently, the file system is ${fsStats[4]}% full. The upper
limit has been placed at ${upperLimit}%.
Please attend to this matter.
-auswipe
This message has been created automatically. Please do not respond to this message.
EOF
close(MAIL);
};
};
close(STATS);
my partner change the server's ip address and now i can't to mount the oracle's filesystem, what i do? i don't want to reinstall Unix. My unix is SCO UNIX 5.0.5 (9 Replies)
Dear All
We have HP9000 rp7400 Server running with hp-ux 11i.
Our Disk storage has two volume groups and are allocated as follows:
1. /#vgdisplay -v
--- Volume groups ---
VG Name /dev/vg00
VG Write Access read/write
VG Status available... (1 Reply)
Hi to all
i want to increase the /usr size.
but, it is mirrored on hdisk0 and hdisk1.
i know that chfs will work, but i am not confident about mirroring.
can anyone tell me the procedure.
thanks (2 Replies)
hi guys
suse 10.2
today some guys are adding some luns from a SAN so in order to add them I followed this command
echo 1 > /sys/class/fc_host/host1/issue_lip
echo "- - -" > /sys/class/scsi_host/host<number>/scan
nice now
after that I tried to create a folder in /
but it won't let... (2 Replies)
i need to write a shell script for printing the list of filesystems whose disk utilization is more than 75%...i tried using df -h along with awk but cud'nt make the combination work.....:wall:
when we do df -h then the filesystems which are using more than 75% capacity shud be printed according to... (11 Replies)
I need a scrip that will show me the filesystems that are greater than 70%...but not sure how to filter using the df -h | grep
Thank you for your help!! (6 Replies)
SunOS 5.10 Generic_142900-15 sun4u sparc SUNW,SPARC-Enterprise
How can I tell if "clustering" is being used in my shop?
I have to file systems that are identical. These filesystems are nfs mounted. But how can I tell if they are being kept in sync as a result of clustering or some other... (2 Replies)
Discussion started by: Harleyrci
2 Replies
LEARN ABOUT DEBIAN
claws-mail-archiver-plugin
CLAWS-MAIL-ARCHIVER-PLUGIN(1) General Commands Manual CLAWS-MAIL-ARCHIVER-PLUGIN(1)NAME
claws-mail-archiver-plugin -- Archiver plugin for Claws Mail
DESCRIPTION
This manual page documents briefly the claws-mail-archiver-plugin
This manual page was written for the Debian distribution because the original program does not have a manual page.
claws-mail-archiver-plugin is a plugin (loadable module) for the Claws Mail mailer.
This plugin uses libarchive to extend Claws Mail features with archiving capability. Several archive formats are available, with or without
compression.
USAGE
Before using a plugin you must instruct Claws Mail to load it on startup.
For this you must go ``Configuration'' menu on main window toolbar, open ``Plugins...'' dialog, click on the ``Load plugin...'' button and
select the plugin file, named archive.so, and press the ``Open'' button.
SEE ALSO
claws-mail (1), claws-mail-extra-plugins (1), libarchive-formats (5).
AUTHOR
claws-mail-archiver-plugin was written by Michael Rasmussen mir@datanom.net
This manual page was written by Ricardo Mones mones@debian.org for the Debian system (but may be used by others). Permission is granted to
copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 2 any later version published by
the Free Software Foundation.
On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL.
CLAWS-MAIL-ARCHIVER-PLUGIN(1)