From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96079341819581.tru64-unix-managers.marc@archive.invalid> From: Bevan Broun Date: Fri, 17 Mar 2000 01:34:57 +0000 To: tru64-unix-managers Subject: SUMMARY: make a process non swapable X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96079341819581 Thanks to: LHERCAUD@bouyguestelecom.fr Bryan Rank Alan Angulo Dr. Tom Blinn, 603-884-0646" "Frank Wortner" I wanted to know if it was possilbe to make a process non swapable. This was to be a tmp messure to solve an urgent problem, luckily the software that was causing the problems has been turned off and will be moved to another machine so I didnt need to do anything. The answer is: 1) If you have the source code there are a few systems calls to use: mlock mlockall plock 2) If you only have the binary the only thing to do is run the process at a high enough priority so it doesnt get swapped out. Thanks to all BB -- Bevan Broun ph (08) 9380 1587 Computer Systems Officer fax (08) 9380 1065 Dept. Electrical and Electronic Engineering University of Western Australia rm. G70