10-03-2018
Quote:
Originally Posted by
RudiC
As usual, no meaningful advice possible without meaningful data. What's your directory contents, what's the file that seems to be missing? What's the output of the two stat commands? What's the output of the entire script (before piping it into sh)?
With Don Cragun suggestion , put Path ,&& before the braces worked.
Thank you Don Cragun for help
Last edited by onenessboy; 10-03-2018 at 08:28 AM..
9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
hi friends.
yo i have a textfile with urlīs in it
sometimes middle in text, sometimes one url alone is a line
i append a string right behind the domain name
so that http://unix.com becomes http://unix.com.APPENDTHIS on all occasions.
i use this sed-line to achieve this:
sed -i... (3 Replies)
Discussion started by: scarfake
3 Replies
2. Ubuntu
I have a laptop running Ubuntu Gusty. I have recently used applications such as AWN, Emerald, etc... to create a Mac OS X Leopard like environment. It works almost perfectly except for one little glitch. When I open most of my apps/windows, they all open with the top bar(with includes close,... (5 Replies)
Discussion started by: Texasone
5 Replies
3. UNIX for Dummies Questions & Answers
conditional is not wworking
can any one figure out what goes wrong
xx1=`$ORACLE_HOME/bin/sqlplus -s apps/ostgapps1 2>/dev/null << EOF
WHENEVER SQLERROR EXIT 1
set head off feedback off ;
WHENEVER SQLERROR EXIT SQL.SQLCODE;
select count(*) from CMS_INVOICE_ALL... (2 Replies)
Discussion started by: u263066
2 Replies
4. UNIX for Dummies Questions & Answers
Hi,
I am new to unix and shell scripting.In my script,there is a line using the "if" conditional -
if && ; then
do something
Here "x" is a variable holding string value.If it is not equal to a comma or a string,only then I want to enter the "if" loop. But I am getting error while... (1 Reply)
Discussion started by: abhinavsinha
1 Replies
5. Shell Programming and Scripting
Hi,
I am new to unix and shell scripting.In my script,there is a line using the "if" conditional -
if && ; then
do something
Here "x" is a variable holding string value.If it is not equal to a comma or a string,only then I want to enter the "if" loop. But I am getting error while... (12 Replies)
Discussion started by: abhinavsinha
12 Replies
6. Shell Programming and Scripting
hi,
i have a perl script that runs as a cron job... Once in a while, the perl
script fails with:
Can't locate <module>.pm in @INC (@INC contains: .............)
because one of the perl modules specified in the "use" statements is
unavailable due to an NFS glitch.
Is there some... (1 Reply)
Discussion started by: Andrewkl
1 Replies
7. Shell Programming and Scripting
Hi,
I want to perform a conditional search and remove my search string.
Input string: "abcdaabcadgfaarstab"
Character to search: "a"
Condition: Remove all "a" in the input string except if it is "aa"
Output string: "bcdaabcdgfaarstb"
Can you please help me in this? (5 Replies)
Discussion started by: dominiclajs
5 Replies
8. UNIX for Beginners Questions & Answers
A portion of my input is as follows:
1087 IKON01,49 A WA- -1 . -1 . 0 W WA- -1 . -1 . 0 . -1 . -1 -1 -1 -1 -1 -1 W
1088 IKON01,49 A J.@QU80MW. 2... (2 Replies)
Discussion started by: jvoot
2 Replies
9. Shell Programming and Scripting
Hi Friends,
I have somefiles like
20180720_1812.tar.gz
20180720_1912.tar.gz
20180720_2012.tar.gz
20180720_2112.tar.gz
20180721_0012.tar.gz
20180721_0112.tar.gz
20180721_0212.tar.gz
20180721_0312.tar.gz
in a directory and so on..these files gets created every 3 hours where as... (28 Replies)
Discussion started by: onenessboy
28 Replies
LEARN ABOUT CENTOS
perf-annotate
PERF-ANNOTATE(1) perf Manual PERF-ANNOTATE(1)
NAME
perf-annotate - Read perf.data (created by perf record) and display annotated code
SYNOPSIS
perf annotate [-i <file> | --input=file] [symbol_name]
DESCRIPTION
This command reads the input file and displays an annotated version of the code. If the object file has debug symbols then the source code
will be displayed alongside assembly code.
If there is no debug info in the object, then annotated assembly is displayed.
OPTIONS
-i, --input=
Input file name. (default: perf.data unless stdin is a fifo)
-d, --dsos=<dso[,dso...]>
Only consider symbols in these dsos.
-s, --symbol=<symbol>
Symbol to annotate.
-f, --force
Don't complain, do it.
-v, --verbose
Be more verbose. (Show symbol address, etc)
-D, --dump-raw-trace
Dump raw trace in ASCII.
-k, --vmlinux=<file>
vmlinux pathname.
-m, --modules
Load module symbols. WARNING: use only with -k and LIVE kernel.
-l, --print-line
Print matching source lines (may be slow).
-P, --full-paths
Don't shorten the displayed pathnames.
--stdio
Use the stdio interface.
--tui
Use the TUI interface. Use of --tui requires a tty, if one is not present, as when piping to other commands, the stdio interface is
used. This interfaces starts by centering on the line with more samples, TAB/UNTAB cycles through the lines with more samples.
--gtk
Use the GTK interface.
-C, --cpu
Only report samples for the list of CPUs provided. Multiple CPUs can be provided as a comma-separated list with no space: 0,1. Ranges
of CPUs are specified with -: 0-2. Default is to report samples on all CPUs.
--asm-raw
Show raw instruction encoding of assembly instructions.
--source
Interleave source code with assembly code. Enabled by default, disable with --no-source.
--symfs=<directory>
Look for files with symbols relative to this directory.
-M, --disassembler-style=
Set disassembler style for objdump.
--objdump=<path>
Path to objdump binary.
--skip-missing
Skip symbols that cannot be annotated.
--group
Show event group information together
SEE ALSO
perf-record(1), perf-report(1)
perf 06/30/2014 PERF-ANNOTATE(1)