Sponsored Content
Full Discussion: How to trace an AIX Process?
Top Forums UNIX for Advanced & Expert Users How to trace an AIX Process? Post 302406156 by amitranjansahu on Monday 22nd of March 2010 06:27:38 AM
Old 03-22-2010
truss -o out_file -p PID
 

10 More Discussions You Might Find Interesting

1. Linux

how to trace iowait to a certain process

Hi all, Under top command you could see some iowait output. Is any way to locate which process(s) is causing the high percentage of iowait? 17:48:39 up 19 days, 18:54, 3 users, load average: 3.24, 3.14, 3.17 392 processes: 389 sleeping, 1 running, 2 zombie, 0 stopped CPU states: cpu user... (3 Replies)
Discussion started by: will_mike
3 Replies

2. AIX

Which command can trace what I have done on aix?

I remember there is a command can trace what I have done on aix. such as when I run smitty user to add a new user, run any command on aix, install some application software on aix, just like trace every step and every screen out to a file. I forget what command is, does anyone know it? (6 Replies)
Discussion started by: rainbow_bean
6 Replies

3. AIX

Trace the process responsible for locking filesystem ?

Hi, Sometimes when I want to unmount some filesystem I get "The requested resource is busy." error. In such a case I try to find and kill process that uses that filesystem. I do that on random. Is there a right way to find whitch prosesses use filesystem resource at given time ? thanks... (1 Reply)
Discussion started by: vilius
1 Replies

4. Solaris

Help to trace process consuming more space

Hi all, We have a server having much processes running. It is very difficuilt to trace the exact consuming more memory. Howerver, it shows CPU usage in sequence but how memory? Tried working with TOP command. Please let me know if something not clear. Thanks, Deepak (5 Replies)
Discussion started by: naw_deepak
5 Replies

5. AIX

How to trace cpu/memory usage for a process

I don't know when the process will start and end, I need write a script to trace it's cpu/memory usage when it is runing. How to write this script? (2 Replies)
Discussion started by: rainbow_bean
2 Replies

6. AIX

How to turn on SMTP trace on AIX?

How to turn on SMTP trace on AIX V5? where to find the SMTP logs? (0 Replies)
Discussion started by: rainbow_bean
0 Replies

7. Linux

Trace an extinct process

Hi gurus, Just wanted to know if there is any way to trace the PID of a process that has already completed it's job and exited. My tomcat server was found in a hung state and we restarted it. Now we have found that someone has ran a kill -9 "pid" and wanted to know if it is the PID of tomcat.... (1 Reply)
Discussion started by: Hari_Ganesh
1 Replies

8. UNIX for Advanced & Expert Users

Trace Process performance Using PID

Hi, i want to track a process using its PID in SOLARIS. i have a code in C++ , which memory is increasing steeply increasing every 20 days, from the code i couldn't see any memory leak. is there any way in UNIX where with the help of PID i can trace the Process usage evry hour. ... (3 Replies)
Discussion started by: senkerth
3 Replies

9. Shell Programming and Scripting

How to put a trace on shell script running in AIX?

Please help me in putting a trace on shell script running in AIX Best regards, Vishal (3 Replies)
Discussion started by: Vishal_dba
3 Replies

10. UNIX for Beginners Questions & Answers

Some trace file to track timings of a process

I will initiate a process from Server1 and the flow is as follow Server1 --> Web server --> Application server --> DB Server Note all seperate unix servers. Now I need to put a trace for that process to track the timings from each server. Like the below trace should be there: ... (5 Replies)
Discussion started by: saraperu
5 Replies
errinfo(1m)							   USER COMMANDS						       errinfo(1m)

NAME
errinfo - print errno for syscall fails. Uses DTrace. SYNOPSIS
errinfo [-a|-A|-hsvZ] [-c command] DESCRIPTION
errinfo snoops syscall failures and prints the errno value and description of the error number. This program can help determine if applications are silently failing, providing some details on the cause. Since this uses DTrace, only users with root privileges can run this command. OPTIONS
-c counts - print an aggregate style report containing a frequency count of errors -p PID examine this PID only -n name examine processes with ths name only (eg, "ls") EXAMPLES
Default output, print errors as they occur, # errinfo Print a frequency count report, # errinfo -c Snoop errors as they occur for "ssh" processes, # errinfo -n ssh PP Snoop errors for PID 81 only, # errinfo -p 81 FIELDS
EXEC Program name (truncated) SYSCALL System call name ERR Value of errno DESC Description of errno message DOCUMENTATION
See the DTraceToolkit for further documentation under the Docs directory. The DTraceToolkit docs may include full worked examples with ver- bose descriptions explaining the output. EXIT
errinfo will run forever until Ctrl-C is hit. FILES
/usr/include/sys/errno.h Contains the full descriptions for the error numbers. AUTHOR
Brendan Gregg [Sydney, Australia] SEE ALSO
dtrace(1M), truss(1) version 1.10 May 14, 2005 errinfo(1m)
All times are GMT -4. The time now is 10:29 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy