Solved

Setup for Real-mode on Solaris2.x

Posted on 1997-02-16
1
215 Views
Last Modified: 2013-12-16
I have a Sparc20 running with solaris 2.5. I have a program
that I like to run in real-mode, which allows the process
to hold up the CPU as long as it goes without releasing the
resource. Is there any possible way or kernel setup?
0
Comment
Question by:mshim
1 Comment
 
LVL 2

Accepted Solution

by:
pxh earned 100 total points
ID: 1811792
There is no real time support for Solaris 2.5. here are alternatives, which might help you:

a) get another OS ;-)

b) try to give that process the highest priority (nice value -20)

c) if you have a two processor machine you can try to dedicate one CPU for your process, while all others can be locked to the second CPU (there is a family of commands and functions to do processor administration, read the man pages for psradm, processor_bind, pbind etc.). I think also the proctool can shuffle processes to processors and/or lock them to one.

d) run the program in the single user mode

Without knowing what your program should do and with what kind of system config your SPARC 20 is setup, or in which environment it is operated, it's hard to give you a more detailed answer.

Hope this help,

Peter (pxh@mpe-garching.mpg.de)

0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When you do backups in the Solaris Operating System, the file system must be inactive. Otherwise, the output may be inconsistent. A file system is inactive when it's unmounted or it's write-locked by the operating system. Although the fssnap utility…
Let's say you need to move the data of a file system from one partition to another. This generally involves dismounting the file system, backing it up to tapes, and restoring it to a new partition. You may also copy the file system from one place to…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

932 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now