From: Bevan Broun <bevanb () ee ! uwa ! edu ! au>
To: tru64-unix-managers
Subject: SUMMARY: make a process non swapable
Date: Fri, 17 Mar 2000 01:34:57 +0000 [thread overview]
Message-ID: <96079341819581.tru64-unix-managers.marc@archive.invalid> (raw)
Thanks to:
LHERCAUD@bouyguestelecom.fr
Bryan Rank <bryan@compgen.com>
Alan Angulo <alan@esu.edu>
Dr. Tom Blinn, 603-884-0646" <tpb@doctor.zk3.dec.com>
"Frank Wortner" <frank@bondnet.com>
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
reply other threads:[~2000-03-17 1:34 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox