How can I identify if a transaction is running or hung?


All OnApp versions


To detect if the transaction, such as backup, disk resize, or similar, is running, check the compute resource it is running on and use the strace tool to find out what system commands the process is executing.

You'll be informed if it is being processed, waiting for network or disk connection, etc.

  1. To use strace, use the PID of the process to be watched. For example, a disk resize executes a process with resize in the name:

    ps aux | grep resize
  2. Use the following to tail into the process and view whether it is running:

    strace -p %PID%

To install strace, use: 

yum install strace