* How To Determine Interface Traffic Statistics
@ 2003-08-07 22:35 Steve Hyatt
2003-08-12 13:09 ` marco
0 siblings, 1 reply; 3+ messages in thread
From: Steve Hyatt @ 2003-08-07 22:35 UTC (permalink / raw)
Hi.
I have a piece of software which periodically (every second or so) is
responsible for determining the total amount of network traffic (in
bytes) which are sent and received through all interfaces on a
machine.
I have routines which determine this data on various different systems
(Linux, IRIX, Solaris, Win32) but am unable to determine how to do
this on Tru64 (the way this is done is different across all
platforms).
My question is how can I determine this information? I am looking for
something like the following which could be called periodically to
retrieve total traffic and therefore the traffic delta's could be
easily computed:
int getTotalBytesSent (const char* interfaceName);
Hints (or code snippets) greatly appreciated.
Steve
shyatt@bigbangwidth.com
^ permalink raw reply [flat|nested] 3+ messages in thread
* How To Determine Interface Traffic Statistics
@ 2003-08-11 21:54 Steve Hyatt
0 siblings, 0 replies; 3+ messages in thread
From: Steve Hyatt @ 2003-08-11 21:54 UTC (permalink / raw)
Hi.
I have a piece of software which periodically (every second or so) is
responsible for determining the total amount of network traffic (in
bytes) which are sent and received through all interfaces on a
machine.
I have routines which determine this data on various different systems
(Linux, IRIX, Solaris, Win32) but am unable to determine how to do
this on Tru64 (the way this is done is different across all
platforms).
My question is how can I determine this information? I am looking for
something like the following which could be called periodically to
retrieve total traffic and therefore the traffic delta's could be
easily computed:
int getTotalBytesSent (const char* interfaceName);
I am currently runnint Tru64 V5.1a patch kit 4.
Hints (or code snippets) greatly appreciated.
Steve
shyatt@bigbangwidth.com
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: How To Determine Interface Traffic Statistics
2003-08-07 22:35 Steve Hyatt
@ 2003-08-12 13:09 ` marco
0 siblings, 0 replies; 3+ messages in thread
From: marco @ 2003-08-12 13:09 UTC (permalink / raw)
On Tru64 you can use the command:
# collect -sn
to gather statistics about all cofigured network interfaces
"Steve Hyatt" <shyatt@bigbangwidth.com> wrote in message
news:af378fa4.0308071435.7f07614c@posting.google.com...
> Hi.
>
> I have a piece of software which periodically (every second or so) is
> responsible for determining the total amount of network traffic (in
> bytes) which are sent and received through all interfaces on a
> machine.
>
> I have routines which determine this data on various different systems
> (Linux, IRIX, Solaris, Win32) but am unable to determine how to do
> this on Tru64 (the way this is done is different across all
> platforms).
>
> My question is how can I determine this information? I am looking for
> something like the following which could be called periodically to
> retrieve total traffic and therefore the traffic delta's could be
> easily computed:
>
> int getTotalBytesSent (const char* interfaceName);
>
> Hints (or code snippets) greatly appreciated.
>
> Steve
> shyatt@bigbangwidth.com
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2003-08-12 13:09 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-08-11 21:54 How To Determine Interface Traffic Statistics Steve Hyatt
-- strict thread matches above, loose matches on Subject: below --
2003-08-07 22:35 Steve Hyatt
2003-08-12 13:09 ` marco
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox