Daniel Willmann
f6ba8a3e89
Remove unused function
...
Change-Id: I0b5d59bf3c98d1199e710eec310d041fa15994b9
2018-06-05 15:27:18 +02:00
Harald Welte
b803888c01
rename to osmo-sysmon
2018-06-04 22:02:45 +02:00
Harald Welte
2609359c08
add .gitignore file
2018-06-04 22:02:45 +02:00
Harald Welte
54ca6f458e
migrate to autoconf
2018-06-04 22:02:45 +02:00
Harald Welte
81e20237c3
add osysmon_file.c for reading/monitoring files (like sysfs)
2018-06-04 22:02:45 +02:00
Harald Welte
9e7fe00731
Add network link + address monitiring via osysmon_rtnl.c
2018-06-04 22:02:45 +02:00
Harald Welte
b6718f7599
value_node: Add 'idx' member to handle lookup by ifindex.
...
That's a bit of an ugly layering violation, but it's the easiest way
how the ip-address related code can find the corresponding netdev
node that was created by the link related rtnl code.
2018-06-04 22:02:45 +02:00
Harald Welte
3a964a4e40
value_node: add combined find_or_add() and avoid duplicate names
2018-06-04 22:02:45 +02:00
Harald Welte
3dada48244
osysmon_main: Show hierarchical/tree structure during printing
2018-06-04 22:02:45 +02:00
Harald Welte
b3ff641b8b
osysmon_ctrl: Use variable name, not ctrl-client name as val->name
2018-06-04 22:02:45 +02:00
Harald Welte
32f7a99329
add osysmon_sysinfo for uptime/ram/load
2018-06-04 22:02:45 +02:00
Harald Welte
1a36f33e20
initial implementation of 'osysmon' main program + CTRL client
2018-06-04 22:02:45 +02:00
Harald Welte
d31ddde50e
simple_ctrl: Non-blocking connect() with timeout
2018-06-04 22:02:45 +02:00
Harald Welte
21b901cdae
simple_ctrl: Abstract out timeval_from_msec() function
2018-06-04 22:02:45 +02:00
Harald Welte
01bf3e92ab
simple-ctrl-client: Add basic help/usage information
2018-06-04 22:02:45 +02:00
Harald Welte
d28c5f6602
osmo-ctrl-client: Implement "monitor" mode
2018-06-04 22:02:45 +02:00
Harald Welte
7c94080c40
simple_ctrl.c: API for setting timeout + raw CTRL msgb read
2018-06-04 22:02:45 +02:00
Harald Welte
546573a7bd
simple_ctrl.c: Support an indefinite timeout (using tout_msec=0)
2018-06-04 22:02:45 +02:00
Harald Welte
0e9d3693b3
simple_ctrl: Add timeout to blocking I/O
2018-06-04 22:02:45 +02:00
Harald Welte
3e5ab696b6
initial checkin
2018-06-04 22:02:45 +02:00
Harald Welte
67380bf702
Initial empty repository
2018-06-04 20:02:08 +00:00