Sponsored Content
Top Forums Shell Programming and Scripting Sending an email if system disk space is low Post 302900672 by taf130 on Thursday 8th of May 2014 05:40:11 AM
Old 05-08-2014
And it works Smilie
Thanks for the mastery.
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

sendmail[5129]: NOQUEUE: low on space

sendmail: NOQUEUE: low on space (have 0, SMTP-DAEMON needs 101 in /var/spool/mqueue) We're getting this message on our Solaris (Apache/1.3.19) server. Can anyone give me an idea of what to look at? I'd really appreciate it! (2 Replies)
Discussion started by: sitemouse
2 Replies

2. UNIX for Dummies Questions & Answers

Swap space is LOW

I checked the server and issued various command to investigated. but from teh output of swap -s and swap -l, i received the following swap -l swapfile dev swaplo blocks free /dev/vx/dsk/swapvol 197,7 16 4194800 4127696 /dev/vx/dsk/swap2 197,8 16 12582896... (3 Replies)
Discussion started by: TRUEST
3 Replies

3. UNIX for Dummies Questions & Answers

Send Mail NOQUEUE low on space

Need help to resolve this message "NOQUEUE: low on space (have 18, SMTP-DAEMON needs 101 in /var/spool/mqueue)" Attached capture file from server HPUX 10.2 Ace root@PS01 : Aug 13 18:27:30 SANG last message repeated 7 times Aug 13 18:27:45 PS01 sendmail: NOQUEUE: low on space (have 18,... (2 Replies)
Discussion started by: real-chess
2 Replies

4. Programming

How to get free disk space size in C/C++ program( Solaris system)

How to get free disk space size in C/C++ program( Solaris system)? Is there any standard function or system function? Just like "df" or "getdfree" in Linux. (4 Replies)
Discussion started by: yidu
4 Replies

5. Solaris

Sending email from solaris 9 system

hi i read threads for sending email to public mail ids like gmail.com, yahoo.com from solaris 9 system but i could not succeed. can some body help me out. I have tried following method for DNS config. touch /etc/resolv.conf vi /etc/resolv.conf nameserver 4.2.2.2 nameserver... (5 Replies)
Discussion started by: aemunathan
5 Replies

6. Shell Programming and Scripting

Check and compare disk space and email it

I am very new to Linux and learning to script. This is for one of my servers at work that I have to keep track off as far as disk space and how it is used. I have tried to go line by line but little things keep chewing me up. I would appreciate any and all help or advice, and Mutt is installed on... (3 Replies)
Discussion started by: sgtjkj
3 Replies

7. AIX

High Runqueue (R) LOW CPU LOW I/O Low Network Low memory usage

Hello All I have a system running AIX 61 shared uncapped partition (with 11 physical processors, 24 Virtual 72GB of Memory) . The output from NMON, vmstat show a high run queue (60+) for continous periods of time intervals, but NO paging, relatively low I/o (6000) , CPU % is 40, Low network.... (9 Replies)
Discussion started by: IL-Malti
9 Replies

8. Shell Programming and Scripting

Send Disk Space Usage Status via email

Hi Guys, Is there any way I can write a script that sends DISK SPACE USAGE STATUS via email once a week? Thanks, (5 Replies)
Discussion started by: g4v1n
5 Replies

9. Shell Programming and Scripting

Generate disk space usage email alert

hi all members I have a shell script to generate disk space usage email alert if threshold is more than 80 %, now the requirement changed to keep sending alert emails for every 5% incremental usage ........ Any help would be greatly appreciated. ex - 80% , 85% ,90%,95%,100% we should get an... (6 Replies)
Discussion started by: anil529
6 Replies
volrootmir(8)						      System Manager's Manual						     volrootmir(8)

NAME
volrootmir - Mirror areas necessary for booting to a new disk SYNOPSIS
/usr/sbin/volrootmir [-a] [nconfig=count] target_disk [swap=target_partition] OPTIONS
Specifies that all volumes on the system disk be mirrored, not just the root and swap volumes, rootvol and swapvol. DESCRIPTION
The volrootmir script causes a mirror copy of areas of the root disk involved in booting to be made on the specified target disk. When used without the -a option, volrootmir adds mirrors of the root and swap volumes and allocates them on the new disk. In addition, all disk regions required for booting are set up and partitions for the new volume mirrors are created. When used with the -a option, volrootmir mirrors all in-use partitions on the system disk. To mirror a swap volume that is on a separate disk from the root volume, the swap attribute must be used to specify a separate target for the swap mirror. The target disk(s) must be at least as large as the sum of the sizes of rootvol and swapvol. Also, the physical disk should not have any disk partition in use. This script can be called from the voldiskadm menus by choosing the Mirror volumes on a disk operation. ATTRIBUTES
Specifies the number of log copies and copies of the configuration database, for example, nconfig=2. Specifies that the swap volume, swapvol, be mirrored on a separate disk, as specified by target_partition. EXAMPLES
The following command mirrors the rootvol and swapvol volumes onto the target disk, dsk3. This command will fail if swapvol is on a differ- ent disk from rootvol. # volrootmir dsk3 The following command mirrors rootvol, swapvol, and any other volumes on the root disk onto the target disk, dsk3. This command will fail if swapvol is on a different disk from rootvol. # volrootmir -a dsk3 The following command mirrors rootvol on disk dsk3, swapvol onto partition dsk7d, and any other volumes on the root disk onto disk dsk3. This command will fail if swapvol is on the same disk as rootvol. # volrootmir -a dsk3 swap=dsk7d The following command mirrors rootvol onto disk dsk3 and swapvol onto partition dsk7d. This command will fail if swapvol is on the same disk as rootvol. # volrootmir dsk3 swap=dsk7d SEE ALSO
volintro(8), voldiskadm(8) volrootmir(8)
All times are GMT -4. The time now is 10:15 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy