🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: be.comp.programming
Article #15141

Re: VC++/Win32 API : Network Load

#15141
From: Frans Bouma
Date: Wed, 15 Nov 2000 00:00
26 lines
2133 bytes
"Armin Gerritsen" <Armin.Gerritsen@philips.com> wrote in message news:8uu1l7$90u$1@porthos.nl.uu.net...
> >> Weet iemand een goede method eom de totale network load van een systeem
> te
> >> meten?
> >> Voor de duidelijkheid, ik beodle daarmee de totale bits/sec die door een
> NIC
> >> gaat. het targetplatform is NT.

> >    commandline: netstat -e
> 
> OK, misschien was ik (ondanks de naam van de nieuwsgroep) niet helemaal
> duidelijk. Ik wil het dus in een programma inbouwen. Dat het met netstat kan
> weet ik wel, maar ik de functionaliteit inbouwen in een programma dat het
> permanent kan monitoren net zoals netmon bij NT.
> Dit dus het liefst met de Win32 API.

    oh :)

    ik was in de veronderstelling dat je het NIET wist en het wilde bouwen.
    Met PhdAddCounter en aanverwante counters kun je de PerformanceMonitor
    counters gebruiken. Die zou ik gebruiken voor dit soort dingen. De performance
    monitor kan networkdevices monitoren, hoeveel data er ontvangen is etc.

    Zie: platform SDK/Base Services/Performance Monitoring/Performance Monitoring/
     
        FB
Technical Details
Message-ID: <8uu40e$65a$1@news1.xs4all.nl>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <8utta2$5po$1@porthos.nl.uu.net> <8uu0fh$mjs$1@news1.xs4all.nl> <8uu1l7$90u$1@porthos.nl.uu.net>

Show Full Headers
Complete Article Headers
X-Google-Language: DUTCH,ASCII-7-bit
X-Google-Thread: 107324,88c42dc32b652b67
X-Google-Attributes: gid107324,public
X-Google-Thread: fcea4,88c42dc32b652b67
X-Google-Attributes: gidfcea4,public
From: "Frans Bouma" <perseus@xs4all.nl>
Subject: Re: VC++/Win32 API : Network Load
Date: 2000/11/15
Message-ID: <8uu40e$65a$1@news1.xs4all.nl>
X-Deja-AN: 693893153
Content-Transfer-Encoding: 7bit
Sender: perseus@11dyn11.dh.casema.net
References: <8utta2$5po$1@porthos.nl.uu.net> <8uu0fh$mjs$1@news1.xs4all.nl> <8uu1l7$90u$1@porthos.nl.uu.net>
X-Priority: 3
Content-Type: text/plain; charset="Windows-1252"
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
X-Complaints-To: abuse@xs4all.nl
X-Trace: news1.xs4all.nl 974295886 6314 212.64.56.11 (15 Nov 2000 13:44:46 GMT)
Organization: Solutions Design
X-MSMail-Priority: Normal
Mime-Version: 1.0
Reply-To: "Frans Bouma" <perseus@xs4all.nl>
NNTP-Posting-Date: 15 Nov 2000 13:44:46 GMT
Newsgroups: be.comp.programming,nl.comp.programmeren