10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
While am preparing the script for diskspace for different partitions different threshhold limit. am getting below error:
./test.sh: syntax error at line 5: `space=$' unexpected
Script
====
#!/bin/sh
df -h |grep -v '/oradata2'|grep -v '/orabkp' |grep -v '/oradata5' | awk '{ print $5... (7 Replies)
Discussion started by: Pavan83
7 Replies
2. Shell Programming and Scripting
Dear Group,
I'm look for shell script to Monitor CPU usage and send mail once it exceed 75% I'm running Suse10.4. (3 Replies)
Discussion started by: clfever
3 Replies
3. Shell Programming and Scripting
dear all,
i want elimination file with disk space for example:
$ df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/VolGroup00-LogVol00
62G 19G 41G 31% /
/dev/sda1 99M 13M 82M 13% /boot
tmpfs 1014M 0... (2 Replies)
Discussion started by: zvtral
2 Replies
4. Shell Programming and Scripting
Hello Allz,
Please review my following script. The purpose of the script is to check the file system every 5 minutes & if any file systems is exceed from 90% then raise an email alert only 1 time.
But the following script not functioning properly, mostly send an email that contain only... (7 Replies)
Discussion started by: telnor
7 Replies
5. Shell Programming and Scripting
Hi
I want to check Oracle ASM disk status through a PERL script.
Script flow would be like this ...
1. Its taking diskgroup name in the command line...
2. Connect to Oracle database
3. If connection error send a critical message.
Plz replyyyyyyy...... (1 Reply)
Discussion started by: Harikrishna
1 Replies
6. Shell Programming and Scripting
Guys, have any idea for the script like this? also to compute w/ decimal.
thanks
a=10
b=20
c=30
d=40
if a < b then ( a -b)*1024 = free space
b + (c -d) = total space
if a > b then (b / d)*1024 = cpu (3 Replies)
Discussion started by: kenshinhimura
3 Replies
7. Shell Programming and Scripting
Hi,
I am using this script to load up my Oracle Databases, but when I log in through Exceed, it hangs. Can anyone tell me what else I need to add to make this work??
Details
****************************************************************************************************... (11 Replies)
Discussion started by: dnkansah
11 Replies
8. Shell Programming and Scripting
Hi,
I'm a teacher in Germany and I want to set up a classroom with Linux 8.1 PCs. Every User should have a Max of 100 MB available space. Now I need a script which tells everyone how much diskspace is used in a certain subdirectory.
It should work like that: User enters a command like... (1 Reply)
Discussion started by: Dansen
1 Replies
9. UNIX for Dummies Questions & Answers
Hi there,
pls help me, i have a problem, how i can find out the disk amount of each harddisk per command (not the on label on the Harddisk)
i need it on HP UX and Sun.
can anybody helb me????
pls
thanks
Scotty (1 Reply)
Discussion started by: scotty
1 Replies
10. Programming
Hi,
I would like to monitor which users enter my home directory. Is it possible to write a script or code to do this. I donot have admin privileges. I have given read permissions to access my home directory.
Any pointers in this direction is helpful!
Thanks,
Pradeep
Ps: I use the... (1 Reply)
Discussion started by: mnpradeep
1 Replies