If you are feeling curious and have some time to spend exploring, sysctl -a outputs all information sysctl has to provide. On either system type, a picture of sysctl capabilities can be seen by viewing the utility's manpage. There is a sysctl command on Linux-based systems as well as on FreeBSD and other BSD Unix systems, but it is not as broadly useful as on FreeBSD, nor does it offer as comprehensive coverage of the system, because Linux-based systems default to other means of accessing and configuring system configuration values (such as the proc filesystem). For instance, the /proc/cpuinfo and /proc/meminfo files contain a lot more information than just the CPU model and total memory. On both of these OS types, a lot more information can be had by means similar to those described above. There is a sysctl command on Linux-based systems as well as on FreeBSD and other BSD Unix systems. Some of the above commands may work from a normal, unprivileged user account. lsusb -v FreeBSD: usbconfig To get other connected device information. This command shows all devices managed by the HAL subsystem. This command shows DMI/SMBIOS hardware information. To get other connected device information. It can be disabled by passing disable-libnl to configure. For these, each system has tools designed to provide listings of devices connected to various system buses. LibNetlink 1 (libnl-dev) or 3 (libnl-3-dev and libnl-genl-3-dev) development packages. RT2870/RT3070 Wireless Adapterīus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Resources: irq:27 ioport:e800(size=256) memory:fafff000-faffffff(prefetchable) memory:faff8000-faffbfff(prefetchable) memory:fbff0000-fbffffff(prefetchable)Ĭonfiguration: broadcast=yes multicast=yes wireless=IEEE lsusbīus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hubīus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hubīus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hubīus 004 Device 002: ID 09da:0260 A4 Tech Co., Ltdīus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hubīus 003 Device 002: ID 09da:000a A4 Tech Co., Ltd Port Mouseīus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hubīus 002 Device 002: ID 13d3:5130 IMC Networksīus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hubīus 001 Device 002: ID 148f:3070 Ralink Technology, Corp. Resources: irq:18 memory:fbff0000-fbffffffĬonfiguration: broadcast=yes multicast=yes wireless=IEEE 802.11bgn Product: AR9285 Wireless Network Adapter (PCI-Express)Ĭapabilities: bus_master cap_list ethernet physical wirelessĬonfiguration: broadcast=yes driver=ath9k ip=192.168.1.4 latency=0 multicast=yes wireless=IEEE 802.11bgn Resources: irq:27 ioport:e800(size=256) memory:fafff000-faffffff(prefetchable) memory:faff8000-faffbfff(prefetchable) memory:fbef0000-fbefffff(prefetchable) Product: RTL8111/8168B PCI Express Gigabit Ethernet controllerĬapabilities: bus_master cap_list rom ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiationĬonfiguration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=half ip=192.168.156.39 latency=0 multicast=yes port=MII speed=10MB/s Код: WARNING: you should run this program as super-user. Wlan1 Link encap:Ethernet HWaddr 00:c0:ca:36:4f:61 TX packets:14490 errors:0 dropped:0 overruns:0 carrier:0 RX packets:16362 errors:0 dropped:0 overruns:0 frame:0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 In FreeBSD (Live USB), usbconfig shows ugen0.6: