• Post Reply Bookmark Topic Watch Topic
  • New Topic

How can I output realtime system resources to a label or textarea?  RSS feed

 
Benjamin Mulder
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How can I output realtime system resources into a label or textarea?

by system resources I mean memory, swapping, cpu utilitization. You know, stuff that changes constantly by the second.

I would like to mirror exactly what's going on in realtime to a label or textarea.

my idea below...by the way, the "/usr/bin/top" is the linux command to get all relevant resources in realtime. Similar to the Windows Task Manager > Performance tab.

pseudocode here

[ July 14, 2004: Message edited by: Benjamin Mulder ]
 
Darin Niard
Ranch Hand
Posts: 118
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

This will allow you to read in the text.
[ July 14, 2004: Message edited by: Darin Niard ]
 
Dirk Schreckmann
Sheriff
Posts: 7023
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Moving this to the Intermediate forum for any further discussion of interacting with a system process.

For any questions specific to GUI development, I'd suggest moseying on over to the Swing / JFC / AWT forum.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!