News, tips, partners, and perspectives for the Oracle Solaris operating system

Demo for Solaris Resource Manager

Here's an example how to build such a live demo:

  1. Create two projects:
    add to /etc/project:
  2. Start your interactive demo:
    newtask -p srm-demo java -jar /usr/java/demo/jfc/Java2D/Java2Demo.jar &
  3. Now start as many background processes as you need:
    newtask -p srm-loader someload.sh &
    where someload.sh could be:
    while true
    echo adflkjasdflkjasdflkjasdflkj > /dev/null
  4. Now move your processes to the FSS class
    priocntl -s -c FSS -i projid 101
    priocntl -s -c FSS -i projid 100

    or back to the TS class to show the effect of resource management.
    priocntl -s -c TS -i projid 100
    priocntl -s -c TS -i projid 101

Be the first to comment

Comments ( 0 )
Please enter your name.Please provide a valid email address.Please enter a comment.CAPTCHA challenge response provided was incorrect. Please try again.