07-30-2009
You can use this function even with a script who needs parameters.
Indeed, in the example of "sleep 67", "67" is a parameter.
I use it withe a script who has 10 parameters and it works very well!
Regards
10 More Discussions You Might Find Interesting
1. Programming
hi ,
i ve coded a C program
in that im using malloc dynamically ,
it is being called many times in the program
The program is to simulate jobs in manufacturing system.
the execution time is increasing drastically as the number of jobs are increased.
could any body tel what may be the problem... (2 Replies)
Discussion started by: ramki_rk
2 Replies
2. UNIX for Dummies Questions & Answers
is there a command in Solaris 8 that will show a particular scripts last execution time? (1 Reply)
Discussion started by: cubs0729
1 Replies
3. Shell Programming and Scripting
I am writting a script in the ksh shell and am trying to find a way to report the total execution time of the script without requiring the user to specify the time function when executing the script.
Does anyone have any examples they have used. I have been setting up two date variables (one at... (9 Replies)
Discussion started by: johnsonbryce
9 Replies
4. Shell Programming and Scripting
i want to test whether a script has been executed in last 15 days or not....please help how can i do this...is there any copmmand there to know timings of last execution of any script (8 Replies)
Discussion started by: arghya_owen
8 Replies
5. UNIX for Dummies Questions & Answers
Hi All,
Can we get to know the start time and end time of execution of a script? (This script doesn't write any logs.) I mean, is there any built in process logs to track these records? (2 Replies)
Discussion started by: siba.s.nayak
2 Replies
6. Shell Programming and Scripting
Hello,
I'm running a bash script and I'd like to get more accurate a runtime information then now.
So far I've been using this method:
STARTM=`date -u "+%s"`
.........
*script function....
.........
STOPM=`date -u "+%s"`
RUNTIMEM=`expr $STOPM - $STARTM`
if (($RUNTIMEM>59)); then... (6 Replies)
Discussion started by: TehOne
6 Replies
7. UNIX for Dummies Questions & Answers
how much time a particular command or shell script executed
there is any command to know this
thanks (5 Replies)
Discussion started by: tsurendra
5 Replies
8. Shell Programming and Scripting
i am using bash
START=$(date +%s)
END=$(date +%s)
DIFF=$(echo "$END - $START" )
this code is not working (14 Replies)
Discussion started by: rafa_fed2
14 Replies
9. Shell Programming and Scripting
AFILENAME=glow.sh
FILENAME="/${AFILENAME}"
WIDTHA=$(echo ${FILENAME} | wc -c)
NTIME=0
RESULTS=$(for eachletter in $(echo ${FILENAME} | fold -w 1)
do
WIDTHTIMES=$(awk "BEGIN{printf... (5 Replies)
Discussion started by: SkySmart
5 Replies
10. Shell Programming and Scripting
Hello Guys,
I would like to know is there a way to take the script execution time
For e.g i am having a script.sh i need to write inside he script.sh like
Start time : 10-Mar-2016 02:30:35
all code over here
...
End time : 10-Mar-2016 03:30:32
Script start time - 02:30:35 ... (7 Replies)
Discussion started by: Master_Mind
7 Replies
LEARN ABOUT DEBIAN
build-lives-rfx-plugin-multi
build-lives-rfx-plugin-multi(1) General Commands Manual build-lives-rfx-plugin-multi(1)
NAME
build-lives-rfx-plugin-multi - builds rendered effects for LiVES
SYNOPSIS
build-lives-rfx-plugin-multi type [scripts_dir exec_dir] [build_bindir]
DESCRIPTION
This perl script builds rendered effects (RFX) plugins for LiVES. If scripts_dir is not defined then type is used to locate the plugin
scripts directory and output directory. Type can be builtin (the default), custom,
test, or builtinx. The type builtinx forces scripts_dir and exec_dir to be read from parameters and is used during LiVES install, and is
the only type which should be used if scripts_dir is specified.
Each plugin script in input directory is scanned to find its language code. The script is then passed to the script compiler for that lan-
guage. The directory location of the script_compiler may be specified by the build_bindir parameter (as is the case during LiVES installa-
tion0; otherwise the user's $PATH will be searched.
Return values the script returns the following values
0 - success 1 - the "type" parameter was not defined, or set to an invalid value 3 - the builder for a plugin script was not found
SEE ALSO
build-lives-rfx-plugin(1), lives(1)
AUTHOR
Gabriel Finch a.k.a Salsaman (salsaman@xs4all.nl)
May 9 2010 build-lives-rfx-plugin-multi(1)