Commit Graph
12 Commits
Author SHA1 Message Date
Tobias TschinkowitzandAaron Marcher 5db729fedb ram: fixed int overflow on pagetok macro 2018-05-24 14:51:30 +02:00
Tobias TschinkowitzandAaron Marcher 1cd8a7b510 ip: fixed memory leak
free the interface list before returning from the function
2018-05-20 22:06:54 +02:00
Tobias TschinkowitzandAaron Marcher 2321aecff0 netspeeds: added error condition for openbsd
implemented additional error condition for openbsd netstat in case the
interface could not be found in the interface list or if_data is not
readable.
2018-05-19 12:20:25 +02:00
Tobias TschinkowitzandAaron Marcher 22175f0d57 implemented openbsd netspeed functions
implemented the netspeed functionality for openbsd.
furthermore the static keyword was removed of the interval variable in
config.def.h for usage as extern variable.
2018-05-19 01:44:36 +02:00
Tobias TschinkowitzandAaron Marcher 367f8a8c44 battery: fixed remaining time on connected AC
when an AC is connected apm_info shows a non-valid value for remaining
minutes. it was decided that in that case the function should return an
empty string.
2018-05-18 16:35:32 +02:00
Tobias TschinkowitzandAaron Marcher 8c8326f793 Add battery_remaining function on OpenBSD
Implementation of a battery_remaining function which returns the
remaining battery time in HH:MM format. Linux function still needs
implementation.
Move common code to load_apm_power_info
2018-05-18 15:25:42 +02:00
Tobias TschinkowitzandAaron Marcher 1cb5af98e5 added comment for temp function (openbsd) 2018-05-17 17:13:28 +02:00
Tobias TschinkowitzandAaron Marcher 0f46c675d3 corrected calculations for disk space on openbsd 2018-05-17 14:36:37 +02:00
Tobias TschinkowitzandAaron Marcher 1fc5cf0016 added wifi functionality for openbsd
display ESSID and signal strength percentage
2018-05-16 22:52:14 +02:00
Tobias TschinkowitzandAaron Marcher c1f79d741a corrected calculation for swap on openbsd
The swapctl(2) function fills the swapent struct with 512KB blocks.
As we want to display in GB, i just modified the calculation for this to
get the expected output.
2018-05-16 19:17:49 +02:00
Tobias TschinkowitzandAaron Marcher 82eb6e3832 consistent calculation of ram_* on openbsd 2018-05-16 12:24:43 +02:00
Tobias TschinkowitzandAaron Marcher 0f9a1a8367 updated ram_total and ram_free (obsd) 2018-05-16 08:08:48 +02:00