[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.
Monday, 19 January 2015
Subscribe to:
Post Comments
(
Atom
)
No comments :
Post a Comment