My code uses try_eval block to do some code execution. This piece of code does not work on RHEL 5.4. The program just hangs at the try_eval block and does not throw any errors either. The same program however works in other Linux boxes that we have.
I have written a simple program that uses try_eval as below. However, when i try to run the program it throws an "invalid command name". I am stuck and unable to move further. Any help/pointers on what i am doing incorrectly would be of great help !
On running this i get the below error:
I am using tcl version tcl8.4
Last edited by archana485; 08-03-2011 at 07:51 AM..
Reason: Command try_eval is being used in a TCL script
Hi,
I have written a c program to find cos() of a value , its not working, I am getting value of "val " as 0000.
#include<stdio.h>
#include<math.h>
main()
{
float val;
val = cosf( 1.570796);
printf("\nval = %f",val);
} (9 Replies)
Dear all,
I am totally despaired and puzzled.
Using Filezilla under Windows under the same network as our Linux servers is working. Using FTP command-line client under any of our Linux debian servers is not working ! I tried with different FTP servers -> same problem !
All commands are... (12 Replies)
Hi everyone,
when executing this command in unix:
echo "WM7 Fatal Alerts:", $(cat query1.txt) > a.csvIt works fine, but running this command in a shell script gives an error saying that there's a syntax error.
here is content of my script:
tdbsrvr$ vi hc.sh
"hc.sh" 22 lines, 509... (4 Replies)
HI All,
I am facing the problem with rmail ...
Actually my server is linux environment Redhot server.
To send a mail which command I have to use it . I want subject and I want to Include CC also
And body of the mail also there . But If I use rmail command it is not taking any options to... (1 Reply)
Hi
I tried running the code
scrname=`whence $0 | sed -e 's/\.\///g'`
where $0 is substituted by cm_dsjobrun.sh
in unix env then the value it returns me is
SCRNAME=/data/ds/dpr_ebicm_uat/etl/cm3_0/scripts/shell/cm_dsjobrun.sh
whereas i ran the same code on linux env
The value... (9 Replies)
Hi All
I have fired a command in linux
table=`echo ${file_name} | awk '{FS="/"; print $NF}' | awk '{FS="."; print $1}'`
where file_name has
/data/ds/dpr_ebicm_uat/backfill/temp/etl_app_info.csv
/data/ds/dpr_ebicm_uat/backfill/temp/etl_app_jobs.csv ... (10 Replies)
I am using Linux RHEL5 64 bit and installed oracle 11g.
I want to check ODBC connection , i had modified odbc.ini file
when i use this command -isql
I am getting following error .
bash: isql: command not found
Kindly help (5 Replies)
Hi
I am working on linux machine and swap command is not working Linux Machine
On Solaris machine it is working fine:
uname -a
SunOS rgsm01 5.9 Generic_118558-03 sun4u sparc SUNW,Sun-Fire-V440
swap -s
total: 6596320k bytes allocated + 1035968k reserved = 7632288k used, 38893408k available
... (5 Replies)
I have a script .sh with a curl command in it:
curl --digest "http://xxxxxxx.xxx/mail.php?email=xxxx@xxx.xx";
from terminal this works good :
./script.sh //(mail arrives in my box)
from php this works good:
shell_exec('./phpsc.sh'); // (mail arrives in my box)
from terminal this... (13 Replies)
Hello,
I am on a Mac and trying to clean up some monthly files with a very simple SED:
sed '3,10d;/<ACROSS>/,$d' input.txt > output.txt
(from the input, delete lines 3 - 10; then delete from the line containing <ACROSS> to the end of the file)
then output to output.txt
Even when I try... (2 Replies)
Discussion started by: verbatim
2 Replies
LEARN ABOUT OSF1
feedback
feedback(1) General Commands Manual feedback(1)NAME
feedback - Generate an optimization feedback file using pixie and prof
SYNOPSIS
feedback [prof-options] [-o feedback-file] [-v] objfile [objfile-arguments]
OPTIONS
The feedback command accepts the following prof(1) options and any unambiguous abbreviations: -asm, -clock megahertz, -{e|E}xclude proce-
dure_name, -feedback filename, -heavy, -invocations, -lines, -merge filename, -numbers, -{o|O}nly procedure_name, -procedures, -quit n,
-testcoverage, -truecycles [0,1,2], -zero.
The feedback command ignores all other options in order to provide compatiblility with older versions of the feedback command. An
option argument following an option not recognized by this or older versions of the feedback command will be treated as the objfile
argument. Specifies the name of the feedback file. This can also be specified by the -feedback option of prof. You should use only
one of these options to specify a feedback file, not both. Causes the pixie, application, and prof commands to be printed as they
are invoked.
OPERANDS
Specifies the executable of the application for which a feedback file is to be generated. A pixie-instrumented version of this executable
will be executed with the current working directory and environment variables. The feedback file that is generated will reflect the behav-
ior of one execution of the instrumented objfile. Specify the arguments that will cause the behavior that you want to have optimized when
the compiler uses the feedback file.
DESCRIPTION
The feedback command invokes pixie to add profiling code to an object file. The object file generated by pixie is executed to obtain pro-
filing information. The feedback command then invokes prof to analyze the profiling information.
If the output of objfile needs to be redirected, but not the output of the feedback utility, the redirection characters need to have sh(1)
syntax and be within quotes. If objfile is multi-threaded, the LD_LIBRARY_PATH environment variable needs to include the current working
directory.
EXAMPLES
Send the profiling information to the standard output: $ feedback myprog Write a binary formatted performance profile to the file
myprog.feedback, which then helps a subsequent recompilation optimize the program: $ feedback -feedback myprog.feedback myprog $ cc -O
-feedback myprog.feedback -o myprog myprog.c
FILES
Object with profiling code. Generated by pixie. Basic block addresses. Generated by pixie. Basic block counts. Generated by
myprog.pixie.
Note: Run pixie and prof independently if alternative names are needed.
SEE ALSO cc(1), pixie(5), prof(1)feedback(1)