![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| High Level Programming Post questions about C, C++, Java, SQL, and other programming languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to write to stdin of another program (program A -> [stdin]program B) | vvaidyan | High Level Programming | 1 | 04-30-2008 01:44 PM |
| multifile c program compilation and execution | alokmishra8 | UNIX for Dummies Questions & Answers | 1 | 02-01-2008 05:05 AM |
| unix command for multifile program execution | alokmishra8 | Linux | 0 | 02-01-2008 04:20 AM |
| execution small C++ program in UNIX | bintaleb | High Level Programming | 5 | 09-26-2007 06:35 AM |
| get stack trace from C program on Solaris 8 | rydahl | Filesystems, Disks and Memory | 4 | 03-23-2007 01:53 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
A program to trace execution of another program
Hi,
I wanted to know if i can write a program using switches and signals, etc to trace execution of other unix program which calls c program internally. If yes how? If not with signals and switches then are there any other methods apart from debugging with gdb/dbx. |
|
||||
|
This functionality uis usually predicated on the ptrace (man ptrace) function under unixes. The userspace toolset depends. *BSD has ktrace, linux has strace, and solaris10 has a different method based on dtrace. Older solaris and aix has truss, HP-UX 11+ uses tusc.
|
|
||||
|
hey thanks tusc seems good.
|
| Sponsored Links | ||
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|