home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / unix / aix / 8994 < prev    next >
Encoding:
Text File  |  1992-08-21  |  1.2 KB  |  34 lines

  1. Newsgroups: comp.unix.aix
  2. Path: sparky!uunet!mnemosyne.cs.du.edu!nyx!bediger
  3. From: bediger@nyx.cs.du.edu (bruce allen ediger)
  4. Subject: SunOS "trace" equivalent?
  5. Message-ID: <1992Aug21.233206.14684@mnemosyne.cs.du.edu>
  6. Followup-To: poster
  7. Summary: Does one exist under AIX?
  8. Keywords: Kibo, trace, SunOS, AIX equivalent
  9. Sender: usenet@mnemosyne.cs.du.edu (netnews admin account)
  10. Organization: Shergold Liberation Army
  11. Date: Fri, 21 Aug 92 23:32:06 GMT
  12. Lines: 20
  13.  
  14.  
  15. SunOS includes a nifty command called "trace".  It lets you see what system
  16. calls an arbitrary process makes.  Here is the description:
  17.  
  18.      trace runs the specified command until it exits.  It  inter-
  19.      cepts  the  system calls and signals of a process.  The name
  20.      of the system call, its arguments and result are  listed  on
  21.      the standard output.
  22.  
  23.      Each line in the trace contains the system call  name,  fol-
  24.      lowed by its arguments in parentheses and its result.  Error
  25.      returns (result = -1) have the error name and error  message
  26.      appended.
  27.  
  28. There is a "trace" command under AIX, but it does something entirely different.
  29. What is the name of the AIX equivalent to this function?
  30.  
  31.  
  32. If you would be so kind as to respond to me or to davidk@r2.com, I would be
  33. in your debt.
  34.