What are all the things that should be configured in order to send a mail from Unix box.
An eg. program of sending a mail will help me a lot!!!!!!
Thanks in advance
-Om (5 Replies)
Hi
I want to send a mail (to my id like abc@xyz.com) from a shell script running on HP Ux.
Would like to include text from a file or include the file as attachment, either ways.
Thanks
Sidhu (6 Replies)
Please help me in writing the script for sending an attachment through email.(For example my text file name is :abc.txt and it is in directory d:/abc) (1 Reply)
i'm trying to find a way to monitor the CPU/Memory status of a solaris station using vmstat. I like to write a small script to periodically run vmstat and store the output. Can anyone show me how (preferrably in C++ if possible)? Thanks in advance. (6 Replies)
hi I need a shell script which runs perpetually in background and monitors different aspects of different users on different files and their usages
for example say there r 3 users
so i want when they log in i.e. their log in time and their file access, modify and change log of each file of a... (3 Replies)
Hi,
I have shell script which checks the filesystem check but does not send the mail. I might be missing something very simple.. could you please help?
#!/bin/sh
_servers="machine name"
_out="/tmp/output.$$"
_email="me@there.com"
_sub="Disk Space Report $(date)"
_mail=/usr/bin/mail... (5 Replies)
Hello All,
I m trying to send mail from my unix script,
I have used the below command
mailx -s 'hi' email address < temp.txt
It is not giving me any error,but I couldn't receive the mail
Can you please help me.
Many Thanks,
Pragyan (6 Replies)
I am in need of a script that will send out emails while going through a NAT. What I have that works is as follows:
display_remote_IP | sort | uniq | while read i
do
FOUND=0
for IP in `echo $ACCEPTABLEIP`
do
if ; then
FOUND=1... (2 Replies)
hi all,
needed a script to send a notfication mail if the specified folder had the copy of the files that are older than 15 days
i.ee for example
my folder name is SAi
and the files are as follows
sai.txt
copyofsai.txt
copyofcopyofsai.txt
hemanth.txt
copyofcopyofhemanth.txt... (4 Replies)
Discussion started by: hemanthsaikumar
4 Replies
LEARN ABOUT CENTOS
trace-cmd
TRACE-CMD(1)TRACE-CMD(1)NAME
trace-cmd - interacts with Ftrace Linux kernel internal tracer
SYNOPSIS
trace-cmd COMMAND [OPTIONS]
DESCRIPTION
The trace-cmd(1) command interacts with the Ftrace tracer that is built inside the Linux kernel. It interfaces with the Ftrace specific
files found in the debugfs file system under the tracing directory. A COMMAND must be specified to tell trace-cmd what to do.
COMMANDS
record - record a live trace and write a trace.dat file to the
local disk or to the network.
report - reads a trace.dat file and converts the binary data to a
ASCII text readable format.
hist - show a histogram of the events.
options - list the plugin options that are available to *report*
start - start the tracing without recording to a trace.dat file.
stop - stop tracing (only disables recording, overhead of tracer
is still in effect)
extract - extract the data from the kernel buffer and create a trace.dat
file.
reset - disables all tracing and gives back the system performance.
(clears all data from the kernel buffers)
split - splits a trace.dat file into smaller files.
list - list the available plugins or events that can be recorded.
listen - open up a port to listen for remote tracing connections.
restore - restore the data files of a crashed run of trace-cmd record
stack - run and display the stack tracer
check-events - parse format strings for all trace events and return
whether all formats are parseable
OPTIONS -h, --help
Display the help text.
Other options see the man page for the corresponding command.
SEE ALSO trace-cmd-record(1), trace-cmd-report(1), trace-cmd-hist(1), trace-cmd-start(1), trace-cmd-stop(1), trace-cmd-extract(1),
trace-cmd-reset(1), trace-cmd-restore(1), trace-cmd-stack(1), trace-cmd-split(1), trace-cmd-list(1), trace-cmd-listen(1), trace-cmd.dat(5),
trace-cmd-check-events(1)AUTHOR
Written by Steven Rostedt, <rostedt@goodmis.org[1]>
RESOURCES
git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/trace-cmd.git
COPYING
Copyright (C) 2010 Red Hat, Inc. Free use of this software is granted under the terms of the GNU Public License (GPL).
NOTES
1. rostedt@goodmis.org
mailto:rostedt@goodmis.org
06/11/2014 TRACE-CMD(1)