ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/i-scream/projects/libstatgrab/examples/network_traffic.c
(Generate patch)

Comparing projects/libstatgrab/examples/network_traffic.c (file contents):
Revision 1.1 by pajs, Sun May 11 17:05:24 2003 UTC vs.
Revision 1.2 by pajs, Thu Jun 5 14:45:39 2003 UTC

# Line 103 | Line 103 | int main(int argc, char **argv){
103                                          printf("\033[%d;2H%-25s : %5lld", line_number++, "Network Interface Tx", (network_stats->tx / 1024));
104                                          break;
105                                  case 'm':
106 <                                        printf("\033[%d;2H%-25s : %5.2f m", line_number++, "Network Interface Tx", network_stats->rx / (1024.00*1024.00));
106 >                                        printf("\033[%d;2H%-25s : %5.2f m", line_number++, "Network Interface Rx", network_stats->rx / (1024.00*1024.00));
107                                          printf("\033[%d;2H%-25s : %5.2f m", line_number++, "Network Interface Tx", network_stats->tx / (1024.00*1024.00));
108                          }
109                          printf("\033[%d;2H%-25s : %ld ", line_number++, "Network Interface systime", (long) network_stats->systime);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines