Re: Open BSD commands

2006-06-29 Thread Andreas Kahari

On 29/06/06, Ajith Kumar [EMAIL PROTECTED] wrote:

Hi,
I have two silly questions..

How to see the memoy details of a OpenBSD machine using commands ?



$ sysctl hw.physmem
hw.physmem=1073278976


How to see the processor details of a OpenBSD machine using commands ?



$ sysctl hw.machine
hw.machine=amd64
$ sysctl hw.model
hw.model=AMD Athlon(tm) 64 Processor 3400+
$ sysctl hw.ncpu
hw.ncpu=1

$ sysctl hw.vendor
hw.vendor=Gigabyte Technology Co., Ltd.
$ sysctl hw.product
hw.product=K8T800-8237


Andreas

--
Andreas Kahari
Somewhere in the general Cambridge area, UK



Re: Open BSD commands

2006-06-29 Thread veins
On Thu, Jun 29, 2006 at 08:01:22AM +0100, Andreas Kahari wrote:
 On 29/06/06, Ajith Kumar [EMAIL PROTECTED] wrote:
 Hi,
 I have two silly questions..
 
 How to see the memoy details of a OpenBSD machine using commands ?
 
 
 $ sysctl hw.physmem
 hw.physmem=1073278976
 
 How to see the processor details of a OpenBSD machine using commands ?
 
 
 $ sysctl hw.machine
 hw.machine=amd64
 $ sysctl hw.model
 hw.model=AMD Athlon(tm) 64 Processor 3400+
 $ sysctl hw.ncpu
 hw.ncpu=1
 
 $ sysctl hw.vendor
 hw.vendor=Gigabyte Technology Co., Ltd.
 $ sysctl hw.product
 hw.product=K8T800-8237
 
 
 Andreas
 

Is this your way of saying you have an amd64 ? show off ! ;) 



Re: Open BSD commands

2006-06-29 Thread Scott Francis

On 6/28/06, Ajith Kumar [EMAIL PROTECTED] wrote:

Hi,
I have two silly questions..

How to see the memoy details of a OpenBSD machine using commands ?

How to see the processor details of a OpenBSD machine using commands ?

[snip ridiculous boilerplate disclaimer]

the canonical answer is dmesg(8), although Andreas' response
definitely parses more easily (learn something new every day :)).
--
[EMAIL PROTECTED],darkuncle.net} || 0x5537F527
   encrypted email to the latter address please
   http://darkuncle.net/pubkey.asc for public key



Re: Open BSD commands

2006-06-29 Thread Adam Douglas
Hi. When I try doing sysctl on hw.vendor and hw.product I receive a
message of sysctl: second level name vendor in hw.vendor is invalid
and sysctl: second level name product in hw.product is invalid. Does
this mean syctl is unable to retrieve this information or the
information is not present?

Best,
Adam

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Andreas Kahari
Sent: Thursday, June 29, 2006 1:01 AM
To: Ajith Kumar
Cc: misc@openbsd.org
Subject: Re: Open BSD commands

On 29/06/06, Ajith Kumar [EMAIL PROTECTED] wrote:
 Hi,
 I have two silly questions..

 How to see the memoy details of a OpenBSD machine using commands ?


$ sysctl hw.physmem
hw.physmem=1073278976

 How to see the processor details of a OpenBSD machine using commands ?


$ sysctl hw.machine
hw.machine=amd64
$ sysctl hw.model
hw.model=AMD Athlon(tm) 64 Processor 3400+ $ sysctl hw.ncpu
hw.ncpu=1

$ sysctl hw.vendor
hw.vendor=Gigabyte Technology Co., Ltd.
$ sysctl hw.product
hw.product=K8T800-8237



Re: Open BSD commands

2006-06-29 Thread Joachim Schipper
On Thu, Jun 29, 2006 at 08:19:32AM -0600, Adam Douglas wrote:
 Hi. When I try doing sysctl on hw.vendor and hw.product I receive a
 message of sysctl: second level name vendor in hw.vendor is invalid
 and sysctl: second level name product in hw.product is invalid. Does
 this mean syctl is unable to retrieve this information or the
 information is not present?

I get

$ sysctl hw.vendor
sysctl: hw.vendor: value is not available
$ sysctl hw.product
hw.product=VT8366-8233

on my -current box; the box next to it gives 'Dell Computer Corporation'
for hw.vendor.

All in all, not quite the same as you... did you mistype, perhaps?

Joachim



Re: Open BSD commands

2006-06-29 Thread Adam Douglas
No, I double checked the commands and they are typed correctly. I still
receive the messages I mentioned below.

On Thu, Jun 29, 2006 at 08:19:32AM -0600, Adam Douglas wrote:
 Hi. When I try doing sysctl on hw.vendor and hw.product I receive a 
 message of sysctl: second level name vendor in hw.vendor is invalid
 and sysctl: second level name product in hw.product is invalid.
Does 
 this mean syctl is unable to retrieve this information or the 
 information is not present?

I get

$ sysctl hw.vendor
sysctl: hw.vendor: value is not available $ sysctl hw.product
hw.product=VT8366-8233

on my -current box; the box next to it gives 'Dell Computer
Corporation'
for hw.vendor.

All in all, not quite the same as you... did you mistype, perhaps?

   Joachim



Re: Open BSD commands

2006-06-29 Thread Tobias Ulmer
On Thu, Jun 29, 2006 at 10:06:06AM -0600, Adam Douglas wrote:
 No, I double checked the commands and they are typed correctly. I still
 receive the messages I mentioned below.

Your hardware vendor etc. simply isn't detected (yet). No need to worry. 
To see whats available about your hardware, type 'sysctl hw'.

Tobias

 
 On Thu, Jun 29, 2006 at 08:19:32AM -0600, Adam Douglas wrote:
  Hi. When I try doing sysctl on hw.vendor and hw.product I receive a 
  message of sysctl: second level name vendor in hw.vendor is invalid
  and sysctl: second level name product in hw.product is invalid.
 Does 
  this mean syctl is unable to retrieve this information or the 
  information is not present?
 
 I get
 
 $ sysctl hw.vendor
 sysctl: hw.vendor: value is not available $ sysctl hw.product
 hw.product=VT8366-8233
 
 on my -current box; the box next to it gives 'Dell Computer
 Corporation'
 for hw.vendor.
 
 All in all, not quite the same as you... did you mistype, perhaps?
 
  Joachim