32/64 bit ints

Ola Thoresen redhat at olen.net
Wed Oct 5 07:06:35 UTC 2005


I think some numers are confused on 64bit archs.
Two examples:

$ uptime
 08:47:02 up 1 day, 23:43, 11 users,  load average: -374899.72, 142375.93, -198031.55

$ /sbin/ifconfig lo
lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:2909367160314717 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2955499303130049 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:2955499304287395 (2.6 PiB)  TX bytes:12715341303619034882 (1.4 EiB)


Not sure what packages are involved here, but this is i fully updated
RawHide. (I do have both i686 and x86_64 glibc and several other libs).

$ rpm -qf procps
procps-3.2.5-7

$ uname -rvm
2.6.13-1.1589_FC5 #1 SMP Sun Oct 2 01:12:26 EDT 2005 x86_64



Rgds.

Ola Thoresen




More information about the fedora-devel-list mailing list