[PVFS2-CVS] commit by pcarns in pvfs2/src/client/sysint: mgmt-statfs-list.sm

CVS commit program cvs at parl.clemson.edu
Sun Sep 19 21:26:05 EDT 2004


Update of /projects/cvsroot/pvfs2/src/client/sysint
In directory parlweb:/tmp/cvs-serv16654/src/client/sysint

Modified Files:
	mgmt-statfs-list.sm 
Log Message:
make statfs return load averages from sysinfo()


Index: mgmt-statfs-list.sm
===================================================================
RCS file: /projects/cvsroot/pvfs2/src/client/sysint/mgmt-statfs-list.sm,v
diff -p -u -r1.31 -r1.32
--- mgmt-statfs-list.sm	28 Jul 2004 14:32:32 -0000	1.31
+++ mgmt-statfs-list.sm	20 Sep 2004 00:26:04 -0000	1.32
@@ -245,6 +245,9 @@ static int statfs_list_comp_fn(void *v_p
 	sm_stat->bytes_total = resp_stat->bytes_total;
 	sm_stat->ram_total_bytes = resp_stat->ram_total_bytes;
 	sm_stat->ram_free_bytes = resp_stat->ram_free_bytes;
+	sm_stat->load_1 = resp_stat->load_1;
+	sm_stat->load_5 = resp_stat->load_5;
+	sm_stat->load_15 = resp_stat->load_15;
 	sm_stat->uptime_seconds = resp_stat->uptime_seconds;
 	sm_stat->handles_available_count =
             resp_stat->handles_available_count;



More information about the PVFS2-CVS mailing list