Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: RE: Re: RE: Re: RE: Re: OS memory availability


From   "Nick Cox" <[email protected]>
To   <[email protected]>
Subject   st: RE: Re: RE: Re: RE: Re: OS memory availability
Date   Wed, 31 Mar 2004 00:07:10 +0100

When I run my program, it works as I expected. Perhaps 
this is dependent on "systeminfo". Here is how mine
starts. 

Host Name: DOG138
OS Name: Microsoft Windows XP Professional
OS Version: 5.1.2600 Build 2600
OS Manufacturer: Microsoft Corporation
OS Configuration: Member Workstation
OS Build Type: Uniprocessor Free
Registered Owner: Geography Department
Registered Organization: Durham University
Product ID: 55274-640-1929635-23835
Original Install Date: 3/20/2002, 15:05:34
System Up Time: 16 Days, 6 Hours, 28 Minutes, 25 Seconds
System Manufacturer: RM plc                         
System Model: HV84510A
System type: X86-based PC
Processor(s): 1 Processor(s) Installed.,[01]: x86 Family 15 Model 0 Stepping 10 GenuineIntel ~1495 Mhz
BIOS Version: D845HV - 20011024
...

Nick 
[email protected] 

> -----Original Message-----
> From: [email protected]
> [mailto:[email protected]]On Behalf Of Michael
> Blasnik
> Sent: 30 March 2004 23:58
> To: [email protected]
> Subject: st: Re: RE: Re: RE: Re: OS memory availability
> 
> 
> When I insheet the file, I get variable names and one observation
> (containing the values), not 2 observations..
> 
> Michael Blasnik
> [email protected]
> ----- Original Message ----- 
> From: "Nick Cox" <[email protected]>
> To: <[email protected]>
> Sent: Tuesday, March 30, 2004 5:41 PM
> Subject: st: RE: Re: RE: Re: OS memory availability
> 
> 
> > r() stuff: good idea, but I see no typo (or even "type").
> > The variable names v1, v2, ... are useless here.
> >
> > Nick
> > [email protected]
> >
> > > -----Original Message-----
> > > From: [email protected]
> > > [mailto:[email protected]]On Behalf Of Michael
> > > Blasnik
> > > Sent: 30 March 2004 23:31
> > > To: [email protected]
> > > Subject: st: Re: RE: Re: OS memory availability
> > >
> > >
> > > This should be quite handy.   It would be worthwhile to make
> > > it rclass and
> > > leave behind key info in r(), such as r(freephysicalmemory).
> > > Also, the
> > > listing of info has a small type:
> > >
> > > di as txt `v'[1] ": " `v'[2]
> > >
> > > should be:
> > >
> > > di as txt "`v':  "` v'[1]
> > >
> > > Michael Blasnik
> > > [email protected]
> > >
> > > ----- Original Message ----- 
> > > From: "Nick Cox" <[email protected]>
> > > To: <[email protected]>
> > > Sent: Tuesday, March 30, 2004 5:17 PM
> > > Subject: st: RE: Re: OS memory availability
> > >
> > >
> > > > I built a bit on Kevin's useful idea.
> > > > If you don't see the downside of this
> > > > program, don't use it. If you want to
> > > > build on it, feel free.
> > > >
> > > > program systeminfo
> > > > version 8
> > > > tempfile file
> > > > preserve
> > > > clear
> > > > shell systeminfo /FO CSV > `file'
> > > > qui insheet using `"`file'"', comma
> > > >
> > > > foreach v of var * {
> > > > di as txt `v'[1] ": " `v'[2]
> > > > }
> > > > end
> > > >
> > > >
> > > > Nick
> > > > [email protected]
> > > >
> 
> 
> *
> *   For searches and help try:
> *   http://www.stata.com/support/faqs/res/findit.html
> *   http://www.stata.com/support/statalist/faq
> *   http://www.ats.ucla.edu/stat/stata/
> 

*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index