10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello all,
I have a task to patch red hat servers and some servers have a corrupted rpm database and return the error:
Error: rpmdb open failed
I know how to fix this when it occurs. What I'm hoping to do is scan a list of servers by IP and report back which server have this error.
... (6 Replies)
Discussion started by: greavette
6 Replies
2. Shell Programming and Scripting
Hi All,
My below shell script is not capturing %used value in the filesystem alert in the subject of the mail alert:
Code:
#!/bin/bash
export DBALIST="abc@xyz.com"
df -k /oradata/xyz/archive > dfk.result
archive_capacity=`awk -F" " '{ print $5 }' dfk.result|grep -i %| cut -c 1-4`
if... (6 Replies)
Discussion started by: harveyclayton
6 Replies
3. UNIX for Dummies Questions & Answers
Hi.....
Thanks for this wonderful forum....
My request:
I have toatally 5 unix servers in which many applications are working
I need to set a trap to identify 0 byte files if any are created proactively.
For example:
find /apps/fresco/ -mtime 1 -size 0c –print >>... (3 Replies)
Discussion started by: ChandruBala73
3 Replies
4. Homework & Coursework Questions
Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!
I am pretty close I think, but stuck. I don't know how to send an email to the user specified on the command line, and I receive an error stating -ge expecting a unary value(lines... (14 Replies)
Discussion started by: polyglot0727
14 Replies
5. UNIX for Dummies Questions & Answers
Hi,
I wanted to find out that in my database server which filesystems are shared storage and which filesystems are local. Like when I use df -k, it shows "filesystem" and "mounted on" but I want to know which one is shared and which one is local.
Please tell me the commands which I can run... (2 Replies)
Discussion started by: kamranjalal
2 Replies
6. AIX
Hi,
I would like to know how to find out disk capacity if it is assigned from the storage as a lun.
as per below command , I am unable to find out disk capacity.
$ bash
bash-3.00$ lspv
hdisk1 0001579a7fa3c086 None
$ lscfg -vl hdisk1
hdisk1 ... (8 Replies)
Discussion started by: manoj.solaris
8 Replies
7. Shell Programming and Scripting
Hi All,
My below shell script is not capturing %used value in the filesystem alert in the subject of the mail alert:
#!/bin/bash
export DBALIST="abc@xyz.com"
df -k /oradata/xyz/archive > dfk.result
archive_capacity=`awk -F" " '{ print $5 }' dfk.result|grep -i %| cut -c 1-4`
if ]
then... (5 Replies)
Discussion started by: a1_win
5 Replies
8. UNIX for Dummies Questions & Answers
Hi experts,
How do i find which are the filesystems which has crossed 90% capacity in solaris box.
thanks
Shaan:) (4 Replies)
Discussion started by: shaan_dmp
4 Replies
9. Shell Programming and Scripting
Hi, Gurus:
I need your help to finish a script that will mount two file systems automatically when saver is reboot or start.
I am working on a new Sun Sparc machine with Solaris 9 on it. This box got two disk. disk one has been partitioned to hold Solaris OS. disk two has been partitioned as... (6 Replies)
Discussion started by: duke0001
6 Replies
10. Filesystems, Disks and Memory
Hi,
In Sun solaris o/s how can i find the memory space available,Swap space.
By giving df command i can get the disc space.
I want RAM space & swap space.
If anybody assist me.that is great.
Thanks (2 Replies)
Discussion started by: Mar1006
2 Replies