NetBSD Notes - ipatch/theairportwiki GitHub Wiki
To restart networking in NetBSD 4.0
/etc/rc.d/network restart
To find the PID of a process by its name
ps -ef | grep -i airport
To show the list of open files by a process
lsof -p <PID>
To create a user account with the following command
useradd -m -G wheel steve
To display the architecture and endianess of the system
uname -mrps
To determine the hardware type / platform
uname -m
To determine architecture of the processor
uname -p
To determine release level
uname -r
To determine the last time a $USER logged into a system
last <user_name>
To launch a NetBSD 4.0 VM with networking
qemu-system-x86_64 -m 512 VM/netbsd4.0 -net user -net nic,model=ne2k_pci &
- see if the below commands are applicable to NetBSD
dmesg | grep CPU
dmesg | grep memory
last -1 reboot
last -1 shutdown