ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/i-scream/projects/cms/source/ihost/libstatgrab/page_stats.c
(Generate patch)

Comparing projects/cms/source/ihost/libstatgrab/page_stats.c (file contents):
Revision 1.2 by tdb, Thu May 16 15:25:45 2002 UTC vs.
Revision 1.3 by pajs, Thu May 16 17:02:43 2002 UTC

# Line 65 | Line 65 | char *get_page_stats(){
65                          continue;
66                  }
67          }
68 <
68 >        if((kstat_close(kc)) != 0){
69 >                errf("Failed to close kstat control structure (%m)");
70 >                return NULL;
71 >        }
72          swap_pageins=(cs.cpu_vminfo.pgswapin-swapin)/WAIT_TIME_IN_SECS;
73          swap_pageouts=(cs.cpu_vminfo.pgswapout-swapout)/WAIT_TIME_IN_SECS;
74   #endif

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines