Thus spake Tim Franklin:
Can I see what the XML output looks like?
–
J.
Messages mailing list
Messages@forums.vassalengine.org
forums.vassalengine.org/mailman/ … engine.org
Post generated using Mail2Forum (mail2forum.com)
Thus spake Tim Franklin:
Can I see what the XML output looks like?
–
J.
Messages mailing list
Messages@forums.vassalengine.org
forums.vassalengine.org/mailman/ … engine.org
Post generated using Mail2Forum (mail2forum.com)
On Sep 30, 2008, at 6:15 AM, Joel Uckelman wrote:
Thus spake Tim Franklin:
Joel Uckelman wrote:
Does ‘free’ exist on a Mac?
Nope. Best I can find is ‘system_profiler’:
tim@feathers:~$ system_profiler SPMemoryDataType
Memory:SODIMM0/J25LOWER:
Size: 1 GB
Type: DDR SDRAM
Speed: PC2700U-30330
Status: OKSODIMM1/J25UPPER:
Size: 1 GB
Type: DDR SDRAM
Speed: PC2700U-30330
Status: OKYou can have the output in XML instead if that’s easier to parse.
Can I see what the XML output looks like?
OK. Now, there is a nice vm_stat command, but nothing simple
[cowabunga:~] tar% system_profiler -xml SPMemoryDataType
<?xml version="1.0" encoding="UTF-8"?> _dataType SPMemoryDataType _detailLevel -1 _items _name BANK 0/DIMM0 dimm_manufacturer 0x7F4F000000000000 dimm_part_number 0x54533235364D535136345636552020202020 dimm_serial_number 0x0007AD90 dimm_size 2 GB dimm_speed 667 MHz dimm_status ok dimm_type DDR2 SDRAM _name BANK 1/DIMM1 dimm_manufacturer 0x7F4F000000000000 dimm_part_number 0x54533235364D535136345636552020202020 dimm_serial_number 0x0007AD90 dimm_size 2 GB dimm_speed 667 MHz dimm_status ok dimm_type DDR2 SDRAM _parentDataType SPHardwareDataType _properties _name _isColumn YES _order 10 dimm_ecc_errors _order 60 dimm_size _isColumn YES _order 20 dimm_speed _isColumn YES _order 40 dimm_status _isColumn YES _order 50 dimm_type _isColumn YES _order 30 volumes _detailLevel 0 volumes_anonymous _detailLevel -1 _maxDetailLevel 0 _timeStamp 2008-10-02T01:35:50Z _versionInfo com.apple.SystemProfiler.SPMemoryReporter 62Messages mailing list
Messages@forums.vassalengine.org
forums.vassalengine.org/mailman/ … engine.org
Post generated using Mail2Forum (mail2forum.com)