Today a simple script to remove shared memory in ksh :
#!/bin/ksh
#
# Shell Script to remove shared memory MVNO Instance
#
PID=$(ipcs -m | grep 0x000000a[0-9a-b] | awk '{print $2}'|xargs)
for one_pid in ${PID}; do
ipcrm -m ${one_pid}
echo 'Removed shm : ' ${one_pid}
done
This script remove all shared memory from address 0x000000a0 to 0x000000ab. You must modify this expression to remove another shared memory.
Stay tuned.
This blog was created to improve my English and share news, thoughts and opinions about the world around me. I use it also to fix some technical solutions for future use.
Iscriviti a:
Commenti sul post (Atom)
Check Mid Year Objectives
Hi all Today middle year check of my 2026's goals. 1. ENGLISH Improve listening comprehension (So and So) See at least one or two film...
-
Hi all Today I want speak about one of the best DB Client tool in the market : DBeaver . Why it's so good : 1) It's an open source...
-
Hi all Today, first day of 2025 my goals for this year : 1. ENGLISH Improve listening comprehension See at least one or two films in Engli...
-
For my actual project i am studying CUBE and ROLLUP option in GROUP BY. These options are present from Oracle 8i and are very interesting : ...
Nessun commento:
Posta un commento