Bug 3019

Summary: Memory and/or CPU time information in the MainWindow
Product: frysk Reporter: Mike Cvet <mcvet>
Component: generalAssignee: Mike Cvet <mcvet>
Status: RESOLVED FIXED    
Severity: enhancement    
Priority: P2    
Version: unspecified   
Target Milestone: ---   
Host: Target:
Build: Last reconfirmed:
Bug Depends on:    
Bug Blocks: 1632    

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.