Sponsored Content
Full Discussion: Porting Scripts.
Top Forums Shell Programming and Scripting Porting Scripts. Post 11712 by LivinFree on Tuesday 11th of December 2001 07:35:38 AM
Old 12-11-2001
Well, what feedback are you getting when you source (. ./script_name) your script? You may have to chmod +x your script also, to get it to execute, then maybe even type ./script_name (only one "."), depencing on your PATH.

Also, do you have the sar command installed? Are the pathnames on your local workstation the exact same as the original system? If you're still having trouble, add the command:
set +x
right under the first line (#!/bin/bash). It will tell you what's going on, step by excruciating step...

Post back any more output / details, and I'm sure one of us can figure this out...

--
LivinFree
Mr. Burns - "I want to be loved, Homer"...
Homer - "... Well... I'll need some beer..."
 

9 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Porting of Windows written unix scripts to unix platform

Can anybody help me in finding out a solution for the problem below? When we write .unix or .sh files in windows OS and port them to Unix platforms there is a character ^M inserted at the end of each line of the script file. During ftp porting I set the transfer mode as ASCII for the script... (7 Replies)
Discussion started by: tamilselvi
7 Replies

2. Programming

Porting to solaris

I have ported a c program to solaris. When I run , it gives me segmentation fault error at line :- memcpy ((char *)a_string ,(char *)0, MAX_READ ) ; originally this was in reliant unix as :- memcpy ( a_string , 0 , MAX_READ ) ; Can somebody help me about this ? (1 Reply)
Discussion started by: suds19
1 Replies

3. UNIX for Dummies Questions & Answers

HP-UX to linux porting

Hi all, i wanted to port some HP-UX code to linux. can anybody point to some documents or resources that would help me in doing the porting.. thanks in advance Arun Prakash (0 Replies)
Discussion started by: arunprakash
0 Replies

4. Programming

Porting tools

I m sorry if this is the wrong place to post this. I m going to do a project on porting tools in unix platform. Can any one give me further suggestions and resources for this topic "Porting tools". Thanks in advance (5 Replies)
Discussion started by: veeru554
5 Replies

5. UNIX for Advanced & Expert Users

porting

I want to know what are the design considerations to be taken into account. when porting a socket project from Unix platform to another ...... (10 Replies)
Discussion started by: areef4u
10 Replies

6. Linux

when porting from HP-UX to Linux

helo, i m porting HP-UX socket application to Linux SSL-socket application. I have use htonl() in HP-UX. so when i use it in Linux, data transf is not done and application become soem time crashed. now when i remove htonl() in linux, then i got data but it will not proper order or some data may... (1 Reply)
Discussion started by: amitpansuria
1 Replies

7. HP-UX

Makfile porting

I am trying to port to HP-UX 11i v3 system an application in C++ language written for a Tru64 Unix V5. I am trying to execute on HP-UX 11i v3 a Makefile written for Tru64 Unix V5 with this code: $(TARGET_MORE): $(DEPEND_FILE) $(SOURCE_MORE.cc) $(LIBS) @for i in $(TARGET_MORE); do \ ... (1 Reply)
Discussion started by: angeloberardi
1 Replies

8. AIX

Porting from HP-UX to AIX

I am orignally a VC++ programmer, this is the my post in UNIX form. I have an existing source code, that was developed in old HP-UX system, the objective is to make it work on new AIX system. It does'nt appear that AIX has the necessary libraries or even run the application if its... (0 Replies)
Discussion started by: maverick786us
0 Replies

9. Solaris

Porting to new hardware - best way?

Same version of Solaris etc. Moving to new hardware. The application that runs on this server is easy enough to re-install but Im concerned about things like:- 1. Users/passwords/home directories 2. Cron jobs 3. Static routes Is there ANY way to either export this sort of thing so that I... (6 Replies)
Discussion started by: psychocandy
6 Replies
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)
All times are GMT -4. The time now is 11:23 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy