Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/preetam/bsd_netstats
https://github.com/preetam/bsd_netstats
Last synced: 4 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/preetam/bsd_netstats
- Owner: Preetam
- License: mit
- Created: 2014-02-25T15:28:03.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2014-11-26T05:02:18.000Z (about 10 years ago)
- Last Synced: 2024-11-10T00:44:38.420Z (2 months ago)
- Language: C
- Size: 230 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
bsd_netstats
============Example
---
`$ gcc traffic.c -o traffic && ./traffic````json
{
"lo0": {
"bytesIn": 1086834,
"bytesOut": 1086834
},
"re0": {
"bytesIn": 0,
"bytesOut": 0
},
"em0": {
"bytesIn": 250543460,
"bytesOut": 25340872
},
"enc0": {
"bytesIn": 0,
"bytesOut": 0
},
"urndis0": {
"bytesIn": 0,
"bytesOut": 0
},
"pfsync0": {
"bytesIn": 230213760,
"bytesOut": 20745640
},
"pflog0": {
"bytesIn": 0,
"bytesOut": 0
},
"vlan20": {
"bytesIn": 0,
"bytesOut": 0
},
"vlan21": {
"bytesIn": 0,
"bytesOut": 0
},
"carp0": {
"bytesIn": 22422322,
"bytesOut": 0
}
}```