I will explain it in a better way. Linux is the operating system and using bash shell.
So the requirement is as below:
We have a script called testit_tas.sh to test the servers which don't get terminated and we pass CTRL+C to kill it everytime. Below is the content of the script:
So when we run this script (./testit_tas.sh) we get this below output on the terminal and it don't get completed. So we kill it manually
So from above output, we need to search the lines for 5001=-46<ETX> and capture these lines. -46 is error. So we want to capture this and alert only these lines over email to specific people.
Once this script is written, we will schedule it in crontab which will run 3 times to do this check.
Also, I know that to abort the script we can find the process id and kill it but am not sure how to include this.
Hi,
I need a shell script which runs in the backround for all the 24 hours and send a mail to us regarding the output of the prstat command when the load average increase above certain percent.
kindly help me on this...... (1 Reply)
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)
how to run a script using cron job and send the output as attachment via e-mail using unix. please help me.
how my cron job entry should be?
As of now my cron job entry is to run the script at specific time,
15 03 * * * /path/sample.sh | mail -s "Logs" email_id
In the above entry, what... (8 Replies)
Thanks again for helping me out.
I was wondering if anyone else has encountered this issue.
I have a SQL script that produces a list -however we are only interested in that list if the length is not zero
Here is the sql file named dailyBalance.sql
select * from Balance where... (1 Reply)
Hi Guys,
I am not Good at scripting.
I need to write a script such that if output of command shows the particular word in output then send mail to abc@compay.com
-bash-3.2$ ps -ef | grep bpbkar
root 6040 1 0 13:05:19 ? 0:00 bpbkar -r 2678400 -ru root -dt 47395 -to 0... (20 Replies)
HI Guys,
I am writing one shell script to send the mail alert to some email id's if the file not modified in last 10 mins but its not working, I believe MTIME is null string is wrong . can you please assist me on this.
script :-
filename="abc.txt"
echo "Filename is $filename"... (1 Reply)
Hi all, I'm new to shell script
i wrote some shell script for my colleague, everyone is fine,except on user
we are using VNC viewer to work
and there are some script start with shebang #! /bin/csh
there is an user will not terminate after running the script even if a hello world
i need... (5 Replies)
Hello Team .
I am working a health check script ( bash) to run on linux server ( RedHat) and requirements are
1. The o/p of script need to be send to two diff files . I am testing with tee command . But I am not successful yet , any recommendations if that is the right approach ?
2. The same... (2 Replies)
Discussion started by: Varja
2 Replies
LEARN ABOUT DEBIAN
dssi_osc_send
dssi_osc_send(1) General Commands Manual dssi_osc_send(1)NAME
dssi_osc_send - send OSC messages to DSSI applications.
SYNOPSIS
dssi_osc_send <option> <OSC URL> <values>
DESCRIPTION
dssi_osc_send sends DSSI OSC methods to DSSI applications. dssi_osc_send is typically used to control DSSI hosts (possibly for scripted
operation), or to test DSSI user interfaces.
OPTIONS -c Send a `control' message. Requires two values to be supplied in the <values> section: control port and value. For example, to set
control port 1 to 0.1:
dssi_osc_send -c <OSC URL> 1 0.1
-p Send a `program' message. Requires two values to be supplied in the <values> section: bank and program number. For example, to
select bank 0 program number 7:
dssi_osc_send -p <OSC URL> 0 7
-m Send `midi' message. Requires four numbers to be supplied in the <values> section. For example, to send a note on, middle C,
velocity 64:
dssi_osc_send -m <OSC URL> 0 144 60 64
-C Send a `configure' message. The <values> are the key and value pair. For example, to send key `load' and value `/tmp/patches.pat':
dssi_osc_send -C <OSC URL> load /tmp/patches.pat
-s Send a `show' message.
dssi_osc_send -s <OSC URL>
-h Send a `hide' message.
dssi_osc_send -h <OSC URL>
-q Send a `quit' message.
dssi_osc_send -q <OSC URL>
-e Send a `exiting' message.
dssi_osc_send -e <OSC URL>
<OSC URL>
The URL to connect to. For example:
osc.udp://localhost:19383/dssi/test.1
osc.udp://my.host.org:10886/dssi/xsynth-dssi/Xsynth/chan00
SEE ALSO dssi_osc_update(1).
AUTHOR
This manual page was originally created by Mark Hymers from the help text of the application, for the Debian project (but may be freely
used by others).
January 5th, 2009 dssi_osc_send(1)