[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

How to capture system call details

Posted on 2012-08-21
1
Medium Priority
?
495 Views
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?
0
Comment
Question by:corgano
1 Comment
 
LVL 38

Accepted Solution

by:
yuzh earned 1200 total points
ID: 38318998
use the "truss" command, to trace the system call and signals for the application.
man truss
to learn more details.
eg:
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:
http://stromberg.dnsalias.org/~strombrg/debugging-with-syscall-tracers.html
http://www.coolcommands.com/index.php?option=com_cccat&task=display&id=467
http://www.ibm.com/developerworks/systems/articles/AIX5.2PerfTools.html
look at the infor about truss in the above page.
0

Featured Post

Vote for the Most Valuable Expert

It’s time to recognize experts that go above and beyond with helpful solutions and engagement on site. Choose from the top experts in the Hall of Fame or on the right rail of your favorite topic page. Look for the blue “Nominate” button on their profile to vote.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Let's say you need to move the data of a file system from one partition to another. This generally involves dismounting the file system, backing it up to tapes, and restoring it to a new partition. You may also copy the file system from one place to…
In tuning file systems on the Solaris Operating System, changing some parameters of a file system usually destroys the data on it. For instance, changing the cache segment block size in the volume of a T3 requires that you delete the existing volu…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
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.
Suggested Courses
Course of the Month19 days, 6 hours left to enroll

834 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