diff --git "a/Doc/\345\210\206\345\270\203\345\274\217\346\226\207\344\273\266\345\255\230\345\202\250.eddx" "b/Doc/\345\210\206\345\270\203\345\274\217\346\226\207\344\273\266\345\255\230\345\202\250.eddx"
new file mode 100644
index 0000000..86629fe
Binary files /dev/null and "b/Doc/\345\210\206\345\270\203\345\274\217\346\226\207\344\273\266\345\255\230\345\202\250.eddx" differ
diff --git "a/Doc/\345\210\206\345\270\203\345\274\217\346\226\207\344\273\266\345\255\230\345\202\250.emmx" "b/Doc/\345\210\206\345\270\203\345\274\217\346\226\207\344\273\266\345\255\230\345\202\250.emmx"
new file mode 100644
index 0000000..4509fba
Binary files /dev/null and "b/Doc/\345\210\206\345\270\203\345\274\217\346\226\207\344\273\266\345\255\230\345\202\250.emmx" differ
diff --git "a/Doc/\345\210\206\345\270\203\345\274\217\346\226\207\344\273\266\345\255\230\345\202\250.jpg" "b/Doc/\345\210\206\345\270\203\345\274\217\346\226\207\344\273\266\345\255\230\345\202\250.jpg"
new file mode 100644
index 0000000..3a5b032
Binary files /dev/null and "b/Doc/\345\210\206\345\270\203\345\274\217\346\226\207\344\273\266\345\255\230\345\202\250.jpg" differ
diff --git a/StarAgent/CommandHandler/ShowMachineInfo.cs b/StarAgent/CommandHandler/ShowMachineInfo.cs
index 5bf1e7e..70f9ed1 100644
--- a/StarAgent/CommandHandler/ShowMachineInfo.cs
+++ b/StarAgent/CommandHandler/ShowMachineInfo.cs
@@ -105,5 +105,25 @@ public class ShowMachineInfo : BaseCommandHandler
XTrace.WriteLine("\tDns:\t{0}", ipp.DnsAddresses.Where(e => e.IsIPv4()).Join());
}
}
+
+ // 磁盘信息
+ foreach (var info in DriveInfo.GetDrives())
+ {
+ var format = "";
+ var label = info.IsReady ? "" : "[NotReady]";
+ var size = 0L;
+ try
+ {
+ format = info.DriveFormat;
+ label = info.VolumeLabel;
+ size = info.TotalSize;
+ }
+ catch { }
+
+ XTrace.WriteLine("{0}\t{1}\t{2}\t{3}\t{4}", info.DriveType, format, info.Name, label, size.ToGMK());
+ }
+
+ // 等一会,等控制台输出日志
+ Thread.Sleep(100);
}
}