This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: hardware/system info?


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]