Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
* Interregating a DECstation, Ultrix
@ 1992-02-21 21:09 Stuart Poulin
  1992-02-22 17:31 `  Alan's Home for Wayward Notes File.
  0 siblings, 1 reply; 2+ messages in thread
From: Stuart Poulin @ 1992-02-21 21:09 UTC (permalink / raw)



I'm a SunOS user trying to pick up on Ultrix.

I'm looking for one liners someone could use to interregate a
DECstation running Ultrix 4.2.

For example:
System, Name OS, HW             : /usr/bin/uname -a
Hostname                        : /bin/hostname
Swap size                       : /etc/pstat -s
Routing tables                  : /usr/ucb/apply /usr/ucb/netstat -r -rn
Internet Address                : /etc/ifconfig ln0
                                  (Is there a better one for this? Is it
								  always ln0?)

Now, some more I like to know are:
Physical Memory                :
Ethernet Address               :
                          (How about if this changes after boot?)

I can't seem to find the equivalent of "dmesg", is there one?

Thanks.
stuart@amc.com




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Interregating a DECstation, Ultrix
  1992-02-21 21:09 Interregating a DECstation, Ultrix Stuart Poulin
@ 1992-02-22 17:31 `  Alan's Home for Wayward Notes File.
  0 siblings, 0 replies; 2+ messages in thread
From:  Alan's Home for Wayward Notes File. @ 1992-02-22 17:31 UTC (permalink / raw)


In article <1992Feb21.210928.26927@amc.com>, stuart@amc.com (Stuart Poulin) writes:
> 
> I'm looking for one liners someone could use to interregate a
> DECstation running Ultrix 4.2.
> 
> Internet Address                : /etc/ifconfig ln0
>                                   (Is there a better one for this? Is it
> 								  always ln0?)
	It depends on the machine.  The DECsystem 5500 uses a
	second generation Ethernet adapter that will be called
	"ne0".  You could also have multiple adapters, so you
	might have to check for ln0 and ln1.  As you branch
	out more systems, the names may change.
> 
> Now, some more I like to know are:
> Physical Memory                :

	I think this got asked recently in lots of places...  Some of
	my favorites:

		# wc -c /dev/mem
		# kvar -k -s physmem -rl /vmunix
		addr = 0x-Number-of-pages
	
	You can also look in the error log.  See the manual page for the
	command uerf(8).  The boot messages are record type 300:

		# uerf -R -r 300 | grep "real mem"

	There's also an undocumented op for getsysinfo(2) to get the 
	amount of physical memory.  Look in /usr/include/sys/sysinfo.h.

> Ethernet Address               :
>                           (How about if this changes after boot?)

	SEE ALSO: uerf(8).

	Another way is to write a program that looks for all
	Ethernet devices and prints their addresses.  As I
	mentioned before a system can have multiple devices
	and new names could pop up at anytime.  In Pre-V4.0
	ULTRIX a lot of people hardcoded the name "se0" and
	then we changed it to "ln0" when merging a couple of
	drivers together.
> 
> I can't seem to find the equivalent of "dmesg", is there one?

	The ULTRIX error log formatter (uerf) is the closest
	equivalent.  Using the "-o terse" option you can get
	output that looks vaguely like the contents of dmesg.
> 
> Thanks.
> stuart@amc.com
-- 
Alan Rollow				alan@nabeth.cxo.dec.com



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1992-02-22 17:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1992-02-21 21:09 Interregating a DECstation, Ultrix Stuart Poulin
1992-02-22 17:31 `  Alan's Home for Wayward Notes File.

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox