How to check the upload progress when importing a new tile in ops manager ui
search cancel

How to check the upload progress when importing a new tile in ops manager ui

book

Article ID: 293746

calendar_today

Updated On:

Products

Operations Manager

Issue/Introduction

When importing large tiles in ops manager ui, it takes long time. People have concerns whether the upload is slower than expected or is even stuck there.

Environment

Product Version: 2.10

Resolution

This article shows a way to check the uploaded file size, so we can know its current status and calculate the upload speed if you like.
1.) Log in the ops manager vm
2.) Issue the following command 
sudo lsof -u tempest-web|grep -v postgres|egrep 'var|SIZE'
3.) Pay attention to the line appended with "deleted". The uploaded size is shown in the column "SIZE/OFF". It is 5207146965 in this sample. So if the total size of the tile is 10GB, you will know approximately 50% data has been uploaded. 
COMMAND  PID        USER   FD   TYPE             DEVICE SIZE/OFF    NODE NAME
/var/log/nginx/error.log
nginx   1410 tempest-web    6w   REG              202,1        111 151378 /var/log/nginx/error.log
nginx   1411 tempest-web    2w   REG              202,1        111 151378 /var/log/nginx/error.log
nginx   1411 tempest-web    6w   REG              202,1        111 151378 /var/log/nginx/error.log
nginx   1411 tempest-web   23u   REG              202,1 5207146965 148950 /var/lib/nginx/body/0000000003 (deleted)
nginx   1412 tempest-web    2w   REG              202,1        111 151378 /var/log/nginx/error.log
nginx   1412 tempest-web    6w   REG              202,1        111 151378 /var/log/nginx/error.log