03-01-2011
Thanks
Ok, thank you for not just writing code and bye bye
Really thanks
8 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi All,
I have requirement. I am running a job every 30mins. before starting the process, i need to check the process, if the process is still running then i need not trigger the process again, if it is not running then trigger the process again. I am using cron to trigger the shell script. Can... (7 Replies)
Discussion started by: srinivas_paluku
7 Replies
2. AIX
Dears all
i have an AIX box in which i am facing a problem with a process as below:
/usr/dt/bin/dtexec -open 0 -ttprocid
and each time i am killing this process with "kill -9" then it run again after a while.
any ideas or solutions will be appreciated. (13 Replies)
Discussion started by: TheEngineer
13 Replies
3. Shell Programming and Scripting
Hi
I have a script, which i ran in background, can someone please help in stopping this.
i gave this command:
ksh abc.ksh &
this script sends me a mail every 30 seconds. i have deleted the script but still i am getting the mails. can some one please help me stopping dese.
... (3 Replies)
Discussion started by: Prateek007
3 Replies
4. Shell Programming and Scripting
Hi there,
I have written a script to check daily process,
each script is in a different directory.
Now the first process is running fine, when it goes to the next directory the process doesn't executes.
cd result/logs
ref=month_1888.log
echo $ref>> $logfile
cd /max/tot/first... (3 Replies)
Discussion started by: NehaKrish
3 Replies
5. UNIX for Advanced & Expert Users
Dear Sir,
I am using CentOS-5.2(64-bit) as an server side OS in a cluster with 32 slaves+1 Master. My question is, after compiling a file with ifort, I am suppose to get a executable(say a.out). I want my users to do ssh slave.local and then do ./a.out
But is it possible to restrict... (0 Replies)
Discussion started by: snbanerjee
0 Replies
6. UNIX for Dummies Questions & Answers
I have the following log file running since yesterday and its consuming so much of the disk space.
-rw-rw-r-- 1 dev dba 4543237120 Nov 10 09:00 load_run_file1_0.1111091224.lg
How do i kill this process. I don't have any idea of stopping this. Any help would be really appreciated.
... (3 Replies)
Discussion started by: bobby1015
3 Replies
7. Shell Programming and Scripting
Hi,
I am running a schedular script which will check for a specific time and do the job. I wanted to run this continuously. Meaning even after the if condition is true and it executes the job, it should start running again non stop.
I am using below script
#!/bin/sh
start:
while true
do... (10 Replies)
Discussion started by: sandeepcm
10 Replies
8. Shell Programming and Scripting
Hello,
I am trying to make a bash script, I tested nohup but it did not help me.
My code is:
ffmpeg -i $input_url -c:v copy -c:a copy -listen 1 -f mpegts http://localhost:port/live/test
When I open it in VLC, it starts feeding my screen and I see bitrate values.
When I stop watching it,... (4 Replies)
Discussion started by: baris35
4 Replies
LEARN ABOUT DEBIAN
ns_adpregisterparser
Ns_Adp(3aolserver) AOLserver Library Procedures Ns_Adp(3aolserver)
__________________________________________________________________________________________________________________________________________________
NAME
Ns_AdpRegisterParser, Ns_AdpRequest - Create and use ADP parsers
SYNOPSIS
#include "ns.h"
int
Ns_AdpRegisterParser(char *extension, Ns_AdpParserProc *newParserProc)
int
Ns_AdpRequest(arg, arg)
_________________________________________________________________
DESCRIPTION
These functions register new ADP parsers and run ADP requests.
Ns_AdpRegisterParser(extension, newParserProc)
Registers a new, named ADP parser procedure with the name given in extension. You can tie a file extension to a particular named
parser in the nsd.tcl file. The newParserProc will be called when an ADP with the associated file extension needs to be parsed. If a
file extension is registered as an ADP in the nsd.tcl but no parser is associated with that file extension, the default ADP parser
is used.
The newParserProc must accept two arguments:
typedef void (Ns_AdpParserProc)(Ns_DString *out, char *in);
The ADP input is pointed to by in. Your parser must process the content of in and append the parsed output to out.
The output should be formatted as a series of concatenated "chunks". A chunk is a string of the format:
<type character><string><null>
where <type character> = 't' or 's'. A 't' means what follows is HTML and should be returned directly to the browser. An 's' means
what follows is Tcl and should be evaluated.
After the last chunk there should be an extra <null> character. For example, the "adp" parser will take a page like this:
This is a test page<%ns_puts hi%>The end<%ns_puts bye%>
And create this output:
"tThis is a test page sns_puts hi tThe end sns_puts bye "
Ns_AdpRequest(conn, file)
Parse and evaluate an ADP file.
SEE ALSO
nsd(1), info(n)
KEYWORDS
AOLserver 4.0 Ns_Adp(3aolserver)