
⇐ Back | Page | Next ⇒ |
Commands
A
A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z |
adjtimex
Read and optionally set system timebase parameters.
adjtimex [-q] [-o offset] [-f frequency] [-p timeconstant] [-t tick] -q Quiet -o offset Time offset, microseconds -f frequency Frequency adjust, integer kernel units (65536 is 1ppm) (positive values make clock run faster) -t tick Microseconds per tick, usually 10000 -p timeconstant
Example
The following example shows how to read the system timebase parameters.
# adjtimex mode: 0 -o offset: 0 -f frequency: 0 maxerror: 16384000 esterror: 16384000 status: 64 ( UNSYNC ) -p timeconstant: 2 precision: 1 tolerance: 33554432 -t tick: 10000 time.tv_sec: 1437045938 time.tv_usec: 201954 return value: 5 (clock not synchronized)[_/su_spoiler]
arp
Manipulate ARP cache.
arp [-vn] [-H type] [-i if] -a [hostname] [-v] [-i if] -d hostname [pub] [-v] [-H type] [-i if] -s hostname hw_addr [temp] [-v] [-H type] [-i if] -s hostname hw_addr [netmask nm] pub [-v] [-H type] [-i if] -Ds hostname ifa [netmask nm] pub -a Display (all) hosts -s Set new ARP entry -d Delete a specified entry -v Verbose -n Don't resolve names -i IF Network interface -D Read from given device -A, -p AF Protocol family -H HWTYPE Hardware address type
Example
The following example shows how to display the ARP table.
# arp -a router.example.com (192.168.1.1) at 24:A4:3C:3C:80:00 [ether] on br0 unifi.example.com (192.168.1.10) at B8:27:EB:A7:30:00 [ether] on br0 server.example.com (192.168.1.20) at 00:15:5D:52:70:00 [ether] on br0 ? (192.168.1.100) at D0:67:E5:38:10:00 [ether] on br0[_/su_spoiler]
arping
Send ARP requests/replies.
arping [-fqbDUA] [-c count] [-w timeout] [-I dev] [-s sender] target -f Quit on first ARP reply -q Quiet -b Keep broadcasting, don't go unicast -D Duplicated address detection mode -U Unsolicited ARP mode, update your neighbors -A ARP answer mode, update your neighbors -c N Stop after sending N ARP requests -w timeout Time to wait for ARP reply, in seconds -I dev Interface to use (default eth0) -s sender Sender IP address target Target IP address
ash
awk
A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z |
⇐ Back | Page | Next ⇒ |
Ubiquiti UniFi Command-Line Interface Reference