Wednesday, April 8, 2020

Re: [LINUX_Newbies] question docker cpulimit cgroups

 

No.
Thank You.
We have to study to write scripts.

We do

sudo cpulimit -e chrome -l 30

in a terminal
but this does only block or limit one tab.

If there are 10 tabs
they must be limited by

sudo cpulimit --pid 17971 --limit 10

Regards

Sophie

Am 01.04.20 um 19:25 schrieb 'Ken (desco) Ramsey' desco1kr@desco1.com
[LINUX_Newbies]:
> Can you write scripts? IF yes call a script from the desktop icon that
> includes "sudo cpulimit -e chrome -l 30" prior to calling chrome?
>
>
> .
>
> On 4/1/2020 11:06 AM, 'highskywhy@yahoo.de' highskywhy@yahoo.de
> [LINUX_Newbies] wrote:
>> Hello
>> hank You for help.
>> I do know
>> sudo cpulimit -e chrome -l 30
>> or
>> sudo cpulimit --pid 2775 --limit 10
>>
>> The problem is
>>
>> during using chrome
>> its opening many new tasks and I have to control every task with
>>
>> sudo cpulimit --pid 2775 --limit 10.
>>
>> Is there a more easy way to limit chrome?
>>
>> Thank Yu
>> Regards Sophie
>>
>>
>>
>>
>>
>>
>>
>> Am 26.03.20 um 15:31 schrieb 'Ken (desco) Ramsey' desco1kr@desco1.com
>> [LINUX_Newbies]:
>>> Difficult or not is very subjective. There will of course be a
>>> learning curve and depending on how often one uses the training will
>>> influence the perception of difficulty vs a benefit. I think docker is
>>> best suited to server side use, or perhaps 'power user' on desktop.
>>> Only you can make that determination for *_your _*situation.
>>> OK Back to CPU-LIMIT
>>> The following MAY be of use to you. My Ubuntu hardware has died and I
>>> have not replaced it yet. So I have not and cannot try this. Good
>>> luck. :-)
>>> How To Limit CPU Usage Of A Process With cpulimit (Debian/Ubuntu)
>>> https://www.howtoforge.com/how-to-limit-cpu-usage-of-a-process-with-cpulimit-debian-ubuntu
>>>
>>>
>>>
>>> .
>>>
>>> On 3/26/2020 7:18 AM, 'highskywhy@yahoo.de' highskywhy@yahoo.de
>>> [LINUX_Newbies] wrote:
>>>> Hello and Thank You
>>>>
>>>> I did read this:
>>>>
>>>>
>>>> https://docs.docker.com/install/linux/docker-ce/ubuntu/.
>>>>
>>>>
>>>> It sounds
>>>> the using of docker is very difficult.
>>>>
>>>> is rthis true?
>>>>
>>>> regards?
>>>>
>>>> Sophie
>>>>
>>>>
>>>> is there another way more easy to limit the CPU-use?
>>>>
>>>>
>>>>
>>>>
>>>> Am 18.03.20 um 16:13 schrieb 'Ken (desco) Ramsey' desco1kr@desco1.com
>>>> [LINUX_Newbies]:
>>>>> Manual? I found the following [1st page only] using the search string
>>>>> "manual docker pdf" without quotes: I hope this helps.
>>>>>
>>>>> Docker Documentation | Docker Documentation
>>>>> https://docs.docker.com
>>>>> <https://www.google.com/url?q=https://docs.docker..com/&sa=U&ved=2ahUKEwi_6LnQpqToAhWmiOAKHSTND-0QFjAAegQIDBAB&usg=AOvVaw22ag8-wadWKZ_QWCujx2_R>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>       Docker Documentation. Docker provides a way to run applications
>>>>>       securely isolated in a container, packaged with all its
>>>>>       dependencies and libraries. Get Docker ... Reference
>>>>> <https://www.google.com/url?q=https://docs.docker..com/reference/&sa=U&ved=2ahUKEwi_6LnQpqToAhWmiOAKHSTND-0Q0gIwAHoECAwQAg&usg=AOvVaw3wLB9uhe-LvPogCjQPL36M>
>>>>>
>>>>>       · Product manuals
>>>>> <https://www.google.com/url?q=https://docs.docker..com/install/&sa=U&ved=2ahUKEwi_6LnQpqToAhWmiOAKHSTND-0Q0gIwAHoECAwQAw&usg=AOvVaw0teHU1RIBpUiEKwxq29tZk>
>>>>>
>>>>>       · Glossary
>>>>> <https://www.google.com/url?q=https://docs.docker..com/glossary/&sa=U&ved=2ahUKEwi_6LnQpqToAhWmiOAKHSTND-0Q0gIwAHoECAwQBA&usg=AOvVaw0mWAsX9bR-rIl1aPnMH3sq>
>>>>>
>>>>>       · Samples
>>>>> <https://www.google.com/url?q=https://docs.docker..com/samples/&sa=U&ved=2ahUKEwi_6LnQpqToAhWmiOAKHSTND-0Q0gIwAHoECAwQBQ&usg=AOvVaw0rDwRHhWNm7j5lxH6jUc4E>
>>>>>
>>>>>
>>>>> [PDF] docker cheat sheet
>>>>> https://www.docker.com › sites › default › files › docker-cheat-sheet
>>>>> <https://www.google.com/url?q=https://www.docker.com/sites/default/files/d8/2019-09/docker-cheat-sheet.pdf&sa=U&ved=2ahUKEwi_6LnQpqToAhWmiOAKHSTND-0QFjABegQIBhAB&usg=AOvVaw3gq2x5lAoIoIrHfmlhOaii>
>>>>>
>>>>>
>>>>> docker build -t myimage:1.0 . List all images that are locally stored
>>>>> with the Docker Engine docker image ls. Delete an ...
>>>>> [PDF] Sample chapter - The Docker Book
>>>>> https://dockerbook.com › TheDockerBook_sample
>>>>> <https://www.google.com/url?q=https://dockerbook.com/TheDockerBook_sample.pdf&sa=U&ved=2ahUKEwi_6LnQpqToAhWmiOAKHSTND-0QFjACegQIChAB&usg=AOvVaw1sGr83kp8-72aBY-5_ZbbH>
>>>>>
>>>>>
>>>>> Aug 26, 2019· Once we have a Dockerfile we then use the docker build
>>>>> command to build a new image from the instructions in the Dockerfile.
>>>>> Our first Dockerfile.
>>>>> A Docker Tutorial for Beginners
>>>>> https://docker-curriculum.com
>>>>> <https://www.google.com/url?q=https://docker-curriculum.com/&sa=U&ved=2ahUKEwi_6LnQpqToAhWmiOAKHSTND-0QFjADegQIBxAB&usg=AOvVaw3Gis4V1YeXU9iBOxP4drkD>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>       *The getting started guide on Docker has detailed instructions
>>>>> for
>>>>>       setting up Docker *on Mac, Linux and Windows. Once you are done
>>>>>       installing Docker, test your ... Webapps with Docker
>>>>> <https://www.google.com/url?q=https://docker-curriculum.com/%23webapps-with-docker&sa=U&ved=2ahUKEwi_6LnQpqToAhWmiOAKHSTND-0Q0gIwA3oECAcQAg&usg=AOvVaw0-_LpqNGPZJHxSFfbZHHOy>
>>>>>
>>>>>       · Introduction
>>>>> <https://www.google.com/url?q=https://docker-curriculum.com/%23introduction&sa=U&ved=2ahUKEwi_6LnQpqToAhWmiOAKHSTND-0Q0gIwA3oECAcQAw&usg=AOvVaw1TtiWa8phucifghnYx_ndd>
>>>>>
>>>>>       · Getting Started
>>>>> <https://www.google.com/url?q=https://docker-curriculum.com/%23getting-started&sa=U&ved=2ahUKEwi_6LnQpqToAhWmiOAKHSTND-0Q0gIwA3oECAcQBA&usg=AOvVaw29GcpKGAS0uvQosxerG19B>
>>>>>
>>>>>       · Hello World
>>>>> <https://www.google.com/url?q=https://docker-curriculum.com/%23hello-world&sa=U&ved=2ahUKEwi_6LnQpqToAhWmiOAKHSTND-0Q0gIwA3oECAcQBQ&usg=AOvVaw0moiXLBul4Keex1gGHF_tP>
>>>>>
>>>>>
>>>>> [PDF] Getting Started With Docker - DevelopR6
>>>>> developr6.dr6.cnrs.fr › _media › 009-docker › 572027-rc221-docker
>>>>> <https://www.google.com/url?q=http://developr6.dr6.cnrs.fr/_media/manifestations/009-docker/572027-rc221-docker.pdf%3Fid%3Dmanifestations%253A009-docker%253Ablanchard2%26cache%3Dcache&sa=U&ved=2ahUKEwi_6LnQpqToAhWmiOAKHSTND-0QFjAEegQICBAB&usg=AOvVaw2omn--Hs6zL5CvnRPFzhGB>
>>>>>
>>>>>
>>>>> Docker. Container. Like a tiny virtual machine that is created from
>>>>> the instructions found within the Docker image originated. Docker.
>>>>> Client. Command-line utility ...
>>>>>
>>>>>
>>>>> .
>>>>> On 3/18/2020 7:51 AM, 'highskywhy@yahoo.de' highskywhy@yahoo.de
>>>>> [LINUX_Newbies] wrote:
>>>>>> hello
>>>>>> and Thank You
>>>>>>
>>>>>> I did find croups
>>>>>> but I cant understand.
>>>>>>
>>>>>> Where can I find a manal?.
>>>>>>
>>>>>> Thank You for docker introduction
>>>>>> I ll pront it out and I ll study it
>>>>>>
>>>>>> Regards
>>>>>> Sophie
>>>>>>
>>>>>>
>>>>>>
>>>>>> Am 14.03.20 um 19:13 schrieb 'Ken (desco) Ramsey' desco1kr@desco1.com
>>>>>> [LINUX_Newbies]:
>>>>>>> Internet search [google or other search] string "Linux cpu limit"
>>>>>>> without quotes. several options are listed depending on Linux flavor.
>>>>>>>
>>>>>>> I have not used Docker but found that may be of assistence:
>>>>>>>
>>>>>>>
>>>>>>>        What is Docker and why is it so darn popular?
>>>>>>>
>>>>>>> Docker is hotter than hot because it makes it possible to get far
>>>>>>> more
>>>>>>> apps running on the same old servers and it also makes it very
>>>>>>> easy to
>>>>>>> package and ship programs. Here's what you need to know about it.
>>>>>>> https://www.zdnet.com/article/what-is-docker-and-why-is-it-so-darn-popular/
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> .
>>>>>>> On 3/14/2020 10:42 AM, 'highskywhy@yahoo.de' highskywhy@yahoo.de
>>>>>>> [LINUX_Newbies] wrote:
>>>>>>>> hello
>>>>>>>>
>>>>>>>> is this group still alive?
>>>>>>>>
>>>>>>>> Cause bugs did come.
>>>>>>>>
>>>>>>>> Question:
>>>>>>>>
>>>>>>>> How can I limit the CPU?
>>>>>>>>
>>>>>>>>
>>>>>>>> CPULIMIT has the problem
>>>>>>>>
>>>>>>>> I ll open second tab (chrome )
>>>>>>>> and this is not limited during browsing.
>>>>>>>>
>>>>>>>> Is docker a good idea?
>>>>>>>>
>>>>>>>> Regards Sophie
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> Am 14.03.20 um 05:40 schrieb Chad Martin chad.e.martin@gmail.com
>>>>>>>> [LINUX_Newbies]:
>>>>>>>>> I hope he enjoys his cryptocurrency elsewhere.
>>>>>>>>>
>>>>>>>>> Chad Martin
>>>>>>>>> Moderator
>>>>>>>>>
>>>>>>>> ------------------------------------
>>>>>>>> Posted by: "highskywhy@yahoo.de" <highskywhy@yahoo.de>
>>>>>>>> ------------------------------------
>>>>>>>>
>>>>>>>> To unsubscribe from this list, please email
>>>>>>>> LINUX_Newbies-unsubscribe@yahoogroups.com & you will be removed.
>>>>>>>> ------------------------------------
>>>>>>>>
>>>>>>>> Yahoo Groups Links
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>> ------------------------------------
>>>>>> Posted by: "highskywhy@yahoo.de" <highskywhy@yahoo.de>
>>>>>> ------------------------------------
>>>>>>
>>>>>> To unsubscribe from this list, please email
>>>>>> LINUX_Newbies-unsubscribe@yahoogroups.com & you will be removed.
>>>>>> ------------------------------------
>>>>>>
>>>>>> Yahoo Groups Links
>>>>>>
>>>>>>
>>>>>>
>>>> ------------------------------------
>>>> Posted by: "highskywhy@yahoo.de" <highskywhy@yahoo.de>
>>>> ------------------------------------
>>>>
>>>> To unsubscribe from this list, please email
>>>> LINUX_Newbies-unsubscribe@yahoogroups.com & you will be removed.
>>>> ------------------------------------
>>>>
>>>> Yahoo Groups Links
>>>>
>>>>
>>>>
>>
>> ------------------------------------
>> Posted by: "highskywhy@yahoo.de" <highskywhy@yahoo.de>
>> ------------------------------------
>>
>> To unsubscribe from this list, please email LINUX_Newbies-unsubscribe@yahoogroups.com & you will be removed.
>> ------------------------------------
>>
>> Yahoo Groups Links
>>
>>
>>
>

__._,_.___

Posted by: "highskywhy@yahoo.de" <highskywhy@yahoo.de>
Reply via web post Reply to sender Reply to group Start a New Topic Messages in this topic (13)
To unsubscribe from this list, please email LINUX_Newbies-unsubscribe@yahoogroups.com & you will be removed.

.

__,_._,___

No comments:

Post a Comment