10-03-2007
Thanks for the reply porter.
#!/bin/ksh - is standard for all of my scripts, so that's a given (in my case anyways).
The second option is my preference too, though the first was after wondering about the STDOUT issue.
Thanks for your help porter - appreciate your opinion and the feedback.
Cheers,
Cameron
10 More Discussions You Might Find Interesting
1. Programming
hey
im having trouble understanding how to execute commands in the background. i did some research and saw that you only have to fork and not wait for the child to finish. in another case you have to change the process group. i ve really tried both of them but i just cant get them to work. ... (0 Replies)
Discussion started by: mile1982
0 Replies
2. UNIX for Advanced & Expert Users
When I run the following snippet in background
#!/bin/ksh
while
do
echo "$i"
sleep 10
i=`expr $i + 1`
done
My job got stopped and it says like + Stopped (SIGTTOU) ex1 &
I did "stty tostop" as suggested in many of the post but still not working... (3 Replies)
Discussion started by: shahnazurs
3 Replies
3. Shell Programming and Scripting
I have an expect script that interrogates several hundred unix servers for both access and directories therein using "ssh user@host ls -l /path". The combination of host/path are unique but the host may be interrogated multiple times if there are multiple paths to test.
The expect script is run... (2 Replies)
Discussion started by: twk
2 Replies
4. Shell Programming and Scripting
Hi all,
I am having a script ScriptA which is calling a script ScriptB in the same server and copying files to second server and have to execute one script ScriptC in the second server. THis First script ScriptA is the main script and i have to execute this process continously.
for Keeping... (2 Replies)
Discussion started by: rohithji
2 Replies
5. Shell Programming and Scripting
Hi all,
I have a script that calls another program/script, xxx, to run in the background. Supposedly this program at most should finish within five (5) minutes so after five (5) minutes, I run some other steps to run the script into completion.
My problem is sometimes the program takes... (5 Replies)
Discussion started by: newbie_01
5 Replies
6. Shell Programming and Scripting
I have a script called startWebLogic.sh which I was running in the background but the problem is which I used the command :- ps -elf | grep "startWebLogic.sh" | grep -v grep to find the process id but I was unable to find the process id for this script and when I checked from the front end the... (3 Replies)
Discussion started by: maitree
3 Replies
7. Shell Programming and Scripting
Hi
I want to write a script for snoop which can do snoop for 30 min and then process should be killed automatically
I am using below codes
#!/usr/bin/ksh
snoop -d igb0 -o /opt/temp/abc.pcap
sleep 1500
kill -9 `ps -ef|grep -i snoop |grep -v grep|awk '{print $2}'`
But process is not... (3 Replies)
Discussion started by: anish19
3 Replies
8. Solaris
Hi,
I am having a shell script on Solaris 10 which has a while loop as shown below.
#!/usr/bin/ksh
#
while
do
sleep 60
done
Name of the shell script is coldcentric.sh. I executed script /DATAWAREHOUSE/LOAD/Scripts/coldcentric.sh from a command task in Informatica worklow as... (3 Replies)
Discussion started by: chekusi
3 Replies
9. Shell Programming and Scripting
Hi,
I want to write a script which continuously checking status of a script running in background by nohup command. And if same script is not running then immediately start the script...please help..
i am using below command to run script
nohup system_traps.sh &
but in some... (9 Replies)
Discussion started by: ketanraut
9 Replies
10. Shell Programming and Scripting
Hi,
I wrote a KSH script and running it on HP-UX machine
I am running one script in background.
My script is at location
$HOME/myScript/test/background_sh
When I view my script in background with psu commend
> psu | grep background_sh
I see following output
UID PID PPID C ... (1 Reply)
Discussion started by: vaibhav
1 Replies
LEARN ABOUT SUSE
gst-feedback
gst-feedback-0.8(1) User Commands gst-feedback-0.8(1)
NAME
gst-feedback-0.8, gst-feedback - generate debug information for GStreamer bug reports
SYNOPSIS
gst-feedback-0.8
gst-feedback [--gst-list-mm] [--gst-mm=string] [--print]
DESCRIPTION
gst-feedback-0.8 scans the system for various types of information that is useful to GStreamer developers to help diagnose user problems.
Depending on the type of bug report, it might be useful to attach gst-feedback output when you contact the developers.
Note: The current version of this script scans many directories: /usr/lib, /usr/local/lib, /home, /usr/include, /usr/local/include, and
/home (again) for various GStreamer installations. Depending on your system, you might not want to do this.
Note: gst-feedback-0.8 dumps a lot of information about a system. Some of this information might be considered sensitive. If this is a
concern, review the information before posting to a public forum such as the GStreamer bug tracking system.
gst-feedback is a wrapper script that runs the latest installed version of gst-feedback-X.X. For example, if both gst-feedback-0.7 and gst-
feedback-0.8 are installed on your system, gst-feedback runs gst-feedback-0.8.
OPTIONS
The following options are supported by gst-feedback only:
--gst-list-mm List found major/minor versions. This option displays the versions that are available.
--gst-mm=string Force major/minor version. This option enables you to specify a specific version to run, if you do not want to run the
default version.
--print Print wrapped command line. This option displays the command that will be run, and then runs the command.
EXAMPLES
Example 1: Generating Feedback Information
example% gst-feedback-0.8
Example 2: Generating Feedback Information and Redirecting Output and Errors to a File
example% gst-feedback-0.8 &> myfeedback
Example 3: Running the Wrapper Script and Displaying the Command Name
example% gst-feedback --print
/usr/bin/gst-feedback-0.8
FILES
The following files are used by this application:
/usr/bin/gst-feedback-0.Executable to generate debug info for GStreamer bug reports
/usr/bin/gst-feedback Wrapper script that runs the latest installed version of gst-feedback-X.X
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWgnome-media |
+-----------------------------+-----------------------------+
|Interface stability |External |
+-----------------------------+-----------------------------+
SEE ALSO
gst-complete(1), gst-compprep(1), gst-inspect(1), gst-launch(1), gst-launch-ext(1), gst-md5sum(1), gst-register(1), gst-thumbnail(1), gst-
typefind(1), gst-xmlinspect(1), gst-xmllaunch(1), gstreamer-properties(1), libgstreamer-0.8(3), libgstgetbits(3)
NOTES
Original man page written by the GStreamer team at http://gstreamer.net/.
Updated by Brian Cameron, Sun Microsystems Inc., 2004.
SunOS 5.10 14 Oct 2004 gst-feedback-0.8(1)