more – openSUSE Lizards https://lizards.opensuse.org Blogs and Ramblings of the openSUSE Members Fri, 06 Mar 2020 11:29:40 +0000 en-US hourly 1 Ullae-veliyae (iotop-gui) : Hackweek https://lizards.opensuse.org/2009/07/23/ullae-veliyae-hackweek/ https://lizards.opensuse.org/2009/07/23/ullae-veliyae-hackweek/#comments Thu, 23 Jul 2009 12:55:10 +0000 http://lizards.opensuse.org/?p=1610 The hackweek project I worked on was to implement a live graphing utility for per process I/O data. See https://features.opensuse.org/306941 (Yes, I added the fate request, just now, after doing most of the work.)

Screen-shots, RPM download link, project homepage link,..

The main idea behind choosing to work on this was to do some GUI programming on a modern language. I work on the linux-kernel(so no gui) and most of the time I write ‘C’ programs.(In fact, at times even when bash would be appropriate!)

So I decided to do this and had to choose between moonlight and Java. My experience with C# was nil, and moonlight was an applet/flash equivalent not aimed at desktop apps.(Yes, there are desktop applications in flash. Even mono has mopen) I thought that I would have to access procfs and might also need to do netlink sockets and moonlight could be a problem. And the real benefit of flash is the the IDE/designer for development, which anyway moonlight is yet to get. In the end, I chose Java.(was a tough fight with C# but again gtk# versus winforms…)

And here it is..

watch dd

watching dd...

Watching vlc reading from disk as I seek

Watching vlc reading from disk as I seek

You can download it from http://download.opensuse.org/repositories/home:/nikanth/ The source is also available at http://gitorious.org/ullae-veliyae/

RPM quick Links:

http://download.opensuse.org/repositories/home:/nikanth/openSUSE_11.1/i586/ullae-veliyae-1.0-11.1.i586.rpm

http://download.opensuse.org/repositories/home:/nikanth/openSUSE_11.1/x86_64/ullae-veliyae-1.0-11.1.x86_64.rpm

[Yes, it should be made as no-arch! ;)]

chaos

chaos

If you are trying it out, see whether you can find an easter egg? 😉 [Yes, it is kind of lame to have easter-eggs on a open-source project with just hundreds of LOC] The easter egg is an hidden functionality.

I should thank Vojtech Pavlik, for his very useful ideas of “history”, such that we can squeeze the historical data and keep it for longer duration. And another idea of showing average of the data instead of current data, as it tends to be spiky. I haven’t implemented rolling-window for the average though.

A picture is worth 1000 words, but trying it out yourself is worth much more than that.  So play with this once. 🙂

]]>
https://lizards.opensuse.org/2009/07/23/ullae-veliyae-hackweek/feed/ 4