aac68
Новичок
Доброго всем дня. Посылаю запрос. Акшин запускает shell_exec команду.
Через 50-60 сек получаю ответ.
[K[29-07-23 22:01:53] Uploading ubuntu-jammy-22.04-cloudimg.vmdk... (0%, 2.8MiB/s)
[K[29-07-23 22:01:53] Uploading ubuntu-jammy-22.04-cloudimg.vmdk... (1%, 4.4MiB/s)
[K[29-07-23 22:01:53] Uploading ubuntu-jammy-22.04-cloudimg.vmdk... (1%, 5.0MiB/s)
[K[29-07-23 22:01:54] Uploading ubuntu-jammy-22.04-cloudimg.vmdk... (1%, 5.6MiB/s)
[K[29-07-23 22:01:54] Uploading ubuntu-jammy-22.04-cloudimg.vmdk... (1%, 5.6MiB/s)
[K[29-07-23 22:01:54] Uploading ubuntu-jammy-22.04-cloudimg.vmdk... (1%, 5.6MiB/s)
[K[29-07-23 22:01:54] Uploading ubuntu-jammy-22.04-cloudimg.vmdk... (1%, 5.9MiB/s)
[K[29-07-23 22:01:54] Uploading ubuntu-jammy-22.04-cloudimg.vmdk... (1%, 6.2MiB/s)
[K[29-07-23 22:01:54] Uploading ubuntu-jammy-22.04-cloudimg.vmdk... (1%, 6.2MiB/s)
[K[29-07-23 22:01:54] Uploading ubuntu-jammy-22.04-cloudimg.vmdk... (1%, 6.6MiB/s)
<.................................................................................................................>
<.................................................................................................................>
[K[29-07-23 22:02:33] Uploading ubuntu-jammy-22.04-cloudimg.vmdk... (97%, 31.5MiB/s)
[K[29-07-23 22:02:34] Uploading ubuntu-jammy-22.04-cloudimg.vmdk... (98%, 32.1MiB/s)
[K[29-07-23 22:02:34] Uploading ubuntu-jammy-22.04-cloudimg.vmdk... (99%, 35.2MiB/s)
[K[29-07-23 22:02:34] Uploading ubuntu-jammy-22.04-cloudimg.vmdk... (100%, 38.8MiB/s)
[K[29-07-23 22:02:34] Uploading ubuntu-jammy-22.04-cloudimg.vmdk... (100%, 34.5MiB/s)
[K[29-07-23 22:02:34] Uploading ubuntu-jammy-22.04-cloudimg.vmdk... (100%, 32.3MiB/s)
[K[29-07-23 22:02:34] Uploading ubuntu-jammy-22.04-cloudimg.vmdk... (100%, 29.0MiB/s)
[K[29-07-23 22:02:34] Uploading ubuntu-jammy-22.04-cloudimg.vmdk... (100%, 23.7MiB/s)
[K[29-07-23 22:02:34] Uploading ubuntu-jammy-22.04-cloudimg.vmdk... (100%, 21.0MiB/s)
[K[29-07-23 22:02:34] Uploading ubuntu-jammy-22.04-cloudimg.vmdk... (100%, 21.0MiB/s)
[K[29-07-23 22:02:34] Uploading ubuntu-jammy-22.04-cloudimg.vmdk... OK
Если запустить через консоль, то видно, как установка идет, как накручиваются проценты.
А вот с брузером мучаюсь, не получается. Как в процессе ожидания можно запрашивать это информацию по кускам у сервера.
Спасибо заранее
Через 50-60 сек получаю ответ.
[K[29-07-23 22:01:53] Uploading ubuntu-jammy-22.04-cloudimg.vmdk... (0%, 2.8MiB/s)
[K[29-07-23 22:01:53] Uploading ubuntu-jammy-22.04-cloudimg.vmdk... (1%, 4.4MiB/s)
[K[29-07-23 22:01:53] Uploading ubuntu-jammy-22.04-cloudimg.vmdk... (1%, 5.0MiB/s)
[K[29-07-23 22:01:54] Uploading ubuntu-jammy-22.04-cloudimg.vmdk... (1%, 5.6MiB/s)
[K[29-07-23 22:01:54] Uploading ubuntu-jammy-22.04-cloudimg.vmdk... (1%, 5.6MiB/s)
[K[29-07-23 22:01:54] Uploading ubuntu-jammy-22.04-cloudimg.vmdk... (1%, 5.6MiB/s)
[K[29-07-23 22:01:54] Uploading ubuntu-jammy-22.04-cloudimg.vmdk... (1%, 5.9MiB/s)
[K[29-07-23 22:01:54] Uploading ubuntu-jammy-22.04-cloudimg.vmdk... (1%, 6.2MiB/s)
[K[29-07-23 22:01:54] Uploading ubuntu-jammy-22.04-cloudimg.vmdk... (1%, 6.2MiB/s)
[K[29-07-23 22:01:54] Uploading ubuntu-jammy-22.04-cloudimg.vmdk... (1%, 6.6MiB/s)
<.................................................................................................................>
<.................................................................................................................>
[K[29-07-23 22:02:33] Uploading ubuntu-jammy-22.04-cloudimg.vmdk... (97%, 31.5MiB/s)
[K[29-07-23 22:02:34] Uploading ubuntu-jammy-22.04-cloudimg.vmdk... (98%, 32.1MiB/s)
[K[29-07-23 22:02:34] Uploading ubuntu-jammy-22.04-cloudimg.vmdk... (99%, 35.2MiB/s)
[K[29-07-23 22:02:34] Uploading ubuntu-jammy-22.04-cloudimg.vmdk... (100%, 38.8MiB/s)
[K[29-07-23 22:02:34] Uploading ubuntu-jammy-22.04-cloudimg.vmdk... (100%, 34.5MiB/s)
[K[29-07-23 22:02:34] Uploading ubuntu-jammy-22.04-cloudimg.vmdk... (100%, 32.3MiB/s)
[K[29-07-23 22:02:34] Uploading ubuntu-jammy-22.04-cloudimg.vmdk... (100%, 29.0MiB/s)
[K[29-07-23 22:02:34] Uploading ubuntu-jammy-22.04-cloudimg.vmdk... (100%, 23.7MiB/s)
[K[29-07-23 22:02:34] Uploading ubuntu-jammy-22.04-cloudimg.vmdk... (100%, 21.0MiB/s)
[K[29-07-23 22:02:34] Uploading ubuntu-jammy-22.04-cloudimg.vmdk... (100%, 21.0MiB/s)
[K[29-07-23 22:02:34] Uploading ubuntu-jammy-22.04-cloudimg.vmdk... OK
Если запустить через консоль, то видно, как установка идет, как накручиваются проценты.
А вот с брузером мучаюсь, не получается. Как в процессе ожидания можно запрашивать это информацию по кускам у сервера.
Спасибо заранее