Equivalencia comandos Linux - FreeBSD:
Linux | FreeBSD |
---|---|
lspci | pciconf -l -v |
lsusb | usbconfig / lsusb(usbutils) |
lsmod | kldstat |
modprobe | kldload / kldunload |
strace | truss |
dtrace | |
fdisk -l | gpart show |
gpart list | |
camcontrol devlist | |
camcontrol identify /dev/DEVICE_NAME |grep ^serial | |
nvmecontrol devlist | |
smartctl -i /dev/DEVICE_NAME |grep ^Serial | |
smartctl -a /dev/DEVICE_NAME | |
geom disk list | |
sysctl -a | grep DISK | |
netstat | sockstat -sv |
sockstat -46 -l -s | |
netstat -anfinet | |
netstat -anfinet6 | |
lsof -i -nP | |
route -n | netstat -nr |
cat /proc/cpuinfo | lscpu |
sysctl hw.model hw.machine hw.ncpu | |
nvidia-smi -q(nvidia-driver) | |
cputype(hs-cputype) | |
watch | cmdwatch |
sensors | hwstat / sysctl -a | grep -E 'acpi.thermal.*temperature|dev.cpu.*temperature' |
updatedb | /usr/libexec/locate.updatedb |
hdparm -t /dev/DISCO | diskinfo -t /dev/DISCO |
rc-update | service -e |
Shift+AvPag/RePag | ScrLk+AvPag/RePag |
df -h | zfs list -ro space |
zpool list | |
iotop | gstat -a |
top -m io -o total | |
iostat -w 1 | |
ztop -a | |
zpool iostat | |
systat -vmstat | |
systat -zarc | |
zpool iostat -yr 1 | |
zpool iostat -l | |
zpool iostat -w | |
free | freecolor -m -o / freecolor -m |
htop | htop / gotop |
uname -a | uname / freebsd-version -kru |