Powered By Blogger

Wednesday, June 20, 2012

Debugging issues on Solaris using truss

In original ksh terminal, find out the PID of the ksh shell:


# ps

On 2nd terminal:

# truss -faeldo locale.truss -vall -r0 -w 1,2 -p (PID of ksh shell)

In original ksh terminal:

Execute the command which is having issues

On 2nd terminal:


Tail the locale.truss or read the contents for more details




No comments:

Post a Comment

Welcome to the UNIX world