Mailing in unix


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Mailing in unix
# 1  
Old 02-06-2011
Mailing in unix

is there any option to mail the value from top command directly to the user.. i want the value of cpu usage from six different servers to be send in a single mail..

thanks,
Arun ManasSmilie
# 2  
Old 02-09-2011
do you really need to use top? some version of top have a batch option but if all you want is cpu usage mail the output of the uptime command.
# 3  
Old 02-10-2011
hi Rizzo,

this uptime command doesnt pick vlaue from top command.. it gives some other values????Smilie
# 4  
Old 02-10-2011
If I had to choose between "top" or "uptime" I'd choose unix "uptime" every time.

There are umpteen versions of "top" and you can get some ridiculous statistics from a 32-bit "top" on a system fitted with more than 2Gb memory.

Last edited by methyl; 02-10-2011 at 07:29 PM..
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Need syntax for mailing in UNIX by using html file as body and along with attachment

Hi All, I need a syntax for mailing in unix by using html code file output as body and along with attachment (without using mutt command) HTML code file : html1.txt Attachment : attach1.txt I was using the below codes but they are not working. ( cat html1.txt ; uuencode attach1.txt... (4 Replies)
Discussion started by: Rokkesh
4 Replies

2. UNIX for Dummies Questions & Answers

Mailing file from UNIX/bash

I have a file that I want to mail out. However, I cannot get the date to print on it. I've tried the following: /usr/bin/mail -s "Lists on `date`" myname@company.com</tmp/list /usr/bin/mail -s "Lists on $(date)" myname@compancy.com</tmp/list $subj="Lists on $(date)" /usr/bin/mail -s... (3 Replies)
Discussion started by: newbie2010
3 Replies

3. UNIX for Advanced & Expert Users

Regarding mailing of logs

Hi Folks, I have an application which logs get continuously refreshed and made after every 1 second , I want that those logs get mailed to me at my email id sara@somewhere.com The location is cd /var/log/abc/log Please advise the command so that I can mail abc.log at my mailid inbox... (2 Replies)
Discussion started by: SankalpS
2 Replies

4. UNIX for Dummies Questions & Answers

Regarding mailing of logs

Hi Folks , I have one query I traverse to a location where logs are being made daily, Now I want that a particular log in that logs directory to be get mailed to me automatically at a particular time on daily basis at my mail id, Please advise the command for that.. for ex the directory is... (7 Replies)
Discussion started by: SankalpS
7 Replies

5. Shell Programming and Scripting

Mailing Script

Hi, I am totally New to This Scripting Area.We have developed some reports in Bo and User need those reports to be sent through Unix Server (SFTP). Can any one provide me script for transfering File from one location to other with the requirement like if that file fails to reach destination... (4 Replies)
Discussion started by: Sashanth_S
4 Replies

6. Shell Programming and Scripting

mailing problem in unix

I have a mailing problem in UNIX.... MAILT="$1" MAILTO=`echo $MAILT | tr ';' ','` CONTENT="/var/www/html/notifier/mailnotify_ccdb.html" SUBJECT="$2" CC="man@abc.com" BCC="ant@abc.com" ( echo "To : ${MAILTO}" echo "Cc : ${CC}" echo "Subject: $SUBJECT" echo "MIME-Version: 1.0" ... (3 Replies)
Discussion started by: rdhanek
3 Replies

7. Shell Programming and Scripting

Mailing script

Hi, I have a file lets say FILE1. FILE1 ------ name,age charlie,25 harry,29 david,32 Pls help me writing a mailing script.... which will mail the content of file in the body of the mail & it will look something like below in two columns. name age charlie 25 harry 29... (1 Reply)
Discussion started by: 46019
1 Replies

8. Shell Programming and Scripting

Mailing an attachment

Hi, I need to compress (zip) a flat file and mail the same as an attachment. I had tried the following piece of code. But when i open the attachment in mail, the data is incorrect (displays all junk characters). tar cf abc.tar abc.txt compress abc.tar uuencode abc.tar.Z abc1.wri | mailx -s... (0 Replies)
Discussion started by: gayath3
0 Replies

9. UNIX for Dummies Questions & Answers

mailing from unix -> exchange

Hello, I want to mail from Unix 4.3 (on an RS/6000) to my Microsoft exchange server (5.5). When I trie : mail -v erikr@domain.nl < /directory/file I get the following error: ^Cserverone:/etc >WARNING: The local host name (serverone) does not have a domain; fix$jnconfig ... (7 Replies)
Discussion started by: Erik Rooijmans
7 Replies

10. UNIX for Advanced & Expert Users

Mailing thru UNIX shell script

Hi, I need to send an email from an UNIX shell script along with an attachment. I am working on an HP-UX 11.00 system. The only mailing program which provides adding an attachment to a mail is "pine". However pine is not installed on my system and I cannot install it too due to the server being a... (2 Replies)
Discussion started by: navin
2 Replies
Login or Register to Ask a Question