Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Jun 1998 09:02:24 -0700 (PDT)
From:      David Wolfskill <dhw@whistle.com>
To:        dhw@whistle.com, dwhite@resnet.uoregon.edu
Cc:        questions@FreeBSD.ORG
Subject:   Re: Anyone working on porting "sysinfo"?
Message-ID:  <199806121602.JAA08546@pau-amma.whistle.com>

next in thread | raw e-mail | index | archive | help
>Date: Fri, 12 Jun 1998 02:58:46 -0700 (PDT)
>From: Doug White <dwhite@resnet.uoregon.edu>

>I don't see if it tells you more than dmesg ++rc.conf.

Well, it does it for multiple platforms, which is an issue for me.

It does it in a relatively platform-independent way.

It is also capable of depicting such things as disk partitioning, which
would be an extremely useful adjunct to full backups for contingency
planning, especially since it can to this automatically -- thus removing
an element of human fallibility.

Further, dmesg output includes various kernel messages that are, at
best, extraneous for this particular exercise.

There is also information reported which is (admittedly) of little
interest for contingency planning, but which may well be of interest for
someone hacking software, such as:

        Kernel Information
 
Maximum number of processes for system (max_nprocs) is           2058
Maximum number of processes per user (maxuprc) is                2053
Maximum number of users (for system tables) (maxusers) is        128
Maximum number of BSD (/dev/ptyXX) pty's (npty) is               48
Maximum number of System V (/dev/pts/*) pty's (pt_cnt) is        48
Size of the virtual address cache (vac_size) is                  0
Size of the inode table (ufs_ninode) is                          8192
Size of the directory name lookup cache (ncsize) is              8192
Size of the quotas table (ndquot) is                             3338
STREAMS: Maximum number of pushes allowed (nstrpush) is          9
STREAMS: Maximum message size (strmsgsz) is                      65536
STREAMS: Maximum size of ctl part of message (strctlsz) is       1024
Maximum memory allowed in buffer cache (bufhwm) is               0
Maximum global priority in sys class (maxclsyspri) is            6488124
Has UFS driver (ufs_vfsops) is                                   TRUE
Has NFS driver (nfs_vfsops) is                                   TRUE
Has TMPFS driver (tmp_vfsops) is                                 TRUE
Has SD driver (sdopen) is                                        TRUE
Has FD driver (fdopen) is                                        TRUE
Has NFSSERVER (nfs_getfh) is                                     TRUE
 
 
        SysConf Information
 
Max combined size of argv[] and envp[] (_SC_ARG_MAX) is          1048320
Max processes allowed to any UID (_SC_CHILD_MAX) is              2053
Clock ticks per second (_SC_CLK_TCK) is                          100
Max simultaneous groups per user (_SC_NGROUPS_MAX) is            16
Max open files per process (_SC_OPEN_MAX) is                     64
System memory page size (_SC_PAGESIZE) is                        4096
Job control supported (_SC_JOB_CONTROL) is                       TRUE
Savid ids (seteuid()) supported (_SC_SAVED_IDS) is               TRUE
Version of POSIX.1 standard supported (_SC_VERSION) is           199506
Version of the X/Open standard supported (_SC_XOPEN_VERSION) is  3
Max log name (_SC_LOGNAME_MAX) is                                8
Max password length (_SC_PASS_MAX) is                            8
Number of processors (CPUs) configured (_SC_NPROCESSORS_CONF) is 1
Number of processors (CPUs) online (_SC_NPROCESSORS_ONLN) is     1
Total number of pages of physical memory (_SC_PHYS_PAGES) is     16384
# pages of phys. mem not currently in use (_SC_AVPHYS_PAGES) is  130
Max number of timer expiration overruns (_SC_DELAYTIMER_MAX) is  2147483647
Max number of realtime signals (_SC_RTSIG_MAX) is                8
Max number of queued signals per process (_SC_SIGQUEUE_MAX) is   32
Max number of timers per process (_SC_TIMER_MAX) is              32
Supports File Synchronization (_SC_FSYNC) is                     TRUE
Supports memory mapped files (_SC_MAPPED_FILES) is               TRUE
Supports process memory locking (_SC_MEMLOCK) is                 TRUE
Supports range memory locking (_SC_MEMLOCK_RANGE) is             TRUE
Supports memory protection (_SC_MEMORY_PROTECTION) is            TRUE
Supports realtime signals (_SC_REALTIME_SIGNALS) is              TRUE
Supports syncronized I/O (_SC_SYNCRONIZED_IO) is                 TRUE
Supports timers (_SC_TIMERS) is                                  TRUE


And here's little bit of stuff that could be useful in setting up X:

    cgsix0 is a "GX 8-bit Accelerated Color Graphics [cgsix] (SUNW,501-1672)" frame buffer
                Video Memory (KB)     : 1024
                Size (KB)             : 1016
                Color Map Size        : 256
                SBus Slot             : 0
                Board Revision        : 8
                Buffering             : Single Buffered
                Monitor Pixel Frequency: 92 MHz
                Monitor Horizontal Frequency: 61795 Hz
                Monitor Vertical Frequency: 66 Hz
                Monitor Horizontal Sync (pixels): 128
                Monitor Vertical Sync (scanlines): 4
                Emulates              : cgthree, cgfour
                Address               : 4276101120
                Character Set         : ISO8859-1
                Intr                  : 0x00000039.0x00000000
                Reg                   : 0x00000002.0x00000000.0x01000000
                Vmsize                : 1
                Height                : 900
                Awidth                : 1152
                Emulation             : cgsix
                Pixfreq               : 92940500
                Hfreq                 : 61795
                Vfreq                 : 66
                Hbporch               : 192
                Hfporch               : 32
                Vbporch               : 31
                Vfporch               : 2
                Oscillators           : 92940500 105561000
                Device Type           : display
                Model                 : SUNW,501-1672
                Manufacturer          : SUNW
                Connected to          : sbus0
 


(I hand-edited some of that to make most things fit reasonable line
lengths....)

Basically, it provides one-stop shopping for a lot of information that
can be useful, especially for resolving weird hardware or configuration
problems.

One of the main reasons I'm interested, aside from contingency planning,
is that I am (still) very unfamiliar with PC hardware, and I need to
support systems that already exist, and for which little or no hardware
docs may be available.

And I'm not willing to even seriously consider using something that
"runs" (to abuse that term) in a Microsoft environment to diagnose, fix,
or configure anything; the perception that a Microsoft product is
appropriate for something important is, in my opinion (only), a symptom
of a far deeper problem.

Oh:  The above "sysinfo -level all" excerpt was from an Axil box running
Solaris 2.5.

Cheers,
david
-- 
David Wolfskill		UNIX System Administrator
dhw@whistle.com		voice: (650) 577-7158	pager: (650) 371-4621

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199806121602.JAA08546>