On Sun, 28 Sep 2003, Per olof Ljungmark wrote: > >> > >>I am wondering how to find out system hardware information from a > >>running system, I know for instance pciconf(8) but what are the > >>corresponding ones for memory, cpu etc? > >> > > > > > > more /var/run/dmesg.boot to get the info at boot time. > > vmstat 5 5 will give you 5 items 5 sconds apart to show you procs, memory, > > page, disks, faults and cpu info. > > > > Thanks, that was a good start. Now, if I wanted to see more detailed > info on the processor than the dmesg.boot output: > > Origin = "GenuineIntel" Id = 0x673 Stepping = 3 > > Like cache size etc.?
You should be able to get some cpu info with ports/sysutils/x86info. Dunno about memory (its physical configuration, that is). USB devices can be listed with "usbdevs", pci ones with "pciconf", ATA devices with "atacontrol", SCSI ones with "camcontrol", XFree prints lots of info on your graphics card into /var/run/XFree86.0.log. Also, some of the values detected at boot end up as sysctls (usually under "hw"). I know of no simple way to get complete hardware information on a silver platter, though. Nor do I really care :-) $.02, /Mikko _______________________________________________ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"