Bug 3019 - Memory and/or CPU time information in the MainWindow
Summary: Memory and/or CPU time information in the MainWindow
Status: RESOLVED FIXED
Alias: None
Product: frysk
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
: P2 enhancement
Target Milestone: ---
Assignee: Mike Cvet
URL:
Keywords:
Depends on:
Blocks: 1632
  Show dependency treegraph
 
Reported: 2006-08-10 15:17 UTC by Mike Cvet
Modified: 2006-08-10 15:20 UTC (History)
0 users

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Cvet 2006-08-10 15:17:57 UTC
It would be prudent to show the virtual memory size, the resident set size, and
the cpu time of processes through the MainWindow.
Comment 1 Mike Cvet 2006-08-10 15:20:30 UTC
2006-08-09  Mike Cvet  <mcvet@redhat.com>

	* ProcMenu.java (ProcMenu): Edited to list options for editing columns
	and refreshing. No longer statically referenced.
	* PIDMenu.java: Added.
	* PIDColumnDialog.java: Added - edit columsn for RSS, VSZ, and TIME.
	* SessionProcTreeView.java (SessionProcTreeView): Now initializes a 
	PIDColumnDialog and ProcMenu, among other new variables. Added a LifeCycle
	Listener onto the PIDColumnDialog.
	(mountProcModel): Initializes TreeViewColumn array with old and new 
	columns. Added relevant Listeners.
	(refreshTree): Added, calls the SessionProcDataModel to update its values 
	for memory and CPU time.
	(getColNames): Added.
	(load): Loads preferences for the PIDColumnDialog.
	(save): Saves preferences for the PIDColumnDialog.
	(setCols): Refactored from refreshTree().
	(columnClickedEvent): Added sorting for columns.
	* SessionProcDataModel.java (getSession): Added.
	(addProc): Added support for virtual memory, resident set size value, and 
	CPU time.
	initialization.
	(getVszDC): Added.
	(getRssDC): Added.
	(refreshRead): Added.
	(statRead): Added.
	(getTreeStore): Added.