TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Russell Coker
from: Gary Shingles
date: 1996-05-07 13:03:24
subject: strace/2

-=> Quoting Russell to Peter, about Harmonic Mathematics <=-



 PF> After your program has terminated,  you can use the 

 PF> profile analysis tools to see which (and when,  if you 

 PF> like) the calls were made.



 RC> That sounds good, it should solve half my problem (determining what

 RC> system calls my programs are making).  But it won't allow me to

 RC> determine what system calls other peoples programs are making.  In

 RC> UNIX I often use strace to determine what programs do so I can tell

 RC> what is going wrong when they just give strange error messages and

 RC> exit... 



I don't know if this helps, but a utility called "go" lists the modules

currently in use and their dependancies.  You could watch this while the

program is running to at least see if any unusual dlls are being called.



I find it an invaluable utility, and helps ease the pain of coming from Linux

to OS/2.  Here's the program help output.



[c:\usr\sem]go -h

GO! v1.5 - (c) 1993-95 by Carsten Wimmer 



Usage: go  [argument]



Available commands:



   -pl   Process List        -k    Kill a Process

   -lpl  Process List with Paths      -ka   Kill all Instances

   -tl   Thread List                  -cp   Check for a Process

   -sl   Semaphore List               -j    Jump to a Process

   -sm   Shared Memory                -at   Application Type

   -ml   Module List                  -ut   Machine Uptime

   -mt   Module Dependency Tree       -df   Free Space on Drives

                     

   -lh   Long, detailed Help

   -la   GO! License Agreement

   

Gary   

... Since we all move so slow, why is it called rush hour?

--- Blue Wave/OS2 v2.30 [NR]

* Origin: Snoopy's OS/2 BBS (3:772/380)
SEEN-BY: 50/99 78/0 620/243 622/407 623/630 632/339 690/347 711/409 410 413
SEEN-BY: 711/430 808 809 934 955 712/515 713/888 770/115 771/1320 772/1 20
SEEN-BY: 772/135 350 380 774/605 800/1 7877/2809
@PATH: 772/380 20 711/955 808 809 934

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.