How to collect system call?

How to collect system call sequences
in UNIX or LINUX system?
xiajhAsked:
Who is Participating?
 
jhuConnect With a Mentor Commented:
using:
strace  for Linux.
ktrace for FreeBSD,
tusc for HPUX.
0
 
xiajhAuthor Commented:
I need the system call data
as a record file.
0
 
ozoCommented:
What do you want to collect?
If you want the stdout, you can say
$result = `call`;
0
 
kawinCommented:
In solaris use truss -o <output_file> <command or process id>
0
All Courses

From novice to tech pro — start learning today.