> From:Marc A Hilbert
> Is there a command that I can execute from TCL in 
> universe (Windows 10.1.18) that indicates total 
> available shared memory?


If you have PowerShell loaded, shell from TCL or BASIC to execute
this:
(Single command broken into multiple lines for readability)

Powershell -noexit -command
 "&{Get-WmiObject 
 -Query 'Select * from Win32_OperatingSystem'
 | Select FreePhysicalMemory
 | Format-Table -AutoSize;}" 


You can also parse output from the "mem" command, though when I
just did that my whole system took a pause for about a minute.


Finally, you can do this:
systeminfo | find "Available Physical Memory"

Without the Find to limit the output you're going to get a Lot of
other info.  Just execute these commands from 'cmd' to see what
the data looks like.  Note that if you just capture the output
from systeminfo you're going to get a lot more than the bottom
line because it outputs status as it gathers data.  You'll need
to do some parsing.  See microsoft.com/resources/documentation
for details about systeminfo.

HTH

Tony Gravagno
Nebula Research and Development
TG@ remove.pleaseNebula-RnD.com
remove.pleaseNebula-RnD.com/blog
Visit PickWiki.com! Contribute!
http://Twitter.com/TonyGravagno

_______________________________________________
U2-Users mailing list
[email protected]
http://listserver.u2ug.org/mailman/listinfo/u2-users

Reply via email to