Hi,
We have SLES 12 SP3 and SLES 11 SP4, both with Apache Tomcat 8.5
RAM 8GB
SWAP 8GB
There is a way to obtain the processes that are running in the swap?
TIA
Hi,
We have SLES 12 SP3 and SLES 11 SP4, both with Apache Tomcat 8.5
RAM 8GB
SWAP 8GB
There is a way to obtain the processes that are running in the swap?
TIA
[QUOTE=esilva;57238]Hi,
We have SLES 12 SP3 and SLES 11 SP4, both with Apache Tomcat 8.5
RAM 8GB
SWAP 8GB
There is a way to obtain the processes that are running in the swap?
TIA[/QUOTE]
Hi
You would need to craft a script to pass all the files in /proc/*/status in each of these files is a Name and VmSwap line which will show the info your after…
You can reduce the usage of swap with this configuration:
# more /etc/sysctl.conf |grep -i swap
vm.swappiness = 10
cat /proc/meminfo |grep -i swap
SwapCached: 0 kB
SwapTotal: 4525052 kB
SwapFree: 4525052 kB
For more informationen, see SLE System Analysis and Tuning Guide:
https://www.suse.com/documentation/