Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: sysinfo in batch mode


From   Sergiy Radyakin <[email protected]>
To   "[email protected]" <[email protected]>
Subject   Re: st: sysinfo in batch mode
Date   Fri, 2 Aug 2013 14:02:54 -0400

that's because sysinfo is not a valid command
valid command is systeminfo
note also, that it produces much of the sensitive info that the admin
of the remote system may not be very happy to share with all the
users, so check if concerned.
If you are thinking about something like:

getwinmemsize x
set mem `x'mb

then forget about it.
In Stata 12 the memory manager will do it's best to automatically
allocate memory as needed.
In earlier versions you can have
set mem `x'mb
set mem `x'mb
with first statement working and second failing.
The information may become too old to be usable between your query and
you using it's result.
The only legitimate way to do this in the earlier versions of Stata is
to try to claim memory and analyze the result.

Best, Sergiy


On Fri, Aug 2, 2013 at 1:42 PM, László Sándor <[email protected]> wrote:
> Hi,
> I want to know how much memory is available for my Stata/MP 12.1 on a
> Windows server running my batches, but I cannot find a command to
> query the operating system for this.
>
> I could have used -sh sysinfo > sysinfo.txt- for this, but (Stata for)
> Windows does not respect shell requests in batch mode. My interactive
> jobs are not running on the same server.
>
> Thanks for any thoughts,
>
> Laszlo
> *
> *   For searches and help try:
> *   http://www.stata.com/help.cgi?search
> *   http://www.stata.com/support/faqs/resources/statalist-faq/
> *   http://www.ats.ucla.edu/stat/stata/

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/faqs/resources/statalist-faq/
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index