[root@fc21 ~]# cat /usr/local/sbin/swap #!/bin/bash /usr/bin/free | head -3 | tail -n +3 | awk {'print $3'} [root@fc21 ~]# swap 1648
A Linux blog by ioMeWeekly, includes tutorials, news, help, programming, tips and how-to guides for opensource applications.
Showing posts with label swap. Show all posts
Showing posts with label swap. Show all posts
Monday, 19 January 2015
Monitoring swap space
To monitor the swap space available in the system, we can use free command. Below script display the swap space available in the system.
Subscribe to:
Posts
(
Atom
)