Lotus Domino: Limpando Shared Memory no Linux

From Wiki
Revision as of 15:00, 27 February 2014 by Ebasso (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Limpando Shared Memory no Linux

#!/bin/sh
#system cleanup for LINUX
for i in `ipcs -m | tail -n +4 | awk '{print $2}'`; do
    ipcrm -m $i
done
for i in `ipcs -s | tail -n +4 | awk '{print $2}'`; do
    ipcrm -s $i
done
for i in `ipcs -q | tail -n +4 | awk '{print $2}'`; do
    ipcrm -q $i
done

Ver também