Linux-Bulgaria.ORG
навигация

 

начало

пощенски списък

архив на групата

семинари ...

документи

как да ...

 

 

Предишно писмо Следващо писмо Предишно по тема Следващо по тема По Дата По тема (thread)

Re: lug-bg: CPU monitoring + MRTG


  • Subject: Re: lug-bg: CPU monitoring + MRTG
  • From: ivo@email.domain.hidden (Ivaylo Toshev)
  • Date: Thu, 24 Apr 2003 16:17:42 +0300


Tosho Yankov wrote:

<em class="quotelev1">>Zdraveite,
<em class="quotelev1">>znachi ot edna godina izpolzvam slednoto za da sledq (risuvam s MRTG)
<em class="quotelev1">>natovarvaneto na processora si:
<em class="quotelev1">>
<em class="quotelev1">>#!/bin/bash
<em class="quotelev1">>
<em class="quotelev1">>alabala=`cat /proc/loadavg|awk 'BEGIN{FS=" "}{print $2}'|cut -d "." -f 2`
<em class="quotelev1">>echo $alabala
<em class="quotelev1">>echo 0
<em class="quotelev1">>
<em class="quotelev1">>naskoro iskah da obiram ot remote mashina sytoto .. no kolko ozadachen
<em class="quotelev1">>ostanah kato vidah tova :
<em class="quotelev1">>
<em class="quotelev1">>cat /proc/loadavg
<em class="quotelev1">>1.47 1.18 1.14 2/60 32171
<em class="quotelev1">>nali nqma kak da e na 118% natovarvane .. i stignah do izvoda che cqla
<em class="quotelev1">>godina (che i poveche vsystnost sym vijdal edno nisto) ..
<em class="quotelev1">>ta misylta mi e kyde da vidq tekustoto natovarvane na processora za da
<em class="quotelev1">>moga da go podavam kym MRTG-to
<em class="quotelev1">>
<em class="quotelev1">>P.S. Varianti s snmpd ne mi vyrshat rabota.
<em class="quotelev1">>
<em class="quotelev1">>
<em class="quotelev1">>  
<em class="quotelev1">>
Äîáðå, áå, ïè÷ ! Íàïðàâî èçáè ðèáàòà ;-))))
Ïî òîçè ñëó÷àé , ñ íàé-äîáðè ÷óâñòâà ( áåç äà ñå îáèæäàø), ìè èäâà 
èäåÿòà äà ó÷ðåäèì åäíà íàãðàäà, êîÿòî ìîæåì äà ðàçäàâàìå íà ãîäèøíèòå
ñåìèíàðè â Ñòàðà Çàãîðà. Ïðèìåðíî: "Àäìèíèñòðàòîðúò!" ,.... àáå íå ìè 
èäâàò èäåè çà èìå, àìà ñå ïîñìÿõ äîñòà.

<p>============================================================================
A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers).
http://www.linux-bulgaria.org - Hosted by Internet Group Ltd. - Stara Zagora
To unsubscribe: http://www.linux-bulgaria.org/public/mail_list.html
============================================================================



 

наши приятели

 

линукс за българи
http://linux-bg.org

FSA-BG
http://fsa-bg.org

OpenFest
http://openfest.org

FreeBSD BG
http://bg-freebsd.org

KDE-BG
http://kde.fsa-bg.org/

Gnome-BG
http://gnome.cult.bg/

проект OpenFMI
http://openfmi.net

NetField Forum
http://netField.ludost.net/forum/

 

 

Linux-Bulgaria.ORG

Mailing list messages are © Copyright their authors.