Sponsored Content
Top Forums UNIX for Beginners Questions & Answers How to get output in mail in actual format? Post 303038368 by Don Cragun on Saturday 31st of August 2019 06:02:04 PM
Old 08-31-2019
If the output you get from the command:
Code:
ps -eo pid,ppid,cmd,%mem,%cpu --sort=-%mem | head

is in the format you want, then the likely cause of your problem is the utility you are using to read the mail that has been sent to you.

What utility (or utilities) are you using to read your mail?

What operating system(s) is(are) running on the system(s) where you read your mail?
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

better format for sending mail

i am using a script to create a file which contains the mail to be sent.in every steo this file grts appended through out the script using several variables.now i want to convert it into html format so that the mail will have better look and feel and the font color and size can be changed. i tried... (3 Replies)
Discussion started by: dr46014
3 Replies

2. Shell Programming and Scripting

mail format problem:

i need to send 2 diff mail in a single script:Below the script #!/bin/ksh echo "enter the number" read num if then mail -s "test" unix@yahoo.com mail -s "test" 9886767000@nma.vodafone.in,9916138003@nma.vodafone.in else echo "test again" fi... (5 Replies)
Discussion started by: ali560045
5 Replies

3. Shell Programming and Scripting

capturing output from top and format output

Hi all, I'd like to capture the output from the 'top' command to monitor my CPU and Mem utilisation.Currently my command isecho date `top -b -n1 | grep -e Cpu -e Mem` I get the output in 3 separate lines.Tue Feb 24 15:00:03 Cpu(s): 3.4% us, 8.5% sy .. .. Mem: 1011480k total, 226928k used, ....... (4 Replies)
Discussion started by: new2ss
4 Replies

4. Shell Programming and Scripting

script to mail monitoring output if required or redirect output to log file

Below script perfectly works, giving below mail output. BUT, I want to make the script mail only if there are any D-Defined/T-Transition/B-Broken State WPARs and also to copy the output generated during monitoring to a temporary log file, which gets cleaned up every week. Need suggestions. ... (4 Replies)
Discussion started by: aix_admin_007
4 Replies

5. Shell Programming and Scripting

Redirect script output to a file and mail the output

Hi Guys, I want to redirect the output of 3 scripts to a file and then mail the output of those three scripts. I used below but it is not working: OFILE=/home/home1/report1 echo "report1 details" > $OFILE =/home/home1/1.sh > $OFILE echo... (7 Replies)
Discussion started by: Vivekit82
7 Replies

6. Shell Programming and Scripting

Script to generate Excel file or to SQL output data to Excel format/tabular format

Hi , i am generating some data by firing sql query with connecting to the database by my solaris box. The below one should be the header line of my excel ,here its coming in separate row. TO_CHAR(C. CURR_EMP_NO ---------- --------------- LST_NM... (6 Replies)
Discussion started by: dani1234
6 Replies

7. Shell Programming and Scripting

Mail Format Issues

Hi All, I 'm trying to find a way to send my contents of a file as a body of email in the format shown below. However, the format of the contents are messed up when I receive the email. ---------------------------------------------------------------------------------------------------------... (2 Replies)
Discussion started by: shash
2 Replies

8. Shell Programming and Scripting

Compare actual files with format

Hi, I have database table let say t_filenames which stores filenames and date_format in two columns. e.g. ABCD_TV_YYYYMMDD.txt YYYYMMDD ABCD_MOUSE_YYYYMMDDHHMISS.txt YYYYMMDDHHMISS Actual files are available in a directory (say /tmp), actual files are with... (2 Replies)
Discussion started by: pointers1234
2 Replies

9. Shell Programming and Scripting

UNIX/Linux - awk - displaying unxpected ! character when viewed in mail; but not in actual file

Greetings Experts, I am on AIX using ksh; I am processing the input files and generating a awk_output.txt file using AWK. By reading that awk_output.txt file, I am building a output.html file which is cat and then fed to /usr/sbin/sendmail .When the shell script is triggered through command... (2 Replies)
Discussion started by: chill3chee
2 Replies

10. Shell Programming and Scripting

To have a mail in tabular format

Hello Guys, developing a monitoring shell script to have my queue depth count over mail . here is the sample input file to the script which has all the queue names 1 : DISPLAY QUEUE(*) WHERE (CURDEPTH GT 0) ZFC8409: Display Queue details. QUEUE(QL.GVR.ATA.CACHE.01) ... (10 Replies)
Discussion started by: wims
10 Replies
COOLMAIL(1)						      General Commands Manual						       COOLMAIL(1)

NAME
coolmail - 3D animated mail notificaion utility SYNOPSIS
coolmail [option ...] DESCRIPTION
Coolmail is a mail notification utility with 3D animated graphics. Coolmail watches your inbox and lets you know when you have mail. Clicking on coolmail can launch your mail reading/writing utility. While your mail utility is open, clicking on coolmail will cause it to check your inbox at that instant, without waiting for the next regular interval. OPTIONS
-e command Use the specified command to launch your mail utility. Command is a string, and should be in quotes if it contains spaces. -f filename Watch filename, instead of the default mail inbox file. -fr n Set the number of frames to generate for each animation to n. Set this to an suit your preference and your machine's graphics per- formance. The default is 15. -h Print some help then exit. -int n | -update n Check your mail inbox at n-second intervals. The default is 30 seconds. -mono Run in monochrome mode. -once Ring bell when new mail is first detected, but not when more new mail is detected. -af filename Specifies the audio file to use rather than the standard system beep. -vol n Value between 0 and 100 for the volume setting for both the system beep and the sound file. The default is 50. -v Print version and inbox path. Coolmail also accepts the standard X Toolkit options, such as -geometry, etc. EXAMPLES
coolmail -e "emacs -f rmail" -int 20 Tells coolmail to check the inbox every 20 seconds, and launch the shell command, emacs -f rmail, when the user clicks on coolmail. X DEFAULTS
This program understands the core resource names and classes as well as: frameCount (class FrameCount) Specifies the number of frames to be generated per animation. inbox (class Inbox) Specifies the mail inbox that coolmail will watch. mailCommand (class MailCommand) Specifies the command that should be launched to read and write mail. monochrome (class Monochrome) A Boolean value that enables monochrome mode when true. soundFile (class SoundFile) Specifies the audio file to use rather than the standard system beep. volume (class Volume) Value between 0 and 100 for the volume setting for both the system beep and the sound file. COPYRIGHT
Copyright 1994 by Byron C. Darrah (darrah@kaiwan.com) AUTHORS
Byron C. Darrah (darrah@kaiwan.com) Sound support added by Randall K. Sharpe (rsharpe@ncsa.uiuc.edu) SEE ALSO
X(1), xrdb(1) Coolmail 1.3 COOLMAIL(1)
All times are GMT -4. The time now is 10:49 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy