Kostis Netzwerkberatung
Konstantinos Kostis
Talstr. 25, D-63322 Rödermark
Tel. +49 6074 881056, FAX 881058
kosta@kostis.net (Kosta
Kostis)
http://www.kostis.net/
V1.02 2001-03-13 KK
prints information about local PC in XML or CSV format.
External
pcstat32 [-csv]
The following information is displayed: (in this example output from my computer video)
<?xml version="1.0" standalone="yes"?>
<video>
<os>
<osplatform>NT</osplatform>
<osversion>5.0</osversion>
<osbuild>2195</osbuild>
<oscsdversion>Service Pack 1</oscsdversion>
</os>
<net>
<user>kostis</user>
<hostname>natlive</hostname>
<fqdn>video.kostis.net</fqdn>
<ipaddr>192.168.0.4</ipaddr>
<mac>=00-60-08-50-4B-E0</mac>
</net>
<date>
<localdate>2001-03-13</localdate>
<localtime>19:13:27</localtime>
</date>
<cpu>
<cpunum>1</cpunum>
<cpuid>686</cpuid>
<cpumodel>8</cpumodel>
<cpustepping>6</cpustepping>
</cpu>
<mem>768</mem>
<drives>
<drive>
<driveletter>c</driveletter>
<drivelabel>videoboot</drivelabel>
<drivesize>19563</drivesize>
<drivefree>12277</drivefree>
</drive>
<drive>
<driveletter>d</driveletter>
<drivelabel>videodata</drivelabel>
<drivesize>42930</drivesize>
<drivefree>41654</drivefree>
</drive>
<drive>
<driveletter>e</driveletter>
<drivelabel>videomaster</drivelabel>
<drivesize>16527</drivesize>
<drivefree>15484</drivefree>
</drive>
</drives>
</video>Output in CSV format is not complete. It contains only the following fields:
"video","NT","5.0","kostis","192.168.0.4","00-60-08-50-4B-E0","2001-03-13","19:13:27","686","768","videoboot ","19563","12277"
%computername%
%osplatform%
%osversion%
%user%
%ipaddr%
%mac%
%localdate%
%localtime%
%drivelabel-c%
%drivesize-c%
%drivefree-c%
property meaning/possible values osplatform 95|98|NT (W2K will also return NT) osversion Major.Minor Version of OS (5.0 for W2K) osbuild build for Microsoft Windows NT oscsdversion for Microsoft Windows NT user login username hostname DNS hostname of machine fqdn hostname and DNS domain name (complete with domain) ipaddr IP address mac first non/zero MAC address in netdb format localdate current date localtime current time cpunum number of CPUs cpuid CPU id: 386, 486, 586, 686, ... cpumodel means only something on Intel Pentium and above
returns incorrect values under Microsoft Windows 95cpustepping means only something on Intel Pentium and above
returns incorrect values under Microsoft Windows 95driveletter eg. "c" drivelabel drive label drivesize size of drive in MB drivefree free space on drive in MB
Microsoft Windows 95(a) does not feature the function GetDriveSpaceEx () which causes pcstat32 to generate an error message when run (names kernel32.dll, never mind). Use pcstat95 instead which uses GetDriveSpace () but will not report more than 2 GB under Microsoft Windows 95(a). On all other platforms use pcstat32.
pcstat32
Win32 console application for Microsoft Windows 95/98/NT/2000.
Copyright © 1999-2001 by Kostis Netzwerkberatung
Talstr. 25, D-63322 Rödermark, Tel. +49 6074 881056, FAX 881058
kosta@kostis.net (Kosta Kostis), http://www.kostis.net/
You may use this program free of charge at your own risk.