10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
HI I am Trying to edit the below code to send email every day with difference of disk utilized in for last 24 hours but instead getting same usage everyday. can you please help me to point out where my calculation is going wrong. Thank you.
=================
#!/bin/bash
TODAY="at $(date... (0 Replies)
Discussion started by: Mi4304
0 Replies
2. Solaris
I have a solaris 10 system configured using NetApp as its storage, and the file systems are already configured as you can see from the example below:
root@moneta # df -h
Filesystem size used avail capacity Mounted on
/dev/md/dsk/d0 9.8G 513M 9.3G 6% /... (4 Replies)
Discussion started by: fretagi
4 Replies
3. Solaris
I have a solaris 10 system configured using NetApp as its storage, and the file systems are already configured as you can see from the example below:
root@moneta # df -h
Filesystem size used avail capacity Mounted on
/dev/md/dsk/d0 9.8G 513M 9.3G 6% /
... (0 Replies)
Discussion started by: fretagi
0 Replies
4. Shell Programming and Scripting
Hi ,
Does anyone have a script for monitoring disk failures on a Solaris 10/11 box? Need one today ASAP, thnks in advance. (2 Replies)
Discussion started by: walnutpony123
2 Replies
5. Shell Programming and Scripting
Hi All,
OS: Linux 86x64 bits Red Hat Linux
I get the email alert for the following when Alert condition is set for 30:
/dev/sda1 99M 21M 74M 22% /boot
-> Below 30%(Should not get the email alert)
Expected output as per E-Mail alert:
/dev/sda3 20G ... (2 Replies)
Discussion started by: a1_win
2 Replies
6. Solaris
Hi All,
We have a mix of flavours of UNIX. Recently delegated to monitor all UNIX server from one single point of HP SIM.
HP-UX servers have been successfully brought under HP SIM and we have been getting hardware alerts and these have helped us take proactive steps.
Issue being faced is... (0 Replies)
Discussion started by: amlanroy
0 Replies
7. Shell Programming and Scripting
It's the old thread "Disk Space Monitoring Script", modified for UNIX
This is the new code:
df -k | awk ' { if ( int($4) > 90)
{subject = $1 " More than 90% disk usage. Used: " $4
email = "email@test.com"
print subject
cmd = "mailx -s \"" subject "\" " email
cmd | getline... (4 Replies)
Discussion started by: dungureanu
4 Replies
8. Filesystems, Disks and Memory
Hi all,
I am looking for api to get me system monitoring statictics every 5 minutes.
I am looking at the following statistics:
1. System CPU Usage
2. Process CPU Usage
3. Process Memory Usage
4. I/O Usage for a certain disk.
5. Process I/O bytes/sec utilization.
I have seen very... (2 Replies)
Discussion started by: uiqbal
2 Replies
9. Shell Programming and Scripting
#!/bin/bash
# Disk Space Monitoring for more than 95 %
# and Sending Alerts by Mail
if ;
then
`df -k |awk '$5 > 95 {print $1 " ----------- " $5}' |mailx -s "More than 95% disk usage in DEV" email@test.com';
else
exit 0
fi
I get the... (8 Replies)
Discussion started by: sriram003
8 Replies
10. Programming
hi...
i need pointers to books/website...
'm trytin to write a daemon that monitors files of particular type(eg. text or pdfs) copied onto the hard disk. the daemon should detect the above n write the file name (along with the absolute path) to a file.
please DO NOT give me the code... (2 Replies)
Discussion started by: abhi_abhijith
2 Replies