libps - PSTAT_TASK_BASIC
Hi,
I am trying to access:
proc_stat_task_basic_info(proc)->virtual_size
after successfully setting: PSTAT_TASK_BASIC, however, the structure
reports:
(gdb) p *proc->task_basic_info
$8 = {suspend_count = 0, base_priority = 12, virtual_size = 153505792,
resident_size = 1474560, user_time = {seconds = 0, microseconds = 10000},
system_time = {seconds = 0, microseconds = 0}, creation_time = {
seconds = 949005414, microseconds = 120000}}
This data seems pretty bad to me, 150 megs for a bash shell? And nearly
no CPU time. Am I setting the wrong flag?
-Neal
--
----------------------------------------------------------------------------
Neal Walfield neal@walfield.org
UMass Lowell - Fox 1512 Phone: 978-934-5347
Fax: 603-415-3645
Love is the triumph of imagination over intelligence.
-- H. L. Mencken
Reply to: