Index: /branches/rel_apv_10_7/usr/click/lib/libip/ipvers.c
===================================================================
--- /branches/rel_apv_10_7/usr/click/lib/libip/ipvers.c	(revision 39799)
+++ /branches/rel_apv_10_7/usr/click/lib/libip/ipvers.c	(working copy)
@@ -540,6 +540,41 @@
 	return 0;
 }
 
+/* --- Disk Speed Test Configuration --- */
+#define TEST_FILE "/tmp/disk_test_file"
+#define BLOCK_SIZE "1M"
+#define BLOCK_COUNT "4000" /* 4GB test size for reliable measurement */
+#define MAX_LINE_LEN 512
+
+/* The DD command to be executed for speed testing.
+ * 2>&1 redirects the summary (stderr) to stdout for popen capture.
+ */
+#define DD_CMD "dd if=/dev/zero of=" TEST_FILE " bs=" BLOCK_SIZE " count=" BLOCK_COUNT " 2>&1"
+
+static int print_disk_speed(void)
+{
+	FILE *fp = NULL;
+	char buffer[MAX_LINE_LEN];
+
+	if ((fp = popen(DD_CMD, "r")) == NULL) {
+		perror("Error executing dd command via popen");
+		goto cleanup;
+	}
+
+	while (fgets(buffer, sizeof(buffer), fp) != NULL) {
+		if (strstr(buffer, "copied,") != NULL) {
+			printf("\tDisk Speed:\t%s\n", buffer);
+		}
+	}
+
+	pclose(fp);
+
+cleanup:
+	remove(TEST_FILE);
+	return 0;
+
+}
+
 static int print_disk_health_stat(void)
 {
 	FILE *stream = NULL;
@@ -945,6 +980,7 @@
 
 		print_memory_info(temp_size, size_num);
 		print_disk_info();
+		print_disk_speed();
 		print_nic_info();
 		print_bios_verion();
 		print_bootloader_verion();
