min info script

2007-12-25 8:02:00

Hi,

This is a SUMMARY to question,

> I was wondering,

> I have seen scripts that print out standard information about the system

> such as OS version, etc, a "whatami" type routine if you will.

> Would a standard script like this, distributed with the "POLICY" statement

> make sense? The negative is that it adds more information

> than needed for a particula problem and may not be worth the

> bandwidth.

> (I will be happy to summarize the response to above, but my system is

> going down next week so you may want to wait until jan 93.)

>

(This question was an addendum to a SUMMARY I sent about disk cables).

Thanks to

jdr@sloth.mlb.semi.harris.com

        suggests - look at sysinfo

peters@megadata.mega.oz.au

        suggests - a minimal amount of info that should be sent

murphy!acmcr!vr@uunet.UU.NET

        asks for sript/info

bb@math.ufl.edu

        suggests - look at sysinfo

Consensus, of 3, is that the min info would be usefull. It is not worth

distributing the script in the POLICY statement due to the size of a script.

I guess we all should think about what info is needed when we ask

someone for help.

Suggested info

    CPU: SS2, IPX, etc

    OS: 4.1.2, etc

    Disks: sd0 = Quantum 209, etc

    Frame buffer(s): cgthree, cgsix, etc

    Memory: 32M, etc

    Disk Config: 10M root, 100M swap, 150M /usr, etc

    NIS status: master/slave/client

    Additonal hardware: SPARCprinter, Serial card, etc

With optional info:

    ROM Version: 2.6, etc

    OpenWindows: R2/R3 etc, with.without MIT extensions

    SunView: yes/no

    X Terminals: number off

**********************full replys*******************************************

>From jdr@sloth Wed Dec 23 06:24:54 1992

To: dwf@mlb.semi.harris.com (Denis Faas)

Subject: Re: REPLY disk problem

Try "sysinfo" for the os information. Works across multiple platforms.

(edit: remove misc info)

jr

>From peters@megadata.mega.oz.au Wed Dec 23 10:46:36 1992

Subject: Re: REPLY disk problem

To: dwf@mlb.semi.harris.com

Organisation: Megadata Pty Ltd, Australia

Phone: +61-2-805-0899, Fax: +61-2-887-4847

(edit: remove original question)

I have a copy of "whatami" from SUN. It is a shell script that

provides the following information (at least):

whatami 3.0 beta 1

               DATE: Wed Dec 23 17:42:45 EST 1992

               USER: peters

           HOSTNAME: le0 = jacob

         IP ADDRESS: le0 = 192.55.99.14

              MODEL: Sun 4/65

    FRAME BUFFER(S): cgthree

      SunOS RELEASE: 4.1.1-IPX

          KERNEL ID: peters

               TYPE: homeless

         FILESERVER: megadata

             MEMORY: 24MB

               SWAP: 109.2MB total, 20.5MB used, 88.7MB available

       LOAD AVERAGE: 0.96, 0.40, 0.13

     NIS DOMAINNAME: mega

    DEFAULT PRINTER: ld

   ETHERNET ADDRESS: 8:0:20:a:63:a3

             HOSTID: 5300f5da

               DISK: sd0 "QuantumProDrive210S" (208MB unformatted)

          PARTITION: sd0g mounted on /mnt (122MB, 92% full)

               DISK: sd1 "SUN0424" (424MB unformatted)

          PARTITION: sd1a mounted on / (7MB, 56% full)

          PARTITION: sd1g mounted on /usr (144MB, 89% full)

          PARTITION: sd1h mounted on /usr/mosaicdemo (137MB, 72% full)

            FLOPPY: fd0 (3.5-inch floppy)

However, its big:

-rw-r--r-- 1 peters wp 68888 Dec 23 17:41 whatami

probably too big to put in the policy statement.

(Let me know if you want a copy).

Also not every problem needs this much detailed background

information. Perhaps, rather than a script, the policy statement could

state a minimum set of details to be included with the posting and it

is up to the discretion of the poster to decide which additional

information is relevant.

A first cut at this minimum set would be:

    CPU: SS2, IPX, etc

    OS: 4.1.2, etc

    Disks: sd0 = Quantum 209, etc

    Frame buffer(s): cgthree, cgsix, etc

    Memory: 32M, etc

    Disk Config: 10M root, 100M swap, 150M /usr, etc

    NIS status: master/slave/client

    Additonal hardware: SPARCprinter, Serial card, etc

With optional info:

    OpenWindows: R2/R3 etc, with.without MIT extensions

    SunView: yes/no

    X Terminals: number off

It will be interesting to see other responses.

Regards

Peter

----------

Peter Samuel Marketing Support Engineer

Megadata Pty Ltd ACSnet/Internet: peters@mega.oz.au

2/37 Waterloo Road Fax: +61 2 887 4847

North Ryde, NSW 2113 Phone: +61 2 805 0899 x244

>From murphy!acmcr!vr@uunet.UU.NET Wed Dec 23 11:03:47 1992

To: dwf@mlb.semi.harris.com

Subject: Re: REPLY disk problem

I don't know if they'd want to distribute a "whatami" script

with the policy/FAQ statement, but if not, I could use one,

if you have it. (I'm rather new to this, making it up as I

go along since my boss saw me reading the manuals.)

Vicki Rosenzweig

vr%acmcr.uucp@murphy.com

>From bb@math.ufl.edu Wed Dec 23 18:29:49 1992

To: dwf@mlb.semi.harris.com (Denis Faas)

Subject: Re: REPLY disk problem

(edit: removed original question )

I think it'd be a great idea, but you might find the amount of info

and detail you'd need would be overwhelming. The sysinfo program from

the net might be a start but is a drop in the bucket:

93:/home/fac16/bb> sysinfo

        GENERAL INFORMATION

Host Name : tyche

Host Aliases :

Host Address(es) : 128.227.96.71

Host ID : 57212d4d

Serial Number :

Manufacturer : Sun (Sun Microsystems Incorporated)

System Model : 4/50 (SPARCstation IPX)

Main Memory : 16 MB

ROM Version : 2.6

CPU Type : sparc

App Architecture : sun4

Kernel Architecture : sun4c

OS Name : SunOS

OS Version : 4.1.1

Kernel Version : SunOS Release 4.1.1 (MATH_SUN4C) #1: Sun Dec 8 06:59:15 EST 1991

        DEVICE INFORMATION

SUNW,Sun 4/50

    openprom is a pseudo device

    zs0 is a "Zilog 8530"

    zs1 is a "Zilog 8530"

    audio0 is a "AM79C30A DSC"

    sbus0 is a system bus

        dma is a pseudo device

        esp0 is a "Emulex SCSI interface" disk controller

            sd0 is a "SUN0424" disk drive

        le0 is a "AMD Lance Am7990" network interface

        cgsix0 is a "GX 8-bit Accelerated Color (cgsix)" frame buffer

    fd0 is a "Floppy" disk drive

Another member of the League for Programming Freedom (LPF) lpf@uunet.uu.net

-------------------------------------------------------------------------------

Brian Bartholomew - bb@math.ufl.edu - Univ. of Florida Dept. of Mathematics

Comments

Got something to say?

You must be logged in to post a comment.