mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-23 18:17:59 +02:00
SlsDetector client library and servers. First import.
git-svn-id: file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorSoftware@1 951219d9-93cf-4727-9268-0efd64621fa3
This commit is contained in:
10
slsDetectorSoftware/slsDetector/remove_shm.sh
Executable file
10
slsDetectorSoftware/slsDetector/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 -c12-19`
|
||||
foreach s ( $l )
|
||||
echo $s
|
||||
ipcrm shm $s
|
||||
end
|
||||
#if ($#l != 0 )
|
||||
echo $#l shared memory\(s\) for $user removed
|
||||
|
Reference in New Issue
Block a user