Sponsored Content
Operating Systems Solaris metastat error information send to mail script Post 302208777 by incredible on Wednesday 25th of June 2008 01:24:13 AM
Old 06-25-2008
As I've told you, its not tested. You have to make customizations to it . I will see if I get the time
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Shell script to send a mail

Hi , I need to prepare a script which will check my database with specific to particluar table. If the row count exceeds a certain limit, i need to send a mail to a set of Recipients. Being new to unix, please guide me to complete this task. Advance thanks, Sekar. (4 Replies)
Discussion started by: Sekar1
4 Replies

2. Shell Programming and Scripting

Calling SQL script from ksh job and send mail on some error.

Hi, I am trying to call sql script from ksh job with parameters.The parameters passed from ksh job will be used in SELECT query in sql file to SPOOL the data in extract file.My questions are: 1) How to call a sql script from ksh job with parameters? 2) How to use the parameter in sql file to... (1 Reply)
Discussion started by: anil029
1 Replies

3. UNIX for Advanced & Expert Users

need to configure mail setting to send mail to outlook mail server

i have sun machines having solaris 9 & 10 OS . Now i need to send mail from the machines to my outlook account . I have the ip adress of OUTLOOK mail server. Now what are the setting i need to do in solaris machines so that i can use mailx or sendmail. actually i am trying to automate the high... (2 Replies)
Discussion started by: amitranjansahu
2 Replies

4. Shell Programming and Scripting

Help-send mail script

Hi, I have written one script for sending mails with attachment. currently its working for only one recipient. I want to send mails to n number of users by taking user input i.e number of users. Output of current script: Enter how many files : 1 Enter First Name : kiran E-Mail... (2 Replies)
Discussion started by: kiran_j
2 Replies

5. Shell Programming and Scripting

script to send mail !!

Hi Experts.. i have created a table with the fields, empid name mailid 1 raja raja@xy.com and entered the values of all persons who are in that file... i have a .csv file date shift1 shift2 6/6/2011 ram raja Now i want a script that could fetch the data in (input file .csv file) and... (3 Replies)
Discussion started by: cratercrabs
3 Replies

6. Shell Programming and Scripting

Error in send mail command

Hi, I am getting the following error while running send mail command from a shell script? Insufficient disk space; try again later How to handle this error? (1 Reply)
Discussion started by: AhmedLakadkutta
1 Replies

7. Linux

Send-mail: fatal error

Hi guys, i am using the below command to send mail mail -s "HI" abcd@how.com < temp_mail.txt I am getting the below error send-mail: fatal: bad string length 0 < 1: myorigin = My os version is as Linux Help me with ur suggestion guys thank u. (3 Replies)
Discussion started by: mohanalakshmi
3 Replies

8. Shell Programming and Scripting

Need Script to ZIP/SAVE & then DELETE Log file & send a mail conformation for any error

ENVIROMENT Linux: RHEL 6.4 Log Path: /usr/iplanet/servers/https-company/logs Log Format: user.log.03-15-2015 I have log4j log rotation enabled rotating files on a daily basis. The rotated logs are NOT compressed & are taking up too much space. I need a script that will run daily that... (1 Reply)
Discussion started by: admin_job_admin
1 Replies

9. Shell Programming and Scripting

A shell script to run a script which don't get terminated and send a pattern from the output by mail

Hi Guys, I am very new to shell script and I need your help here to write a script. Actually, I have a script abc.sh which don't get terminated itself. So I need to design a script to run this script, save the output to a file, search for a given string in the output and if it exists send those... (11 Replies)
Discussion started by: Sambit Sahu
11 Replies

10. UNIX for Advanced & Expert Users

Client was not authenticated to send anonymous mail during MAIL FROM (in reply to MAIL FROM comm

I am having trouble getting mail to work on a red hat server. At first I was getting this message. Diagnostic-Code: X-Postfix; delivery temporarily suspended: connect to :25: Connection refused Then added the port to my firewall. Then I temporarily turned off selinux. I then copied this file... (1 Reply)
Discussion started by: cokedude
1 Replies
cmx(8)							      System Manager's Manual							    cmx(8)

Name
       cmx - generic communication exerciser

Syntax
       /usr/field/cmx [ -h ] [ -ofile ] [ -tn ] -l line-1 ...

Description
       The  exerciser will write, read, and validate random data and packet lengths on a given communications line.  The line under test must have
       a loopback connector attached to the distribution panel or the cable and the line must be disabled in the file and a non-modem line.   That
       is, the flag must be set to off.

       The exerciser runs until or kill -15 pid is sent to the process.

       A  logfile  is  made  in for you to examine and then remove.  If there are errors listed in the logfile, make sure that you check the file,
       because that is where the driver and kernel error messages are saved.

       You must specify the -l flag followed by the lines to test.  The line-n arguments identify the lines to be tested.  A maximum of  32  lines
       can  be	tested	at  any  one time.  The line-n arguments are specified as names taken from the directory without the letters ``tty''.  For
       example, if the directory lists tty03, the line argument is 03.

       The DEVICES section lists the devices that can be tested.

Restrictions
       If there is a need to run a system exerciser over an NFS link or on a diskless system there are some  restrictions.   For  exercisers  that
       need  to  write into a file system, such as the target file system must be writable by root.  Also the directory, in which any of the exer-
       cisers are executed, must be writable by root because temporary files are written into the current directory.   These  latter  restrictions
       are sometimes difficult to overcome because often NFS file systems are mounted in a way that prevents root from writing into them.  Some of
       the restrictions may be overcome by copying the exerciser to another directory and then executing it.

Options
       -h     Prints help message about this command.

       -ofile Save output diagnostics in file.

       -tn    Run time in minutes (n).	The default is to run until a or kill -15 pid is sent to the process.

Restrictions
       Pseudo devices (those whose first character after tty is p, q, r, s, t, u) cannot be tested.  Neither can lta devices with major #39.

Devices
       Use the command on to find out which tty line corresponds to a device line number.

Examples
       The following example runs the exerciser for 60 minutes on lines 00, 13, 22, and 32.
       % /usr/field/cmx -t60 -l 00 13 22 32
       The following example runs the exerciser on lines 11, 42, 45, and 76 in the background until interrupted by a or kill -15 pid.
       % /usr/field/cmx -l 11 42 45 76 &

See Also
       Guide to System Exercisers

																	    cmx(8)
All times are GMT -4. The time now is 05:52 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy