jor1k icon indicating copy to clipboard operation
jor1k copied to clipboard

Add status screen

Open s-macke opened this issue 9 years ago • 7 comments

One of the main applications of jor1k is teaching. It would be therefore nice to add a status-screen with statistics about syscalls, page faults, exceptions, network usage, filesystem usage, and further debug messages.

s-macke avatar Jul 22 '14 21:07 s-macke

can we use dtrace for this?

regular avatar Jan 08 '15 12:01 regular

No, I wouldn't do it on Linux emulation level, but on the Javascript level. A stats-object which can be accessed by every device. (like message). And the user can choose which details he wants to see. Especially interesting is the filesystem. Which files are downloaded and which are opened. A button next to the framebuffer to switch between the framebuffer and different debug outputs. At the moment the website is overloaded to do all this.There is so much more I would like to change on the current user interface.

s-macke avatar Jan 08 '15 16:01 s-macke

This is awesome. I would love to help, let me know what I can do.

neelabhg avatar Apr 26 '15 09:04 neelabhg

Just start. You can't do much wrong, because I have no idea yet, how to implement it in a nice way.

s-macke avatar Apr 27 '15 07:04 s-macke

For the moment, it doesn't matter how the stats are displayed. If instead of the framebuffer, in the terminal or outside of terminal and framebuffer.

s-macke avatar Apr 27 '15 07:04 s-macke

Could see using a tty for this, or it'd be pretty awesome to send statsd messages from inside the image sent to an emulated daemon running alongside the main VM.

The latter would be a fair amount of effort but having the ability to write client side 'servers' in JS which run outside the emulator and interact via the network would probably open up all sorts of interesting things.

Ideally such a thing could be written to run in node and connect via the relay (e.g. no special handling here), or to embed in the browser itself.

benjamincburns avatar Oct 02 '15 17:10 benjamincburns

Otherwise, I'm not sure how you can get stats on those things without something living inside the image to give them to you.

benjamincburns avatar Oct 02 '15 17:10 benjamincburns