summaryrefslogtreecommitdiffstats
path: root/SysArchMeter.c
Commit message (Collapse)AuthorAgeFilesLines
* Update license headers to explicitly say GPLv2+Daniel Lange2021-09-221-1/+1
|
* cleaned up includes with iwyumayurdahibhate2021-05-101-1/+6
|
* Save text buffer in MeterChristian Göttsche2021-03-041-2/+2
|
* Separate display from sampling in SysArch and Hostname MetersNathan Scott2021-03-041-74/+5
| | | | | | | | | Several of our newer meters have merged coding concerns in terms of extracting values and displaying those values. This commit rectifies that for the SysArch and Hostname meters, allowing use of this code with alternative front/back ends. The SysArch code is also refined to detect whether the platform has an os-release file at all and/or the sys/utsname.h header via configure.ac.
* SysArchMeter: avoid static variableChristian Göttsche2021-03-021-5/+4
|
* Fix a possible truncation of the intermediate strings in the SysArch meterBenny Baumann2021-03-011-2/+9
|
* SysArchMeter: read os-release instead of running lsb-releaseChristian Göttsche2021-02-171-44/+58
| | | | | | | | | | | os-release is available on FreeBSD by default. Also avoid executing a third-party program. Examples: Linux 5.10.0-3-amd64 [x86_64] @ Debian GNU/Linux bullseye/sid FreeBSD 12.2-RELEASE-p3 [amd64] Closes: #516
* SysArchMeter: skip "n/a" valuesChristian Hesse2021-02-041-0/+5
| | | | | | | | | | | Unavailable values are returned as "n/a" from lsb_release, skip these. $ lsb_release -a LSB Version: 1.4 Distributor ID: Arch Description: Arch Linux Release: rolling Codename: n/a
* [#480] SysArchMeter to view kernel/arch infoahgamut2021-01-311-0/+83
At start, SysArchMeter calls the uname function to obtain the kernel version and architecture. If available, the distro version is obtained by calling lsb_release. The obtained values are stored in static variables and used when updating the meter.

© 2014-2024 Faster IT GmbH | imprint | privacy policy