04-24-2008
Thank you a lotttttttttttttttttttt
Its working fineeeeeeeeeeeeee
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have a receive script file which had lots of direcorties to process,but now,I don't want to hardcode them,I need input the directory name in a Property.txt file,then write shell code to read the directory name from Property.txt to the script file so I can get flexible on it.But when I ran the sh... (3 Replies)
Discussion started by: joshuaduan
3 Replies
2. HP-UX
I'm trying to rename a file name but the original file has a special character caused by typo. I've tried numerous combination of characters but the file name (original) is still not being recognized which in turn, would not allow me to rename the file.
Can someone help? The filename is a... (1 Reply)
Discussion started by: genzbeat
1 Replies
3. UNIX for Advanced & Expert Users
Hi
I have an xml file which has multiple xml records..
I don't know how to read those records and pipe them to another shell command
the file is like
<abc>z<def>y<ghi>x........</ghi></def></abc> (1st record)
<jkl>z<mno>y<pqr>x........</pqr></mno></jkl> (2nd record)
Each record end... (4 Replies)
Discussion started by: aixjadoo
4 Replies
4. Solaris
I am new to unix shell scripting, i was going through the existing shell scripts but couldn't able to get enough information on below syntaxes,i mean the symbols $# & $? used in the if loop. what exactly are they? what is the inline meaning, Could you please throw some light.
Examples:
1) ... (4 Replies)
Discussion started by: Ariean
4 Replies
5. Shell Programming and Scripting
Hi,
Im finding some files form a specific path and den writing those files to another file as:
find /SYS/admin/data/xml -name '*.xml' -type f ! -newer file1 -print >>out.xml
and when im doing cat out.xml im getting like dis:
... (2 Replies)
Discussion started by: ss_ss
2 Replies
6. Shell Programming and Scripting
Hello All,
We are getting files from sftp server through file transmission protocol & after transmission we are removing all the control M
(^M) characters from them.we are expecting various kind of special characters in the files.
we are tried removing '^M' characters through 'dos2unix' command... (2 Replies)
Discussion started by: Aquilis
2 Replies
7. Shell Programming and Scripting
Hello all
I am getting data like
col1 | col2 | col3
asdafa | asdfasfa | asf*&^sgê
345./ |sdfasd23425^%^&^ | sdfsa23
êsfsfd | sf(* | sdfsasf
My requirement is like
I have to to read the file and remove all special characters and hex characters ranging form 00-1f from 1st column, remove %"'... (1 Reply)
Discussion started by: vasuarjula
1 Replies
8. Shell Programming and Scripting
When i try to vi a file, see some extra characters "l^H^@^@^@^@^F^@"...but when i cat the same file i am not seeing this...How do i remove this??? (4 Replies)
Discussion started by: problemchild
4 Replies
9. UNIX for Dummies Questions & Answers
Is there any command to eliminate Header and footer from EBCDIC file (4 Replies)
Discussion started by: abhilashnair
4 Replies
10. UNIX for Dummies Questions & Answers
Can anybody help me figure this out? Thank you in advance.
I have a input file. It shows like this:
Query= random content
random content
> random content
random content
> random content
> random content
Query= random content
random content
random content
> random content
> random... (1 Reply)
Discussion started by: yuejian
1 Replies
LEARN ABOUT DEBIAN
google-pprof
PPROF(1) Google PPROF(1)
NAME
google-pprof - manual page for google-pprof (part of gperftools)
SYNOPSIS
google-pprof [options] <program> <profile>
DESCRIPTION
Prints specified cpu- or heap-profile
OPTIONS
--cum Sort by cumulative data
--base=<base>
Subtract <base> from <profile> before display
Reporting Granularity:
--addresses
Report at address level
--lines
Report at source line level
--functions
Report at function level [default]
--files
Report at source file level
Output type:
--text Generate text report [default]
--gv Generate Postscript and display
--list=<regexp>
Generate source listing of matching routines
--disasm=<regexp>
Generate disassembly of matching routines
--dot Generate DOT file to stdout
--ps Generate Postcript to stdout
--pdf Generate PDF to stdout
--gif Generate GIF to stdout
Heap-Profile Options:
--inuse_space
Display in-use (mega)bytes [default]
--inuse_objects
Display in-use objects
--alloc_space
Display allocated (mega)bytes
--alloc_objects
Display allocated objects
--show_bytes
Display space in bytes
--drop_negative
Ignore negaive differences
Call-graph Options:
--nodecount=<n>
Show at most so many nodes [default=80]
--nodefraction=<f>
Hide nodes below <f>*total [default=.005]
--edgefraction=<f>
Hide edges below <f>*total [default=.001]
--focus=<regexp>
Focus on nodes matching <regexp>
--ignore=<regexp>
Ignore nodes matching <regexp>
--scale=<n>
Set GV scaling [default=0]
EXAMPLES
google-pprof /bin/ls ls.prof
Outputs one line per procedure
google-pprof --gv /bin/ls ls.prof
Displays annotated call-graph via 'gv'
google-pprof --gv --focus=Mutex /bin/ls ls.prof
Restricts to code paths including a .*Mutex.* entry
google-pprof --gv --focus=Mutex --ignore=string /bin/ls ls.prof
Code paths including Mutex but not string
google-pprof --list=getdir /bin/ls ls.prof
Dissassembly (with per-line annotations) for getdir()
google-pprof --disasm=getdir /bin/ls ls.prof
Dissassembly (with per-PC annotations) for getdir()
COPYRIGHT
Copyright (C) 2005 Google Inc.
SEE ALSO
Further documentation for google-pprof is maintained as a web page called cpu_profiler.html and is likely installed at one of the following
locations:
/usr/share/gperftools/cpu_profiler.html
/usr/local/share/gperftools/cpu_profiler.html
google-pprof (part of gperftools) February 2005 PPROF(1)