1
0
mirror of https://github.com/hukl/freebsd-toolbox.git synced 2025-11-20 03:08:43 +01:00

Update commands.md

This commit is contained in:
John-Paul Bader
2014-05-08 11:50:40 +02:00
parent b8cb9fa0d2
commit 94f18e83e8

View File

@ -17,6 +17,7 @@ cat /var/run/dmesg.boot # show boot log with info about disks an
kenv # show bios, board and chassi info (dump from kernel env) kenv # show bios, board and chassi info (dump from kernel env)
pciconf -l -cv # show info about PCI devices of the machine pciconf -l -cv # show info about PCI devices of the machine
camcontrol devlist -v # list of attached ATA devices camcontrol devlist -v # list of attached ATA devices
ifconfig # show and configure network interface parameters
sysctl # tool to show/set all system/kernel coniguration variables sysctl # tool to show/set all system/kernel coniguration variables
sysctl -a # show all stystem/kernel configuration variables sysctl -a # show all stystem/kernel configuration variables
sysctl hw # show hardware related info and settings sysctl hw # show hardware related info and settings
@ -31,7 +32,6 @@ sysctl net.inet.tcp.delayed_ack=0 # disable delayed ack in tcp
``` ```
top # display and update information about the top cpu processes top # display and update information about the top cpu processes
ps auxwww | grep <processname> # display process status ps auxwww | grep <processname> # display process status
ifconfig # show and configure network interface parameters
systat -vmstat 1 # show general overview of load, memory, interrupts, disk io systat -vmstat 1 # show general overview of load, memory, interrupts, disk io
systat -iostat 1 # show disk throughput systat -iostat 1 # show disk throughput
systat -ifstat 1 # show network throughput for all interfaces systat -ifstat 1 # show network throughput for all interfaces