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 19:50:18 -0400

On Fri, Aug 2, 2013 at 2:50 PM, László Sándor <[email protected]> wrote:
> Thanks, Sergiy.
>
> Actually, no shell command runs in batch mode on Windows, irrespective
> of my typo in systeminfo.

That's true, László, but there are good reasons for that. Do you have
a flexibility to run in a non-batch mode? If this is a big project,
you may try to use another product by StataCorp called NBS (Numerics
By Stata), in which you can customize such requirements:
http://www.stata.com/products/numerics-by-stata/

Alternatively, you can write a plugin to report the Windows memory
performance indicators. For example, it may look like sysinfo:
http://radyakin.org/statalist/2013080201/sysinfo.htm

Looking forwards to hear how you can improve Stata's memory performance!

Best,
   Sergiy Radyakin


>
> I was wondering about how large data to try to manage in Stata without
> breaking things, or whether to adjust segmentsize. Probably not worth
> more time if it is not that simple to solve.
>
> Thanks again,
>
> Laszlo
>
> On Fri, Aug 2, 2013 at 2:02 PM, Sergiy Radyakin <[email protected]> wrote:
>> 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/
>
> *
> *   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