Lotus Domino: Limpando Shared Memory no Linux: Difference between revisions
(New page: Limpando Shared Memory no Linux #!/bin/sh #system cleanup for LINUX for i in `ipcs -m | tail +4 | awk '{print $2}'`; do ipcrm -m $i done for i in `ipcs -s | tail +4 | awk '{prin...) |
No edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 3: | Line 3: | ||
#!/bin/sh | #!/bin/sh | ||
#system cleanup for LINUX | #system cleanup for LINUX | ||
for i in `ipcs -m | tail +4 | awk '{print $2}'`; do | for i in `ipcs -m | tail -n +4 | awk '{print $2}'`; do | ||
ipcrm -m $i | ipcrm -m $i | ||
done | done | ||
for i in `ipcs -s | tail +4 | awk '{print $2}'`; do | for i in `ipcs -s | tail -n +4 | awk '{print $2}'`; do | ||
ipcrm -s $i | ipcrm -s $i | ||
done | done | ||
for i in `ipcs -q | tail +4 | awk '{print $2}'`; do | for i in `ipcs -q | tail -n +4 | awk '{print $2}'`; do | ||
ipcrm -q $i | ipcrm -q $i | ||
done | done | ||
= Ver também = | |||
* [[Lotus Domino e Notes| Mais artigos sobre IBM Domino e Notes]] | |||
[[Category: IBM Domino]] | |||
[[Category: Lotus Domino]] |
Latest revision as of 15:00, 27 February 2014
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