Michael Buch
|
a1ac203d16
Add ram and swap components on FreeBSD
|
7 년 전 |
Aaron Marcher
|
96ddf4e1de
Consistency with 80 char limit and breaks
|
7 년 전 |
Aaron Marcher
|
b0401b13bb
Clean up header includes
|
7 년 전 |
Tobias Tschinkowitz
|
0c29fc56f9
swap: removed unused include
|
7 년 전 |
Laslo Hunhold
|
a18439af11
Refactor swap.c to use getline() instead of buf-filling
|
7 년 전 |
Laslo Hunhold
|
7f91ce265e
swap.c: Refactor getstats() and its usage
|
7 년 전 |
Aaron Marcher
|
10dbc9543e
Merge fmt_human_2 and fmt_human_10 to one function
|
7 년 전 |
Aaron Marcher
|
ec5c35ec9f
Remove units from numbers
|
7 년 전 |
Aaron Marcher
|
4bd234c7ef
swap_perc: check for division by zero on obsd too
|
7 년 전 |
Aaron Marcher
|
806815778f
swap_perc: check for division by zero
|
7 년 전 |
Laslo Hunhold
|
46c4540dd2
Implement fmt_human_2() and fmt_human_10()
|
7 년 전 |
Aaron Marcher
|
74c4f4ebda
Add the percent sign to *_perc functions
|
7 년 전 |
Aaron Marcher
|
39ee31c242
Implement fmt_scaled for swap_* functions
|
7 년 전 |
Laslo Hunhold
|
80fc20d1d6
Add warn() and die()
|
7 년 전 |
Tobias Tschinkowitz
|
c1f79d741a
corrected calculation for swap on openbsd
|
7 년 전 |
Aaron Marcher
|
ee5ec75621
Fix coding style
|
7 년 전 |
Aaron Marcher
|
efb41724b5
swap_*: Port to OpenBSD
|
7 년 전 |
Laslo Hunhold
|
19343ff343
components/swap.c | move duplicated code to separate function
|
7 년 전 |
Laslo Hunhold
|
9750a3d731
Use indentation to increase readability
|
7 년 전 |
Laslo Hunhold
|
42edfea89a
Revert component-split
|
7 년 전 |
Quentin Rameau
|
72f5a0d69a
swap: OS split
|
7 년 전 |
Aaron Marcher
|
faa52bdcc0
Format error messages properly
|
7 년 전 |
Aaron Marcher
|
96f3a8a54e
Get rid of err.h as it is not portable
|
7 년 전 |
Aaron Marcher
|
e79d4932ea
More robust preprocessor switches
|
7 년 전 |
Aaron Marcher
|
ebf5a35052
Build Linux-only functions only on Linux
|
7 년 전 |
Laslo Hunhold
|
7246dc4381
Move components into dedicated subdirectory
|
8 년 전 |