public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* hardware/system info?
@ 2018-04-17  9:22 Ulli Horlacher
  2018-04-17 10:49 ` Marco Atzeri
  0 siblings, 1 reply; 7+ messages in thread
From: Ulli Horlacher @ 2018-04-17  9:22 UTC (permalink / raw)
  To: cygwin


I want to port my sysinfo program to cygwin:

framstag@diaspora:~: sysinfo
System:        Linux diaspora 4.4.0-119-generic x86_64
Distribution:  Ubuntu 16.04.4 LTS
Hardware:      FUJITSU ESPRIMO_P956
CPU:           Intel(R) Core(TM) i7-6700 CPU @ 3.40GHz, 8 x 4000 MHz
RAM:           16213 MB
Uptime:        7 days, 1 hour, 31 minutes
Load:          0.41, 0.49, 0.48

root@trulla:~# sysinfo
System:        Linux trulla 4.4.120-94.17-default x86_64
Distribution:  SUSE Linux Enterprise Server 12 SP3
Hardware:      VMware, Inc. VMware Virtual Platform None (VMware)
CPU:           Intel(R) Xeon(R) CPU E5-2680 v4 @ 2.40GHz, 1 x 2394 MHz
RAM:           1024 MB
Uptime:        4 days, 2 hours, 58 minutes
Load:          0.15, 0.03, 0.01


I am looking for cygwin hardware/system info like the Linux commands lshw
or hwinfo. What can I use instead?
                  
-- 
Ullrich Horlacher              Server und Virtualisierung
Rechenzentrum TIK         
Universitaet Stuttgart         E-Mail: horlacher@tik.uni-stuttgart.de
Allmandring 30a                Tel:    ++49-711-68565868
70569 Stuttgart (Germany)      WWW:    http://www.tik.uni-stuttgart.de/
REF:<20180417092235.GA7712@rus.uni-stuttgart.de>

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: hardware/system info?
  2018-04-17  9:22 hardware/system info? Ulli Horlacher
@ 2018-04-17 10:49 ` Marco Atzeri
  2018-04-17 11:01   ` Ulli Horlacher
  0 siblings, 1 reply; 7+ messages in thread
From: Marco Atzeri @ 2018-04-17 10:49 UTC (permalink / raw)
  To: cygwin

On 4/17/2018 11:22 AM, Ulli Horlacher wrote:
> 
> I want to port my sysinfo program to cygwin:
> 
> framstag@diaspora:~: sysinfo
> System:        Linux diaspora 4.4.0-119-generic x86_64
> Distribution:  Ubuntu 16.04.4 LTS
> Hardware:      FUJITSU ESPRIMO_P956
> CPU:           Intel(R) Core(TM) i7-6700 CPU @ 3.40GHz, 8 x 4000 MHz
> RAM:           16213 MB
> Uptime:        7 days, 1 hour, 31 minutes
> Load:          0.41, 0.49, 0.48
> 
> root@trulla:~# sysinfo
> System:        Linux trulla 4.4.120-94.17-default x86_64
> Distribution:  SUSE Linux Enterprise Server 12 SP3
> Hardware:      VMware, Inc. VMware Virtual Platform None (VMware)
> CPU:           Intel(R) Xeon(R) CPU E5-2680 v4 @ 2.40GHz, 1 x 2394 MHz
> RAM:           1024 MB
> Uptime:        4 days, 2 hours, 58 minutes
> Load:          0.15, 0.03, 0.01
> 
> 
> I am looking for cygwin hardware/system info like the Linux commands lshw
> or hwinfo. What can I use instead?
>                    

look in

/proc/cpuinfo
/proc/meminfo
/proc/loadavg

and use uname for system and distribtion info






--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: hardware/system info?
  2018-04-17 10:49 ` Marco Atzeri
@ 2018-04-17 11:01   ` Ulli Horlacher
  2018-04-17 16:10     ` Achim Gratz
  0 siblings, 1 reply; 7+ messages in thread
From: Ulli Horlacher @ 2018-04-17 11:01 UTC (permalink / raw)
  To: cygwin

On Tue 2018-04-17 (12:49), Marco Atzeri wrote:

