Wednesday, September 2, 2015

Truss command

There was issue with DHCP server, to find the root cause of the issue and find the resolution, we had to do following,

1. Run truss command
# truss -f -v all -r all -w all -o /var/tmp/dhcp.out -p $ALL_QIP_PIDs

2. List qip processes
# ps -ef|grep qip

3. Run snoop
# snoop -o /var/tmp/snoop.cap not port 22

4. reproduce the problem
5. kill both truss and snoop
6. restore the services

No comments:

Post a Comment