Hello, thank you for your reply

Here is the result:

[root@PacketFence-ZEN pf]# for file in /proc/*/status ; do awk 
'/VmSwap|Name/{printf $2 " " $3}END{ print ""}' $file; done | sort -k 2 -n -r | 
less
/usr/sbin/httpd 265412 kB
/usr/sbin/httpd 258388 kB
/usr/sbin/httpd 228144 kB
/usr/sbin/httpd 216840 kB
/usr/sbin/httpd 216500 kB
/usr/sbin/httpd 211912 kB
/usr/sbin/httpd 211672 kB


Jonathan Ubovich
Network Administrator
P: 800-343-6328Ext. 5454
D: 626.208.5454
F: 626.208.5462
2100 E. Route 66 | Glendora, CA 91740
This email is covered by the U.S. Electronic Communications Privacy Act. The 
email and any attachments are intended only for the use of the person to whom 
the email is addressed and intended, and may contain information that is 
privileged, confidential, and/or exempt from disclosure. Any dissemination, 
distribution, copying, or use of this mail and any attachments by anyone other 
than the intended recipient is prohibited. If you received this email in error, 
please immediately notify me by replying hereto and also destroy this email, 
any attachments, and any backup or archive copies. Thank you.
From: Durand fabrice via PacketFence-users 
<mailto:[email protected]>
Sent: Monday, January 7, 2019 6:13 PM
To: mailto:[email protected]
Cc: Durand fabrice <mailto:[email protected]>
Subject: Re: [PacketFence-users] PacketFence-ZEN System Swap 98.4%

Hello Jonathan,
you can try the following to find the process who use the swap:
for file in /proc/*/status ; do awk '/VmSwap|Name/{printf $2 " " $3}END{ print 
""}' $file; done | sort -k 2 -n -r | less
And can you paste the top result command ?
Regards

Fabrice
_______________________________________________
PacketFence-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users

Reply via email to