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.