Patrick Griffis
c092af89a2
sysinfo: Fixup formatting
2018-09-01 13:01:30 -04:00
Patrick Griffis
2a8ab8bb7f
sysinfo: Add support for /etc/os-release
2018-09-01 12:51:07 -04:00
Patrick Griffis
38f8cc8e0c
sysinfo: Fix libpci detection
...
For some reason on my system `libpci` is found even though its not
installed...? Plus I forgot a few headers being included.
2017-11-18 21:06:21 -05:00
Patrick Griffis
3e53635dfb
sysinfo: Make libpci an optional dependency
2017-11-18 20:47:32 -05:00
Patrick Griffis
47b653cc7c
sysinfo: Avoid libpci crash when pci not available
...
Turns out libpci is an awful library that on any error calls
exit() and has no way of indicating an error otherwise...
2017-11-18 00:22:48 -05:00
Patrick Griffis
99e16110bc
sysinfo: Simplify finding pci.ids file on Unix
...
There is probably no reason to make this user configurable just
get the correct one at build time...
2017-06-20 16:26:28 -04:00
Lance Poore
92496b183e
sysinfo: Lower priority of make.conf for distro name
...
This is used elsewhere other than Gentoo so it is a rather
unreliable check compared to lsb-release.
2017-04-28 07:44:55 -04:00
Patrick Griffis
737f87fa16
sysinfo: Fix leak
2016-09-03 12:29:01 -04:00
Patrick Griffis
4658c5d4e5
sysinfo: Don't print swap if 0
2016-09-03 12:24:15 -04:00
Patrick Griffis
ed029357d1
sysinfo: Clean up ifdefs and handle unsupported CPU
...
Mentioned in #1624
2016-03-06 23:10:04 -05:00
TingPing
7e7e87600e
More type issues/warnings
2015-02-21 21:01:14 -05:00
TingPing
c36d4859d7
Fix type mismatch
2015-02-21 20:52:43 -05:00
TingPing
5e3355a6c3
Unify sysinfo plugins and add osx support
...
This does remove the net* commands from the
Unix version that may return at a later date
with OSX and Windows support.
This commit also makes numerious other changes
such as code cleanup, reformatting, etc.
Closes #829
2015-02-21 20:09:15 -05:00