10 More Discussions You Might Find Interesting
1. HP-UX
I have noticed that after I clear up the /var filesystem, there are always problems.
Does deleting the OLDsyslog.log file cause problems like missing directories and problems accessing crontabs?
There were two situations where I faced problems.
1) Deleted OLDsyslog.log (Of course I created... (5 Replies)
Discussion started by: anaigini45
5 Replies
2. UNIX for Dummies Questions & Answers
I am on SCO UNIX, I need to write a script to monitor root file system. For some reason it's not working for me.
#!/bin/sh
df -B / | awk '{ print $5 " " $1 }' | while read output;
do
echo $output
if ; then
echo "Running out of space \ HOSTNAME"
# mail -s "Alert: Almost out of... (8 Replies)
Discussion started by: samnyc
8 Replies
3. Filesystems, Disks and Memory
Hi all! I have a task that has been giving me problems.I have my sister-in-law's external hard drive that has been damaged and the filesystem is not mountable.
I am on a Mac running OSX 10.6.8
Using ddrescue, I recovered the contents and transferred to my external drive:
sudo ddrescue... (0 Replies)
Discussion started by: Imhotep1963
0 Replies
4. UNIX for Dummies Questions & Answers
Hi,
I am new to shell scripting in unix HP-UX.
I need to determine how much a perticular file system is full and if it goes over 80% it should notify through mail about which are the files which are greater than 1 GB size.
I used df -k command it is showing the alloocated KB and the %used... (14 Replies)
Discussion started by: Soma Das
14 Replies
5. UNIX for Advanced & Expert Users
Hi
I do a very simple monitoring of our OpenLDAP (runs in cronjob and generate alerts if unsuccessfull)
$ ldapsearch -h hostname.domain -D "cn=monitor_user,ou=People,dc=organisation" -w "password" -b "dc=organisation" -x "(&(cn=monitor_user)(ou=People))" dn | grep -v version
dn:... (4 Replies)
Discussion started by: slashdotweenie
4 Replies
6. AIX
As I am new to the Unix field, I would like to get the clarification regarding the Filesystem.
The scenario is.. The filesystem (/drbackup) is getting monitored and if it exceeds the threshold, we will receive an alert from it. The issue is that we receive an alert with the description of... (2 Replies)
Discussion started by: A.Srenivasan
2 Replies
7. Shell Programming and Scripting
Gentlemen
I want to write a small script and run as cronjob sothat the script runs every four hours
The script should be capable of finding any hardware issues,panics,coredumps
if anyissues found it should sent mail.If no issues it shouldnt sent mail
Deeply appreciated if any help... (2 Replies)
Discussion started by: saidiya
2 Replies
8. Shell Programming and Scripting
Hi all,
I got an error when running this script (from BigAdmin community)
the error is
test: argument expected
my server version is
SunOS XXX 5.8 Generic_117350-46 sun4u sparc SUNW,Sun-Fire-V890
any idea on it?
#! /usr/bin/ksh
###
### This script can be run from cron to... (9 Replies)
Discussion started by: SmartAntz
9 Replies
9. AIX
I'd like to create a cron script that checks filesystems. For example if it reaches 95% USED, I'd like it to send me an email. Can this be possible for up to say 4 filesystems using the df -k command? Any samples to get me started would be much appreciated. (7 Replies)
Discussion started by: NycUnxer
7 Replies
10. UNIX for Advanced & Expert Users
Hi,
I've a Unixware 7.1.4, the machine has 3 disks, the second disk is not mounted, he said the message "WARNING: msgcnt 2 vxfs: mesg 021: vx_fs_init - /dev/dsk/c0b0t1d0s1 file system validation failure".
I use the fsck command to check and repair, during the pocess apears messages to... (3 Replies)
Discussion started by: By_Jam
3 Replies