Sponsored Content
Top Forums Shell Programming and Scripting Using top command to email if process is exceeding 25% and sending an email alert if so Post 302603936 by Corona688 on Friday 2nd of March 2012 10:35:19 AM
Old 03-02-2012
This is why I asked what your system is, and why I asked what your ps aux looks like. Without knowing that, we're bound to suggest things that could never work for you.

Though, I think you made a typo somewhere when typing in the awk statement. When typed in letter-for-letter, there's absolutely nothing wrong with it.
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Sending email

I have an Solaris 8 machine running a managment application. One of the features of this application is to configure alarm forwarding to an email undress. When i configured the application to do that, it asked me only about the recipient email address. Quesiton: how to configure my Solaris 8... (7 Replies)
Discussion started by: bcheaib
7 Replies

2. UNIX for Dummies Questions & Answers

sending email

hi, is there any possiblity to send email from the command prompt, for eg i want to send alert to any mail id like /data/logs is 80% to my hotmail account , xxx@hotmail.com is this really possible,, if not, then what are the prerequistes need to do this (1 Reply)
Discussion started by: vasikaran
1 Replies

3. Shell Programming and Scripting

Sending find command results to email

This is probably simple so forgive me... I just want to find all files in a folder created within the last 10 minutes... This is easy: # find /home/folder -cmin -10 If the find command locates any files created in the last ten minutes I want it to send an email alert. I just want to... (3 Replies)
Discussion started by: gardellap
3 Replies

4. Shell Programming and Scripting

Sending an email with more than one files

Hi, I would like to send an email with more than one attachement. I am using uuencode. I want to achive by suing uuencode. Also please let me know other ways. -Thambi (7 Replies)
Discussion started by: thambi
7 Replies

5. UNIX for Dummies Questions & Answers

Sending email attachments

Hello, I've search the forum, but I cannot find an answer to my specific question. I'm trying to send some files to my professor. Upon his request, I used the following: tar -cvf vh.tar vh_part1.c vh_part2.c vh_part3.c vh_part4.c vh_sample_run15.txt uuencode vh.tar vh.tar > proj1 mail... (2 Replies)
Discussion started by: venush
2 Replies

6. AIX

email alerts for memory or cpu exceeding thresholds

Hi Guys, I hope this is an easy question: I need some kind of script or an idea how I can convince syslog to send an email to root or someone else once cpu usage exceeds 95% or the memory consumption (maybe via AVM value times 4k) exceeds 85% of my real memory on any of my 700 lpars. We're... (4 Replies)
Discussion started by: zxmaus
4 Replies

7. Shell Programming and Scripting

sending email as background process

Hi All, Solaris Bash v3x I have a script that accepts an error code, and if the error code is not 0 then an email is sent using mailx to details the error. I want to be able to implement the functiuonlity whereby i can send the email in a background process so the script can continue with... (3 Replies)
Discussion started by: satnamx
3 Replies

8. Linux

sending an email

I have used an already-built ActiveX control to send email from my asp web pages. One of the parameters I fill is FromName which defines the tittle the recipient will see in the From entrance in his Inbox. Now Iīm trying to use mail to send an email from a Shell but I havenīt found the... (1 Reply)
Discussion started by: RandomAccess
1 Replies

9. Shell Programming and Scripting

sending output of command via email

Hi all i want to send the output of a command by email, i have done this <comand> | mail -s <subject> <email address> which works well, but if the command retunrs noting then i just get a blank email, is there a way to stop this thanks Adam (4 Replies)
Discussion started by: ab52
4 Replies
yodlletter(7)						    Your Own Document Language						     yodlletter(7)

NAME
yodlletter - Yodl's `letter' document type SYNOPSIS
letter(language)(date)(subject)(opening)(salutation)(author) The letter document type was implemented to write LaTeX letters. DESCRIPTION
The letter document type was specifically implemented to write LaTeX letters, using LaTeX's brief.cls document class. It is available only for the LaTeX (yodl2latex(1)) converter. This manual page briefly describes Yodl's letter document type. This document type is specific enough that it warrants a separate man- page. letter documents do not allow you to use the `standard' sectioning commands (e.g., sect() and subsect()). You can, however, use macros that are normally used within such sections, such as description(), itemization(), bf() or em(). Several specific macros, to be used in the preamble, are available for the letter document type. They are: o AfourEnlarged(): Enlarges the usable height of A4 paper by 2 cm.: the top margin is reduced by 2 cm. o letteraddenda(type)(value): Adds an addendum at the end of a letter. type should be bijlagen (i.e., appendices), cc or ps. Use nl() within the value section if multiple addenda of a certain type are used. o letteradmin(yourdate)(yourref): Puts yourletterfrom and yourreference elements in the letter. If left empty, two dashes are inserted. o letterfootitem(name)(value): Puts a footer at the bottom of letter-pages. Up to three will usually fit. For example, o letterreplyto(name)(address)(zip city): Defines the `reply to' address. o letterto(element): Adds element as an additional line to the address of the addressee. Use one element for each line of the addressee's address. Up to five lines will usually fit. A sixth line may be squeezed in, if necessary. The letter) macro itself requires the following arguments: o language: select english, dutch, or another language supported by the babel.sty style; o date: the letter's date. Use your own date-convention. The text specified here will be used as the letter's date; o subject: a short indication as to why you wrote the letter o opening: the letter's opening, e.g., Dear Linus,; o salutation: the letter's closing phrase, e.g., Kind regards,; o author: the name of the letter's author. nl() macros can be used here, but the brief class will also restrict the width of the author-lines by itself. SEE ALSO
latex(1), yodlstriproff(1), yodl(1), yodlbuiltins(7), yodlconverters(1), yodlletter(7), yodlmacros(7), yodlmanpage(7), yodlpost(1), yodlverbinsert(1). BUGS
- AUTHOR
Frank B. Brokken (f.b.brokken@rug.nl), yodl_3.00.0.tar.gz 1996-2010 yodlletter(7)
All times are GMT -4. The time now is 09:11 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy