[cs615asa] Mb/s

Chih-Yuan Lee clee9 at stevens.edu
Fri Apr 17 22:03:32 EDT 2009


Hi

As far as I know, the input rate and output rate should be look like: 
"1.345xxx" or "0.453xxx", or "0" and so on.

So using the ceiling can differentiate 0.453xx and 0. 
If you use "int", both "0.453xxx" and "0" will be the same value that 
is "0".  

If I am wrong, please let me know.

Lee




Joseph McKinney wrote:


>So for clarification, What resolution do you want for the output of 
Mb/s.
>Ceiling as below would be only whole numbers.
>
>J. McKinney
>
>> -----Original Message-----
>> From: cs615asa-bounces at lists.stevens.edu [mailto:cs615asa-
>> bounces at lists.stevens.edu] On Behalf Of Jan Schaumann
>> Sent: Tuesday, April 14, 2009 10:58 PM
>> To: CS615A - Aspects of System Administration
>> Subject: Re: [cs615asa] Mb/s
>> 
>> Chih-Yuan Lee <clee9 at stevens.edu> wrote:
>> 
>> > Most input rate or output rate I got look like this
>> > "0.000048240025.....".  <= MB/second
>> 
>> You're listing "MB", but the subject line (and the homework assignment)
>both
>> state "Mb".  Not that it makes much of a difference in this case, but 
just
>to
>> clarify.
>> 
>> > So if I choose "floor" or "int", it will be "0";
>> >      Otherwise if I choose "ceiling", it will be "1";
>> >
>> > Is it Ok for all these kind of answers??
>> 
>> Make it ceiling, then.  If only to distinguish from interfaces that 
see no
>> traffic.
>> 
>> -Jan
>
>_______________________________________________
>Cs615asa mailing list
>Cs615asa at lists.stevens.edu
>https://lists.stevens.edu/cgi-bin/mailman/listinfo/cs615asa
>


More information about the Cs615asa mailing list