Lines 862-868
Link Here
|
862 |
|
862 |
|
863 |
bzero(&tmp2[0],320); |
863 |
bzero(&tmp2[0],320); |
864 |
traf=db[i].rspeed; |
864 |
traf=db[i].rspeed; |
865 |
if (traf == 0 && db[i].deltatime > 10) sprintf(tmp2,"|-[%4lu]s",db[i].deltatime); |
865 |
if (traf == 0 && db[i].deltatime > 10) { |
|
|
866 |
if (db[i].deltatime >= 3600) |
867 |
sprintf(tmp2,"|-[%4lu]h",db[i].deltatime/3600); |
868 |
if (db[i].deltatime >= 60 && db[i].deltatime < 3600) |
869 |
sprintf(tmp2,"|-[%4lu]m",db[i].deltatime/60); |
870 |
else |
871 |
sprintf(tmp2,"|-[%4lu]s",db[i].deltatime); |
872 |
} |
866 |
else if (traf > GB) sprintf(tmp2,"|%4.0f G/s",traf/GBYTE); |
873 |
else if (traf > GB) sprintf(tmp2,"|%4.0f G/s",traf/GBYTE); |
867 |
else if (traf > MB) sprintf(tmp2,"|%4.0f M/s",traf/MBYTE); |
874 |
else if (traf > MB) sprintf(tmp2,"|%4.0f M/s",traf/MBYTE); |
868 |
else if (traf > KB) sprintf(tmp2,"|%4.0f K/s",traf/KBYTE); |
875 |
else if (traf > KB) sprintf(tmp2,"|%4.0f K/s",traf/KBYTE); |