mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2026-01-18 00:21:33 +01:00
step one project reorganization
This commit is contained in:
10
examples/remove_shm.sh
Executable file
10
examples/remove_shm.sh
Executable file
@@ -0,0 +1,10 @@
|
||||
#!/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
|
||||
|
||||
Reference in New Issue
Block a user