-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On Wed, May 14, 2025 at 05:38:54PM -0000, qubist wrote:
> On Wed, 14 May 2025 19:02:03 +0200 Marek Marczykowski-Górecki wrote:
> 
> > Simply don't run it every second... If you really need to, make a
> > script that runs continuously and outputs new info every second.
> 
> But that is not possible. The data (RX/TX transfer bytes) is in sys-net
> and needs to be read frequently to make realtime monitoring.
> Calculations can happen either in dom0 or in sys-net.
> 
> If in dom0: There need to be at least 4 polls (4 x qvm-run), i.e. even
> worse.
> If in sys-net: There will be only one poll per cycle (one qvm-run),
> pulling the result only (what I use).
> 
> The only problem is the slowness of qvm-run.
> 
> Or... I don't understand your idea. I hope you can clarify.

qvm-run -p sys-net "while sleep 1; do your-magic-commands; done"

And then handle incoming data as it goes.

- -- 
Best Regards,
Marek Marczykowski-Górecki
Invisible Things Lab
-----BEGIN PGP SIGNATURE-----

iQEzBAEBCAAdFiEEhrpukzGPukRmQqkK24/THMrX1ywFAmgk6swACgkQ24/THMrX
1yzSJwf/esWOvgxX494JKIJcyrvjfabN9zuHs0aG4eDgr8Z/21M0QdcSkKmHyWxW
BQNtHKmqS+i+BiMQWJsN8tCw/bFz7eXKrNMfGPz8Udr14Zf7Zv3DucLopcrCYt1j
5Gny/dvRyGNJkSio1GIfuf1hxX8yCO58v28l9EstCRbITRAqBj2tPcHhaGWB7xMa
secypDtYgaa/1bmRzRDhkz/a0SJcqYoJu2MlW+TROApT1MDabNCS+NIYgCGw+XfN
fTWHb6tJ3z8gr9g+jhKVXJbseiId/3ZmXVWb/c0mIRstN62BhlksG+r+gcPdAiPA
uOwVbcn0ZeVA7w739gUgW4WSsyytyA==
=gCKV
-----END PGP SIGNATURE-----

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-devel+unsubscr...@googlegroups.com.
To view this discussion visit 
https://groups.google.com/d/msgid/qubes-devel/aCTqzB-VeJ4O0typ%40mail-itl.

Reply via email to