How to capture system call details

Posted on 2012-08-21
Last Modified: 2012-08-22
I have 2 AIX 6.1 LPARs that are running the same application on each, yet the number of system calls being seen on one is much higher than on the other. Is there a way to capture the details of the calls so that I can compare the two?
Question by:corgano
    1 Comment
    LVL 38

    Accepted Solution

    use the "truss" command, to trace the system call and signals for the application.
    man truss
    to learn more details.
    truss -c -p pid

    use -p to specify the process id and use -c to get seconds,number of calls,errors in system calls used by app.

    you can use -o option to send the output to a file

    also have a look at the following docs:
    look at the infor about truss in the above page.

    Featured Post

    Maximize Your Threat Intelligence Reporting

    Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

    Join & Write a Comment

    My previous tech tip, Installing the Solaris OS From the Flash Archive On a Tape (, discussed installing the Solaris Operating S…
    Using libpcap/Jpcap to capture and send packets on Solaris version (10/11) Library used: 1.      Libpcap ( Version 1.2 2.      Jpcap( Version 0.6 Prerequisite: 1.      GCC …
    Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
    In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

    734 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    18 Experts available now in Live!

    Get 1:1 Help Now