delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2018/04/17/06:50:00

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:subject:to:references:from:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; q=dns; s=default; b=XS6EM/wXxQE4PrfW
iOMVhjNdwMX3FznKlHgDgLDVg1qBcWtph4+WlOPViOQK5IPVUUlkJ1bzZ7UTRab+
S1TOOGJ7IwxCMMN4B1VRG1OK5J1oVzJJPZEJnqW4+cP5IlqhXtTRKovqi8E4/Gf3
vyFX/z9sqoqty/qwi2asgNeD9ns=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:subject:to:references:from:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; s=default; bh=m59z0IEUmcFTULl5dhUm4d
kxUQ0=; b=CEfcY4KBeoLD2Mx+hCGNsAi9S70NBvRixSedfMIMs+oN9NDtsAr91L
VNaTBbEvaZi98W/zG+NO+93tJO41z0d9orArptBldo5EXzKrIywIoQnfbYRmbU8v
7W0Lf0kHSJHOPRzDIpIwcE1azXlJnusMtYetvcEceGuOGFjDMn1oM=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy=H*u:6.1, H*UA:6.1
X-HELO: mail-wr0-f173.google.com
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=p0guNcEC+c0uMKjTsdfuooZF61uhLC3N8BoKPEPL4rg=; b=elhiu0ZENyo/Js9RgNE6HNckIRGMQQfMRavt3Oi0jpZ6IS45pQlIlMK/kF1kKAjfb5 dMp234BcVBHyU1z0UJbYd7an4z0iX/9OnkV/t9B10HWMh/qs7OuCzitfqNUeXtp/99KM k95kypsmILbBq9KDWj/iNF5IwKWiDtIFEllVpnl8F32WxUz9sram67pRHfUOQCwofYMh i2NhdqrZKtLWERPPnOtzYRnDQJ5vqgkRWmzK2cI9z323u98pOZwiUUqpquLUCMVqaT3C bjrVnnkRx3EhGN/3Afk0IDaucCZBJZPfrwEuGq+wwCEiuU2jnSNfkGIVJramSSDGvEzA ATAw==
X-Gm-Message-State: ALQs6tCKCevjOQwuLHZpYOsh0DUAqh+4awSs/UJ2IgDszcgqc6MQJJZ4 +dhSJ1aotWFKC0+mSNtFYG/ec7Un
X-Google-Smtp-Source: AIpwx49Q51/OPV8syWJ+bPABWNQ2ADhZTzBQbgouEPRZefV0+F8AGbNQJi49WYilHnzVtOj4c5Nu7w==
X-Received: by 10.223.142.68 with SMTP id n62mr1282215wrb.159.1523962186034; Tue, 17 Apr 2018 03:49:46 -0700 (PDT)
Subject: Re: hardware/system info?
To: cygwin AT cygwin DOT com
References: <20180417092235 DOT GA7712 AT rus DOT uni-stuttgart DOT de>
From: Marco Atzeri <marco DOT atzeri AT gmail DOT com>
Message-ID: <64931e0b-b09f-4694-d8e5-cf5b580008cb@gmail.com>
Date: Tue, 17 Apr 2018 12:49:43 +0200
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0
MIME-Version: 1.0
In-Reply-To: <20180417092235.GA7712@rus.uni-stuttgart.de>
X-IsSubscribed: yes

On 4/17/2018 11:22 AM, Ulli Horlacher wrote:
> 
> I want to port my sysinfo program to cygwin:
> 
> framstag AT 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 AT 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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019