Hello All,

I have a file with the info in the following format;

================Start of File=====================
Server Name: ABCDEF
Manufacturer: Dell
Model: Some Model
Number Of Processors (Includes MultiThread): 2
Maximum Clock Speed: 3 - GHZ
Serial Number: 123456
Proc Usage: (1 Proc Sample Only) 1%
Mem Total: 2 - GB
DeviceID:  C:  Space: 20GB  Used Space: 2GB  UTIL: 61.4991581037678%
DeviceID:  E:  Space: 567.90882304GB  Used Space: 32GB  UTIL:
5.66111272649405%
DeviceID:  F:  Space: 5GB  Used Space: 3GB  UTIL: 7.68405957709316%
Log File Directory: C:\WINDOWS\system32\LogFiles
196.136
Service Pack: 2.0
Connections: 53
HTTPERR Folder:
OS Directory: C:\WINDOWS
System Directory: C:\WINDOWS\system32
----------------------------
Server Name: GHIJKL
Manufacturer: Dell
Model: Some Model
Number Of Processors (Includes MultiThread): 4
Maximum Clock Speed: 3 - GHZ
Serial Number: 123456
Proc Usage: (1 Proc Sample Only) 0%
Mem Total: 2 - GB
DeviceID:  C:  Space: 2GB  Used Space: 9GB  UTIL: 46.0333821902412%
DeviceID:  E:  Space: 5GB  Used Space: 3GB  UTIL: 7.68405957709316%
69.136
Service Pack: 2.0
Connections: 206
HTTPERR Folder:
OS Directory: C:\WINDOWS
System Directory: C:\WINDOWS\system32
----------------------------
================End of File=====================

Each machine entry is seperated by a "----------------------------" in the
file. I need to put together each machine entry in the following way;

*Server_Name  Manufacture   Model   # of Procs   Serial#  Total_Mem  Disk1
Disk2  Disk3  Service_Pack*

The number of disks could be two or more for each machine and I want to be
able to capture all of them.

Can any one help me with the logic for this type data processing?

Regards,

A

Reply via email to