|We moved this page to our Documentation Portal. You can find the latest updates here.|
I have this transaction and it's taking forever. How can I tell if it's running or just hung?
All OnApp versions
A good way to see if transaction, such as backup, disk resize, or similar, is running is to check the Hypervisor that it is running on and use strace tool to see what system commands the process is executing.
This gives an idea if it's actively processing, waiting for network or disk connection, etc.
To use strace, you need the PID of the process to be watched. For example, a disk resize executes a process with "resize" in the name, so:
ps aux | grep resize
Then, use the following to tail into the process and view whether it's running:
strace -p %PID%
To install strace, use:
yum install strace
For further use of this tool, consult the man page with 'man strace'.