8327059: os::Linux::print_proc_sys_info add swappiness information

Backport-of: f3b15abcb7
This commit is contained in:
Matthias Baesken
2024-03-11 08:08:50 +00:00
committed by Vitaly Provodin
parent f0bb231a1f
commit a4c6e6deee

View File

@@ -2149,6 +2149,8 @@ void os::Linux::print_proc_sys_info(outputStream* st) {
"/proc/sys/kernel/threads-max", st);
_print_ascii_file_h("/proc/sys/vm/max_map_count (maximum number of memory map areas a process may have)",
"/proc/sys/vm/max_map_count", st);
_print_ascii_file_h("/proc/sys/vm/swappiness (control to define how aggressively the kernel swaps out anonymous memory)",
"/proc/sys/vm/swappiness", st);
_print_ascii_file_h("/proc/sys/kernel/pid_max (system-wide limit on number of process identifiers)",
"/proc/sys/kernel/pid_max", st);
}