ly sent a little as an example...)
- Original Message -
From: "Robert Citek" <[EMAIL PROTECTED]>
To: "Bruce Dobrin" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Wednesday, February 26, 2003 2:03 PM
Subject: Re: cpu and partition info
>
> Thanks,
Thanks, Bruce,
At 12:02 PM 2/26/2003 -0800, Bruce Dobrin wrote:
>It took me about an hour to change/add enough to the perl GPL "hinv" port to
>get it to work with cygwin ( hinv v 1.4pre2).
I took your code and modified it. Works great under Cygwin. See below.
I'm not quite sure what this code
>Original Message:
>-
>From: Chris January [EMAIL PROTECTED]
>Date: Wed, 26 Feb 2003 19:32:07 -
>To: [EMAIL PROTECTED], [EMAIL PROTECTED]
>Subject: RE: cpu and partition info
>
>
>> Hello all,
>>
>> Is there a /proc/partitions o
It took me about an hour to change/add enough to the perl GPL "hinv" port to
get it to work with cygwin ( hinv v 1.4pre2).
example code:
#!/usr/bin/perl
#open (FD,
"/proc/registry/HKEY_LOCAL_MACHINE/HARDWARE/DESCRIPTION/System/CentralProces
sor");
if (-e
"/proc/registry/HKEY_LOCAL_MACHINE/HARDWA
On Wed, 26 Feb 2003, Chris January wrote:
> > Hello all,
> >
> > Is there a /proc/partitions or a /proc/cpuinfo in newer versions
> > of Cygwin?
> > I'm looking for a way to determine cpu info and drive info from the
> > command line. I'm using v1.3.14.
> I'll code some up for you, how about tha
> Hello all,
>
> Is there a /proc/partitions or a /proc/cpuinfo in newer versions
> of Cygwin?
> I'm looking for a way to determine cpu info and drive info from the
> command line. I'm using v1.3.14.
I'll code some up for you, how about that?
Chris
--
Unsubscribe info: http://cygwin.com
Robert,
Here's a wild try at answering your question:
% ls -l /proc
total 0
dr-xr-xr-x 15 RSchulz None0 Feb 24 14:21 1400/
dr-xr-xr-x 15 RSchulz None0 Feb 24 07:05 1892/
dr-xr-xr-x 15 RSchulz None0 Feb 24 16:03 2176/
dr-xr-xr-x 15 SYSTEM Administ
7 matches
Mail list logo