10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
I am looking at a log file which just tells me the filename and the line number inside that file that has the Error. What I am interested is knowing the encapsulating function. For example, here are the contents of the log file
Error: foo.file on line wxy
Error: foo.file... (3 Replies)
Discussion started by: kaaliakahn
2. Shell Programming and Scripting
Using solaris 10 5.10 o/s
I am learning awk as I work here on the job.
What I need to do is isolate the trace file for the last 24 hours. After that I need to open those trace files and search for 'TNS-|ORA-' message from each one. These trace files MAY HAVE an occurance of them. I... (5 Replies)
Discussion started by: bdby
3. IP Networking
i want to get the hostname for the specified IP address.
# host www.google.com
www.google.com has address 220.127.116.11
www.google.com has address 18.104.22.168
www.google.com has address 22.214.171.124
www.google.com has address 126.96.36.199
www.google.com has address... (3 Replies)
Discussion started by: kavitha rao
4. Shell Programming and Scripting
I have a file which consist of some class 4 IP address as
i want to store them in pure decimal notations instead of the given dotted decimal formats
e.g.... (2 Replies)
Discussion started by: vaibhavkorde
5. UNIX for Dummies Questions & Answers
I am trying to display contains of a file from a specific line to a specific line(let say, from line number 3 to line number 5). For this I got the shell script as shown below:
if ; then
if ; then
tail +$1 $3 | head -n $2
... (5 Replies)
Discussion started by: grc
Is/are there any function(s) in C that convert(s) character/ASCII/Decimal to binary and vice versa?
what about bcopy and strcpy? (1 Reply)
Discussion started by: Peevish
7. Shell Programming and Scripting
I have a huge file & I want to add a specific text in column. But I want to add this text from a specific line number to a specific line number & another text in to another range of line numbers.
To be more specific: lets say my file has 1000 lines & 4 Columns. I want to add text "Hello"... (2 Replies)
Discussion started by: Ezy
8. Shell Programming and Scripting
Does anyone know if there is a util out there to run through a shell script and be able to trace the function call tree. I have inherited some code and the original author was ****mad**** keen on functions - even ones called only once!
If anyone knows of anything I would appreciate it - web... (3 Replies)
Discussion started by: ajcannon
9. UNIX for Dummies Questions & Answers
does somebody knows about a function that would convert a date like:
YYMMDD into a date like YYYY-MM-DD ?
Thank you for your ideas
:) (9 Replies)
Discussion started by: Cecile
10. UNIX for Advanced & Expert Users
m using unix c with curses
im trying out the conversion of an existing code in c to i18n for the japanese language.
the problem is that, the input which is given as the japanese characters is not taken correctly.
and what it outputs is question marks(i.e. ???), equivalent to the number o f... (4 Replies)
Discussion started by: nirnay_s
U_STACK_TRACE(), _UNW_STACK_TRACE() - produce a trace back of the procedure call stack using the unwind library
prints a formatted stack trace to standard error. produces a formatted stack trace on the output stream indicated by parameter out_file.
The stream must be a writable stream for output to be produced.
and are thread-safe. They are not async-cancel-safe because they make use of which is not async-cancel-safe. A cancellation point may
occur when a thread is executing
can fail to give the entire stack back trace under the following conditions:
o Low memory conditions. The unwind library is not able to allocate enough memory to perform the tasks of tracking back over the stack or
of looking up symbols names associated with instruction pointer addresses encountered.
o Executables and shared libraries that fail to conform to the Runtime Architecture for Itanium-based systems. For example, they may have
invalid, incomplete, or missing unwind tables; or invalid or incorrect unwind information blocks.
Given the following C program:
Compiling and executing the program produces output similar to this:
was developed by HP.
_UNW_createContextForSelf(3X), _UNW_currentContext(3X), _UNW_getGR(3X), unwind(5).
Itanium(R)-based System Only U_STACK_TRACE(3X)