[vpsFree.cz: community-list] Load average

Wolf wolf at wolfsden.cz
Fri Feb 23 18:52:42 CET 2018


Ahoj,

On , Caesar Consulting wrote:
> [ .. ] Něco ve stylu 0.5 je v pohodě, ale 1.5 už třeba ne [ .. ]

Pro jistotu chci podotknout, ze load je potreba brat s respektem k poctu
jader. U mne v .basrh mam barevne limity pro prompt takto:

COLOR_LOAD_GREEN_LIMIT="$(bc <<< "scale=2; $NUM_OF_PROCESSORS_COLOR_LOAD * .50")"
COLOR_LOAD_YELLOW_LIMIT="$(bc <<< "scale=2; $NUM_OF_PROCESSORS_COLOR_LOAD * .70")"

Jinymi slovy, co je pod 50% cpu (tedy load <= num_of_cpu / 2) neresim,
pod 70% uz je to zajimave. Nad 70% se snazim normalne nemit.

Ale zajimalo by mne, jak se na to divaji zkusenejsi lide ^_^

W.
-- 
There are only two hard things in Computer Science:
cache invalidation, naming things and off-by-one errors.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.vpsfree.cz/pipermail/community-list/attachments/20180223/289bfca8/attachment.sig>


More information about the Community-list mailing list