Alerta Swap

Download as txt, pdf, or txt
Download as txt, pdf, or txt
You are on page 1of 2

https://cau.aragon.es/index.pl?

Action=AgentTicketZoom;TicketID=1296769#3969317 -->
Alerta Swap

IP: 192.168.150.137
---------------------------------
free -m --> Memoria libre

[root@fov-apache-03 ~]# free -m


total used free shared buff/cache available
Mem: 22085 20448 179 1173 1457 135
Swap: 411 411 0
---------------------------------

df -h --> ver el espacio de disco disponible en cada una de las particiones de su


sistema

[root@fov-apache-03 ~]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/vg01-root 12G 5.6G 6.5G 47% /
devtmpfs 11G 0 11G 0% /dev
tmpfs 11G 57M 11G 1% /dev/shm
tmpfs 11G 1.1G 9.8G 10% /run
tmpfs 11G 0 11G 0% /sys/fs/cgroup
/dev/mapper/vg01-logs_app 1014M 33M 982M 4% /logs/app
/dev/mapper/vg01-app 25G 11G 15G 41% /app
/dev/mapper/vg01-logs_as 25G 9.6G 16G 39% /logs/as
/dev/mapper/vg01-home 497M 26M 472M 6% /export/home
/dev/sda1 497M 167M 331M 34% /boot
/dev/mapper/vg01-opt 10G 6.5G 3.6G 65% /opt
tmpfs 2.2G 0 2.2G 0% /run/user/48
tmpfs 2.2G 0 2.2G 0% /run/user/1000
---------------------------------------------------------------

vmstat 1 5 --> Comprueba uso de la memoria cada 1 seg y hace 5 comprobaciones

[sistemas@bov-informix-602 ~]$ vmstat -S m 1 5


procs -----------memory---------- ---swap-- -----io---- --system-- -----cpu------
r b swpd free buff cache si so bi bo in cs us sy id wa st
0 0 0 156 224 7723 0 0 58 3 7 2 0 0 99 0 0
0 0 0 156 224 7723 0 0 0 0 58 33 0 0 100 0 0
0 0 0 156 224 7723 0 0 0 0 72 39 0 0 100 0 0
0 0 0 156 224 7723 0 0 0 96 70 37 0 0 100 0 0
0 0 0 156 224 7723 0 0 0 0 42 31 0 0 100 0 0

----------------------------------------------------------------------------
top --> Ver procesos de ejecución
ctrl + M --> Ordena por Memoria
Tasks: 266 total, 1 running, 265 sleeping, 0 stopped, 0 zombie
%Cpu(s): 0,8 us, 1,9 sy, 0,0 ni, 96,1 id, 0,0 wa, 1,0 hi, 0,2 si, 0,0 st
MiB Mem : 2878,6 total, 436,4 free, 1250,3 used, 1191,9 buff/cache
MiB Swap: 2878,0 total, 2878,0 free, 0,0 used. 1456,3 avail Mem

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND


1598 apax 20 0 3861816 188152 109160 S 6,3 6,4 0:26.23 gnome-s+
634 systemd+ 20 0 17868 8892 7976 S 2,0 0,3 0:26.36 systemd+
2227 apax 20 0 683640 47720 37868 S 1,3 1,6 0:03.35 gnome-t+
2763 root 20 0 235960 5144 4304 R 1,0 0,2 0:00.18 top
688 root 20 0 463736 8880 7624 S 0,3 0,3 0:07.05 vmtoolsd
1764 apax 20 0 455996 8364 7428 S 0,3 0,3 0:00.33 goa-ide+
1973 apax 20 0 655624 38960 31920 S 0,3 1,3 0:06.07 vmtoolsd
1 root 20 0 176396 16916 11020 S 0,0 0,6 0:07.21 systemd
2 root 20 0 0 0 0 S 0,0 0,0 0:00.07 kthreadd
3 root 0 -20 0 0 0 I 0,0 0,0 0:00.00 rcu_gp
4 root 0 -20 0 0 0 I 0,0 0,0 0:00.00 rcu_par+
6 root 0 -20 0 0 0 I 0,0 0,0 0:00.00 kworker+
7 root 20 0 0 0 0 I 0,0 0,0 0:00.89 kworker+
9 root 0 -20 0 0 0 I 0,0 0,0 0:00.00 mm_perc+
10 root 20 0 0 0 0 S 0,0 0,0 0:00.00 rcu_tas+
11 root 20 0 0 0 0 S 0,0 0,0 0:00.00 rcu_tas+
12 root 20 0 0 0 0 S 0,0 0,0 0:00.00 rcu_tas+
-------------------------------------------------------

You might also like