mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-04-28 17:10:03 +02:00
11 lines
206 B
Bash
Executable File
11 lines
206 B
Bash
Executable File
#!/bin/csh -f
|
|
#set l = `ipcs -m | grep "$USER"| cut -c12-19`
|
|
set l = `ipcs -m | cut -c0-10`
|
|
foreach s ( $l )
|
|
echo $s
|
|
ipcrm -M $s
|
|
end
|
|
#if ($#l != 0 )
|
|
echo $#l shared memory\(s\) for $user removed
|
|
|