> > framstag@diaspora:~: sysinfo
> > System:        Linux diaspora 4.4.0-119-generic x86_64
> > Distribution:  Ubuntu 16.04.4 LTS
> > Hardware:      FUJITSU ESPRIMO_P956
> > CPU:           Intel(R) Core(TM) i7-6700 CPU @ 3.40GHz, 8 x 4000 MHz
> > RAM:           16213 MB
> > Uptime:        7 days, 1 hour, 31 minutes
> > Load:          0.41, 0.49, 0.48
> > 
> > I am looking for cygwin hardware/system info like the Linux commands lshw
> > or hwinfo. What can I use instead?
> >                    
> 
> look in
> 
> /proc/cpuinfo
> /proc/meminfo
> /proc/loadavg
> 
> and use uname for system and distribtion info

There is no information about the hardware (system platform)



-- 
Ullrich Horlacher              Server und Virtualisierung
Rechenzentrum TIK         
Universitaet Stuttgart         E-Mail: horlacher@tik.uni-stuttgart.de
Allmandring 30a                Tel:    ++49-711-68565868
70569 Stuttgart (Germany)      WWW:    http://www.tik.uni-stuttgart.de/
REF:<64931e0b-b09f-4694-d8e5-cf5b580008cb@gmail.com>

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: hardware/system info?
  2018-04-17 11:01   ` Ulli Horlacher
@ 2018-04-17 16:10     ` Achim Gratz
  2018-04-17 16:29       ` Ulli Horlacher
  0 siblings, 1 reply; 7+ messages in thread
From: Achim Gratz @ 2018-04-17 16:10 UTC (permalink / raw)
  To: cygwin

Ulli Horlacher writes:
> There is no information about the hardware (system platform)

ls /proc/registry/HKEY_LOCAL_MACHINE/SYSTEM/HardwareConfig/Current/


Regards,
Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

Factory and User Sound Singles for Waldorf rackAttack:
http://Synth.Stromeko.net/Downloads.html#WaldorfSounds

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: hardware/system info?
  2018-04-17 16:10     ` Achim Gratz
@ 2018-04-17 16:29       ` Ulli Horlacher
  2018-04-22  7:07         ` Achim Gratz
  2018-04-22 16:06         ` Brian Inglis
  0 siblings, 2 replies; 7+ messages in thread
From: Ulli Horlacher @ 2018-04-17 16:29 UTC (permalink / raw)
  To: cygwin

On Tue 2018-04-17 (18:10), Achim Gratz wrote:
> Ulli Horlacher writes:
> > There is no information about the hardware (system platform)
> 
> ls /proc/registry/HKEY_LOCAL_MACHINE/SYSTEM/HardwareConfig/Current/

/proc/registry/HKEY_LOCAL_MACHINE/SYSTEM: ls -l
total 0
dr-xr-----  7 Administrators Administrators 0 Dec  8  2015 ControlSet001
dr-xr-x---  7 Administrators SYSTEM         0 Jul 14  2009 ControlSet002
dr-xr-----  7 Administrators Administrators 0 Dec  8  2015 CurrentControlSet
dr-xr-----  2 SYSTEM         SYSTEM         0 Dec  8  2015 MountedDevices
dr-xr-x---  2 Administrators SYSTEM         0 Apr 17 16:09 RNG
dr-xr-----  2 Administrators Administrators 0 Jul 14  2009 Select
dr-xr-----  9 Administrators Administrators 0 Apr 11 13:54 Setup
dr-xr-----  3 SYSTEM         SYSTEM         0 Dec  7  2015 Software
dr-xr----- 84 Administrators Administrators 0 Apr 11 17:02 WPA


There is no HardwareConfig (on Windows 7 32bit).

But I found:

"wmic csproduct get name"

And now my sysinfo reports for cygwin:

~: sysinfo
System:        CYGWIN_NT-6.1 WIN-LS0QDOSDIBL 2.10.0(0.325/5/3) i686 Cygwin
Distribution:  /sw
Hardware:      VMware Virtual Platform
CPU:           Intel(R) Core(TM) i7-6700 CPU @ 3.40GHz, 2 x 3408 MHz
RAM:           2047 MB
Uptime:        1 day, 3 hours, 34 minutes
Load:          0.00 0.00 0.00

-- 
Ullrich Horlacher              Server und Virtualisierung
Rechenzentrum TIK         
Universitaet Stuttgart         E-Mail: horlacher@tik.uni-stuttgart.de
Allmandring 30a                Tel:    ++49-711-68565868
70569 Stuttgart (Germany)      WWW:    http://www.tik.uni-stuttgart.de/
REF:<87fu3tx19e.fsf@Rainer.invalid>

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: hardware/system info?
  2018-04-17 16:29       ` Ulli Horlacher
