Re: Out of Memory & Relabeling

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 07/11/2012 11:36 AM, m.roth@xxxxxxxxx wrote:
> free | awk '{ if ( NR == 2 ) { if ( $4 > somenum ) { exit 0; } else { exit 
> 1; }}}'

How about something like:

#!/bin/sh
free | awk '{ if ( NR == 2 ) { if ( $4 < 25000 ) { exit 22; }}}'
/usr/sbin/semodule -Bn
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk/9osgACgkQrlYvE4MpobO1ZACgzIJf/xizrU86iqrN19DiVLE5
fo4AoNy+WDkPximj0UBE60qxj8CAzMjo
=LqT7
-----END PGP SIGNATURE-----
--
selinux mailing list
selinux@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/selinux



[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux