Announcement

Collapse
No announcement yet.

[SOLVED] Nice level of "Terminal Sessions"

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    [SOLVED] Nice level of "Terminal Sessions"

    Hi!

    I have played around with the "Terminal Sessions" app, from where I run different terminals. In Konsole -> Settings -> Configure Konsole there is a session tab. From there I thought I could set a nice level for each terminal, or renice the process. I did not manage to do that and I don't know if it is possible at all?

    I run a lot of conversion programs, and solving big problems with glpk, so I would like to have a high nice level (19 the highest) for the terminals, so I can use my machine for other things in the meantime.

    I have tried to issue a nice -n 19 and renice 19 without luck. Any suggestions or other solutions?

    Thanks

    Grzegorz.
    Check out my Ⓥegan youtube channel PlantSugar
    CV and gallery at grn.dk
    Please add [SOLVED] to topic subject when topic is solved.

    #2
    Re: Nice level of "Terminal Sessions"

    Originally posted by gnowak
    I have tried to issue a nice -n 19 and renice 19 without luck. Any suggestions or other solutions?
    what processes exactly did you try to renice?
    what command(s) did you run exactly?

    anyway, forgive my asking...
    why do you want to "nice up" your interactive stuff after starting your simulations?
    why don't you start your simulations with a nicer level, in the first place?

    cheers
    gnu/linux is not windoze

    Comment


      #3
      Re: Nice level of "Terminal Sessions"

      Now I have a terminal shortcut on my desktop with the command: "nice -n 19 xterm -bg black -cr green -fg white -fs 30"

      I would like to integrate it with "Terminal Sessions" in KDE but I don't know how to do it?

      I am starting my solvers and heavy c-progams from my terminals.
      Check out my Ⓥegan youtube channel PlantSugar
      CV and gallery at grn.dk
      Please add [SOLVED] to topic subject when topic is solved.

      Comment


        #4
        Re: Nice level of "Terminal Sessions"

        alright, i think i now understand what you're doing...

        now, since the nice level is inherited by child processes,
        starting your xtem with "nice 19" is equivalent to starting
        your solvers from a shell with "nice 19", or starting your
        solvers directly with "nice 19"... so, why don't you
        simply do that?

        in konsole...you could exploit the "shell" session and put
        your stuff in the "execute" textfield...

        or am i still missing something?

        cheers
        gnu/linux is not windoze

        Comment


          #5
          Re: Nice level of "Terminal Sessions"

          If I put "nice -n 19" in the "execute" textfield it does not work. I thought it would be that simple, but it is not?

          Thanks
          Check out my Ⓥegan youtube channel PlantSugar
          CV and gallery at grn.dk
          Please add [SOLVED] to topic subject when topic is solved.

          Comment


            #6
            Re: Nice level of "Terminal Sessions"

            Gah, had a whole post typed out and then you posted.

            Anyway, it is working. It's just executing "nice -n 19" every time you open the shell. Try something like "nice -n 19 bash".
            For external use only.

            Comment


              #7
              Re: Nice level of "Terminal Sessions"

              no, no...i mean you should put "nice -n 19 /bin/bash"...
              that must work...
              gnu/linux is not windoze

              Comment


                #8
                Re: Nice level of "Terminal Sessions"

                "nice -n 19 bash" worked for me.. did not know what to do with the bash ;-)

                Thanks, case closed
                Check out my Ⓥegan youtube channel PlantSugar
                CV and gallery at grn.dk
                Please add [SOLVED] to topic subject when topic is solved.

                Comment


                  #9
                  Re: [SOLVED] Nice level of "Terminal Sessions"

                  How did you enter the [SOLVED] in the subject? I have tried to edit and include solved in the solved problems that I have experienced, so that people who don't need the solution can pass over the read, and people who need the solution can gravitate to an answer to their problem easily. Thanks if you read this and answer. Steven

                  Comment


                    #10
                    Re: [SOLVED] Nice level of "Terminal Sessions"

                    Hello Steven. I just press on the button "modify" for my first post. This can only be done by the user, who started the thread though.

                    EDIT: You can then modify the Subject and add [SOLVED] manually.

                    Hope it helps or ask again
                    Check out my Ⓥegan youtube channel PlantSugar
                    CV and gallery at grn.dk
                    Please add [SOLVED] to topic subject when topic is solved.

                    Comment

                    Working...
                    X