@ 2018-04-22  7:07         ` Achim Gratz
  2018-04-22 16:06         ` Brian Inglis
  1 sibling, 0 replies; 7+ messages in thread
From: Achim Gratz @ 2018-04-22  7:07 UTC (permalink / raw)
  To: cygwin

Ulli Horlacher writes:
> There is no HardwareConfig (on Windows 7 32bit).

You need to have administrative rights to see that branch.

> But I found:
>
> "wmic csproduct get name"

Yes, that is probably a better idea.


Regards,
Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

SD adaptation for Waldorf rackAttack V1.04R1:
http://Synth.Stromeko.net/Downloads.html#WaldorfSDada

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: hardware/system info?
  2018-04-17 16:29       ` Ulli Horlacher
  2018-04-22  7:07         ` Achim Gratz
@ 2018-04-22 16:06         ` Brian Inglis
  1 sibling, 0 replies; 7+ messages in thread
From: Brian Inglis @ 2018-04-22 16:06 UTC (permalink / raw)
  To: cygwin

On 2018-04-17 10:29, Ulli Horlacher wrote:
> On Tue 2018-04-17 (18:10), Achim Gratz wrote:
>> Ulli Horlacher writes:
>>> There is no information about the hardware (system platform)
>> ls /proc/registry/HKEY_LOCAL_MACHINE/SYSTEM/HardwareConfig/Current/
> /proc/registry/HKEY_LOCAL_MACHINE/SYSTEM: ls -l
> total 0
> dr-xr-----  7 Administrators Administrators 0 Dec  8  2015 ControlSet001
> dr-xr-x---  7 Administrators SYSTEM         0 Jul 14  2009 ControlSet002
> dr-xr-----  7 Administrators Administrators 0 Dec  8  2015 CurrentControlSet
> dr-xr-----  2 SYSTEM         SYSTEM         0 Dec  8  2015 MountedDevices
> dr-xr-x---  2 Administrators SYSTEM         0 Apr 17 16:09 RNG
> dr-xr-----  2 Administrators Administrators 0 Jul 14  2009 Select
> dr-xr-----  9 Administrators Administrators 0 Apr 11 13:54 Setup
> dr-xr-----  3 SYSTEM         SYSTEM         0 Dec  7  2015 Software
> dr-xr----- 84 Administrators Administrators 0 Apr 11 17:02 WPA
> There is no HardwareConfig (on Windows 7 32bit).
> But I found:
> "wmic csproduct get name"

Try:

$ wmic csproduct get name, vendor

for nitty gritty details:

$ wmic baseboard get manufacturer, product

for host OS:

$ wmic os get buildnumber,buildtype,caption,manufacturer,osarchitecture,version

none of which Cygwin may have available.

> And now my sysinfo reports for cygwin:
> ~: sysinfo
> System:        CYGWIN_NT-6.1 WIN-LS0QDOSDIBL 2.10.0(0.325/5/3) i686 Cygwin
> Distribution:  /sw
> Hardware:      VMware Virtual Platform
> CPU:           Intel(R) Core(TM) i7-6700 CPU @ 3.40GHz, 2 x 3408 MHz
> RAM:           2047 MB
> Uptime:        1 day, 3 hours, 34 minutes
> Load:          0.00 0.00 0.00

Have a look under Cygwin 32 and 64, and Linux systems for more good info:

$ find /proc/ -maxdepth 1 -type f | xargs pr -Fl9999 | less

-- 
Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2018-04-22 16:06 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-04-17  9:22 hardware/system info? Ulli Horlacher
2018-04-17 10:49 ` Marco Atzeri
2018-04-17 11:01   ` Ulli Horlacher
2018-04-17 16:10     ` Achim Gratz
2018-04-17 16:29       ` Ulli Horlacher
2018-04-22  7:07         ` Achim Gratz
2018-04-22 16:06         ` Brian Inglis

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).