[Machine readable output from userland utilities] report
Zaro Korchev
zkorchev at mail.bg
Mon Jul 28 10:57:54 UTC 2014
Hi everybody
This week I worked on adding libsol support to ifconfig. At the moment the support is partial but works for the usual usage cases.
Here is some example output:
{
"em0": {
"flags": {
"value": 34883,
"list": [
"UP",
"BROADCAST",
"RUNNING",
"SIMPLEX",
"MULTICAST"
]
},
"metric": 0,
"mtu": 1500,
"options": {
"value": 155,
"list": [
"RXCSUM",
"TXCSUM",
"VLAN_MTU",
"VLAN_HWTAGGING",
"VLAN_HWCSUM"
]
},
"ether": "08:00:27:a8:45:71",
"inet": "10.0.2.15",
"netmask": 4294967040,
"broadcast": "10.0.2.255",
"nd6 options": {
"value": 41,
"list": [
"PERFORMNUD",
"IFDISABLED",
"AUTO_LINKLOCAL"
]
},
"media": {
"type": "Ethernet",
"subtype": "autoselect",
"options": [],
"active": {
"subtype": "1000baseT",
"options": [
"full-duplex"
]
}
},
"status": "active"
},
"lo0": {
"flags": {
"value": 32841,
"list": [
"UP",
"LOOPBACK",
"RUNNING",
"MULTICAST"
]
},
"metric": 0,
"mtu": 16384,
"options": {
"value": 6291459,
"list": [
"RXCSUM",
"TXCSUM",
"RXCSUM_IPV6",
"TXCSUM_IPV6"
]
},
"inet6": "fe80::1%lo0",
"prefixlen": 64,
"inet6 iff": [],
"scopeid": 2,
"inet": "127.0.0.1",
"netmask": 4278190080,
"nd6 options": {
"value": 33,
"list": [
"PERFORMNUD",
"AUTO_LINKLOCAL"
]
}
}
}
Zaro
More information about the soc-status
mailing list