MSFN Forum: Command Line x64 Tools? - MSFN Forum

Jump to content



Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Command Line x64 Tools? Rate Topic: -----

#1 User is offline   Mexxi 

  • Newbie
  • Group: Members
  • Posts: 31
  • Joined: 10-January 10

Posted 16 February 2010 - 10:15 AM

I'm looking for an x64 command line tool that can output an operating system's free RAM. So far I've been using pmon.exe for that job, but this is a 32bit one and I can't use it on a x64-only system. So does anyone know of an x64-replacement? Does anyone know where to find a whole bunch of native x64 command line tools for other purposes?


#2 User is offline   Tripredacus 

  • K-Mart-ian Legend
  • Group: Super Moderator
  • Posts: 7,349
  • Joined: 28-April 06
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 16 February 2010 - 12:04 PM

You can use Powershell for both environments. Here is an example I think that might be just what you are looking for:
http://www.informit....rver&seqNum=235

#3 User is offline   Mexxi 

  • Newbie
  • Group: Members
  • Posts: 31
  • Joined: 10-January 10

Posted 16 February 2010 - 12:21 PM

Thank you for your quick reply :)

I never heard of PowerShell, but it sure looks useful and it might come in handy in my future endeavors. For this one, however, it doesn't work. It relies on Net Framework 2.0. I need a standalone tool which can run on a minimal Windows without the need for much overhead. PowerShell seems to be the exact opposite of having no overhead.

So far, I used pmon.exe for getting some status reports on RAM-usage. It's a 10kb command line executable. Easy to use and very small with basically no requirements. Too bad that there is no x64-version of it. So I hope to find a similarly small and easy tool for x64 systems.

This post has been edited by Mexxi: 16 February 2010 - 12:22 PM


#4 User is offline   DigeratiPrime 

  • MSFN Junkie
  • Group: Super Moderator
  • Posts: 3,490
  • Joined: 18-August 04
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 16 February 2010 - 02:02 PM

Pick one:
systeminfo
wmic os get FreePhysicalMemory
wmic os get FreeVirtualMemory
wmic os get TotalVirtualMemorySize
wmic os get TotalVisibleMemorySize


#5 User is offline   Mexxi 

  • Newbie
  • Group: Members
  • Posts: 31
  • Joined: 10-January 10

Posted 16 February 2010 - 02:44 PM

Thanks a lot for these suggestions! I never used WMIC for that, but this going to be my new way to invoke this information from command line now.

However, this still doesn't work for what I have in mind. I guess I should have been more specific. I'm using a super slim command shell-only XP x64. There are no bells and whistles like WMIC left to use, so I need a standalone application that is absolutely independent from most Windows components.

#6 User is offline   CoffeeFiend 

  • Coffee Aficionado
  • Group: Super Moderator
  • Posts: 5,260
  • Joined: 14-July 04
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 16 February 2010 - 04:29 PM

I could quickly write something in VC++ but it would require the VC++ redist to be installed. Your call.

#7 User is offline   Mexxi 

  • Newbie
  • Group: Members
  • Posts: 31
  • Joined: 10-January 10

Posted 16 February 2010 - 04:49 PM

View PostCoffeeFiend, on 16 February 2010 - 04:29 PM, said:

I could quickly write something in VC++ but it would require the VC++ redist to be installed. Your call.


Wow, that is a very nice offer! Thanks a lot, but thankfully I just found a little app called RamStatus which just works nicely, just as I had hoped. Thanks again for your offer and also for all the other suggestions you guys sent. They will be useful to me in the future :)

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy