Sponsored Content
Full Discussion: Script to email status
Top Forums Shell Programming and Scripting Script to email status Post 302858651 by khchong on Tuesday 1st of October 2013 04:24:15 AM
Old 10-01-2013
Hi,
Im using hpux 11.31
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

awk to find the status and send an email

Hi, I have a datafile which has the following data and it can have much more records. The data set is as follows: ISA~00~ ~00~ ~ZZ~F159B ~ZZ~U1CAD ~051215~184 3~U~00200~000011432~0~P~< GS~FA~TC11A~U1CAD~051215~1843~000011432~X~002002 ST~997~0001... (6 Replies)
Discussion started by: isingh786
6 Replies

2. Shell Programming and Scripting

check the status and send an email with status

Hi, We have a text file which has the following data. ISA~00~ ~00~ ~ZZ~VISTN ~ZZ~U1CAD ~051227~183 7~U~00200~000011258~0~P~< GS~FA~EE05J~U1CAD~051227~1831~000011258~X~002002 ST~997~0001 AK1~SH~247 AK2~856~2470001 AK5~A AK2~856~2470002 AK5~A... (3 Replies)
Discussion started by: isingh786
3 Replies

3. Shell Programming and Scripting

Script to send email after comparing the folder permissions to a certain permission & send email

Hello , I am trying to write a unix shell script to compare folder permission to say drwxr-x-wx and then send an email to my id in case the folders don't have the drwxr-x-wx permissions set for them . I have been trying to come up with a script for few days now , pls help me:( (2 Replies)
Discussion started by: nairshar
2 Replies

4. Shell Programming and Scripting

Help with Email Status shell script

I have written a bash script to to sort the data from logs i need some help in printing the outputs , i dont have much ideas in bah scripting. Sample script ----------------------- #!/bin/bash a=`date | cut -d " " -f2,2,3` cat /var/log/maillog |grep "$a" |grep -E -e 'deferred|bounced'... (9 Replies)
Discussion started by: unimaxlin
9 Replies

5. Shell Programming and Scripting

Help....script check status if see something then send email

autorep -m bogus Machine Name Max Load Current Load Factor O/S Status ___________ ________ ___________ ______ ________ ______ bogus --- --- 1.00 Sys Agent Online Status ______ Online Offline Missing Unqualified The "Status" always "Online". I like create a script execute run... (6 Replies)
Discussion started by: dotran
6 Replies

6. Shell Programming and Scripting

Shell Script for continuously checking status of a another script running in background, and immedia

Hi, I want to write a script which continuously checking status of a script running in background by nohup command. And if same script is not running then immediately start the script...please help.. i am using below command to run script nohup system_traps.sh & but in some... (9 Replies)
Discussion started by: ketanraut
9 Replies

7. Shell Programming and Scripting

Script will keep checking running status of another script and also restart called script at night

I am using blow script :-- #!/bin/bash FIND=$(ps -elf | grep "snmp_trap.sh" | grep -v grep) #check snmp_trap.sh is running or not if then # echo "process found" exit 0; else echo "process not found" exec /home/Ketan_r /snmp_trap.sh 2>&1 & disown -h ... (1 Reply)
Discussion started by: ketanraut
1 Replies

8. Shell Programming and Scripting

Need output of script on screen and file with correct return status of the called script.

Hi, I am trying to capture logs of the script in the file as well as on the screen. I have used exec and tee command for this. While using exec command I am getting the correct output in the file but, script output is not getting displayed on the screen as it get executed. Below is my sample... (14 Replies)
Discussion started by: Prathmesh
14 Replies

9. 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

10. UNIX for Beginners Questions & Answers

Automation script for email alert when a job get complete with status successful.

Guyz, Please let me know about script which is to be sending an automatic email to particular mail id's when a monotoring job get complete with status successful. (1 Reply)
Discussion started by: Rehan Ahmad
1 Replies
hpux.efi(1M)															      hpux.efi(1M)

NAME
hpux.efi - HP-UX bootstrap for Itanium-based systems SYNOPSIS
DESCRIPTION
is the HP-UX-specific operating system loader utility for bootstrap. It is a native efi(4) application that can be run on the Itanium- based platform. supports the following options: Display the release and version numbers of the utility. Boot the system in tunable maintenance mode, also known as "failsafe boot" mode. This option will disregard the tunable settings and module settings in the kernel configuration, and boot with known good settings instead. Boot the system in VxVM maintenance mode, configure only the root volume, and then enter single user mode. The following commands can be given interactively from the keyboard or provided in an efi(4) file. Load a kernel object file from an HP-UX file system and transfer control to the loaded image. (Note, the operation is position-dependent). Currently, is limited to disk for booting. file can be the name of a kernel object file or the name of a kernel configuration direc- tory. The following commands can given interactively from the keyboard only after is launched. List the contents of HP-UX directories in detail. List the contents of HP-UX directories. Display the contents of the file. Change the contents of the file to string. boot Operation The operation loads an ELF kernel object file from supported HP-UX file system (HFS, VxFS). It then transfers control to the loaded image. In addition to the kernel object file, also loads persistent system-specific files from the directory and kernel configuration-specific files from the directory during operation. always assumes (the boot directory) as the current directory. For example, would actually yield: Along with this information, gives the sizes of the and segments before transferring control to it. The operation accepts several options. Note that options be specified positionally as shown in the syntax statement in the Options for the operations are as follows: Set the initial run-level for when booting the system. This run-level overrides any run-level specified in an entry in See init(1M) and inittab(4). variable=value Set the specified variable to the specified value. (No whitespace is allowed.) If variable is a kernel tunable parameter, this sets the value of that tunable, overriding the value in the kernel con- figuration being booted. value must be a decimal integer or a hexadecimal integer (with a prefix). can load only ELF object files. ll and ls Operations The and operations list the contents of the HP-UX directory. In addition to filenames, displays size and date information when used on supported HP-UX filesystems. For VxVM disks, only boot volume information can be displayed. To display boot volume information, either a relative path to or an abso- lute path can be used. setauto Operation The operation overwrites the contents of the file, with the string specified. showauto Operation The operation displays the contents of the file, See in the section. EXAMPLES
Automatic Boot This is an overview of HP-UX automatic boot processes on Itanium-based systems. When power is applied to the HP-UX system processor, or the system button is pressed, Itanium-based system firmware code is executed to verify hardware and general system integrity (see boot(1M)). After initializing the hardware, the EFI is launched. The EFI gives the user the option to automatically start any EFI appli- cation. After is launched by the EFI it looks for an file and uses its content for the boot string. Then it gives the user the option to override the sequence by pressing any key: If does not detect a key press, it initiates the sequence using the string. displays messages similar to the following on the console: If successfully locates the kernel object file, it displays the progress of loading each sections and the symbol table of the object file. Then it displays the progress of loading system- and kernel configuration-specific directories. Finally, displays the complete path to the kernel object file loaded and the size, size, and size of the load image before control is passed to the image. The loaded image then displays numerous configuration and status messages. Interactive Boot To use interactively, the user must interrupt the autoboot sequence by pressing a key or removing the file. Then interactively prompts for commands. SEE ALSO
boot(1M), hpux(1M), init(1M), efi(4), inittab(4). Itanium(R)-based Systems Only hpux.efi(1M)
All times are GMT -4. The time now is 01:23 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy