* Is this right?
@ 2002-04-14 22:45 Shawn Starr
2002-04-14 23:50 ` Mathieu Chouquet-Stringer
0 siblings, 1 reply; 3+ messages in thread
From: Shawn Starr @ 2002-04-14 22:45 UTC (permalink / raw)
To: Linux
Should Buffers/Memshared be 0 kB? Is this memory buffers/shared or disk
buffers/shared?
I'm using XFS filesystem.
[spstarr@coredump spstarr]$ cat /proc/meminfo
total: used: free: shared: buffers: cached:
Mem: 62586880 61825024 761856 0 0 35803136
Swap: 186654720 35758080 150896640
MemTotal: 61120 kB
MemFree: 744 kB
MemShared: 0 kB
Buffers: 0 kB
Shawn.
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: Is this right?
2002-04-14 22:45 Is this right? Shawn Starr
@ 2002-04-14 23:50 ` Mathieu Chouquet-Stringer
0 siblings, 0 replies; 3+ messages in thread
From: Mathieu Chouquet-Stringer @ 2002-04-14 23:50 UTC (permalink / raw)
To: Shawn Starr; +Cc: linux-kernel
Yes it is (and it's shared memory, not disk):
http://www.tux.org/lkml/#s14-3
spstarr@sh0n.net (Shawn Starr) writes:
> Should Buffers/Memshared be 0 kB? Is this memory buffers/shared or disk
> buffers/shared?
>
> I'm using XFS filesystem.
>
> [spstarr@coredump spstarr]$ cat /proc/meminfo
> total: used: free: shared: buffers: cached:
> Mem: 62586880 61825024 761856 0 0 35803136
> Swap: 186654720 35758080 150896640
> MemTotal: 61120 kB
> MemFree: 744 kB
> MemShared: 0 kB
> Buffers: 0 kB
>
> Shawn.
>
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
>
--
Mathieu Chouquet-Stringer E-Mail : mathieu@newview.com
It is exactly because a man cannot do a thing that he is a
proper judge of it.
-- Oscar Wilde
^ permalink raw reply [flat|nested] 3+ messages in thread
* Is this right?
@ 2003-04-15 14:39 Bobo
0 siblings, 0 replies; 3+ messages in thread
From: Bobo @ 2003-04-15 14:39 UTC (permalink / raw)
To: netfilter, netfilter
Hello all:
Now,i am using Netfilter as gateway of a LAN,and I would like to account the traffic for each IP of LAN.
As we know,IPtables could report the traffic counter of each chain with "iptables -nvL FORWARD".
Now,I creat a new chain in filter table for each IP.When a packet traverse the FORWARD chain ,I let them jump to the chain for each IP firstly,
such as:
$IPTABLES -N lltj1
$IPTABLES -N lltj2
$IPTABLES -N lltj3
$IPTABLES -N lltj4
$IPTABLES -N lltj5
$IPTABLES -N lltj6
$IPTABLES -N lltj7
$IPTABLES -N lltj8
$IPTABLES -N lltj9
$IPTABLES -A FORWARD -s 117.1.1.1 -j lltj1
$IPTABLES -A FORWARD -d 117.1.1.1 -j lltj1
$IPTABLES -A FORWARD -s 117.1.1.3 -j lltj3
$IPTABLES -A FORWARD -d 117.1.1.3 -j lltj3
$IPTABLES -A FORWARD -s 117.1.1.4 -j lltj4
$IPTABLES -A FORWARD -d 117.1.1.4 -j lltj4
$IPTABLES -A FORWARD -s 117.1.1.5 -j lltj5
$IPTABLES -A FORWARD -d 117.1.1.5 -j lltj5
$IPTABLES -A FORWARD -s 117.1.1.10 -j lltj6
$IPTABLES -A FORWARD -d 117.1.1.10 -j lltj6
$IPTABLES -A FORWARD -s 117.1.1.177 -j lltj7
$IPTABLES -A FORWARD -d 117.1.1.177 -j lltj7
$IPTABLES -A FORWARD -s 117.1.1.133 -j lltj9
$IPTABLES -A FORWARD -d 117.1.1.133 -j lltj9
$IPTABLES -A FORWARD -s 117.1.1.8 -j lltj8
$IPTABLES -A FORWARD -d 117.1.1.8 -j lltj8
Each chain for every IP is empty,and the packet just traverse the chain without any action.
After executing the scripts, using: iptables -nvL FORWARD,I get the following messages:
0 0 lltj3 all -- any any 117.1.1.3 anywhere
0 0 lltj3 all -- any any anywhere 117.1.1.3
4257 268K lltj4 all -- any any 117.1.1.4 anywhere
2217 1059K lltj4 all -- any any anywhere 117.1.1.4
20780 1217K lltj5 all -- any any 117.1.1.5 anywhere
32338 34M lltj5 all -- any any anywhere 117.1.1.5
21374 988K lltj6 all -- any any 117.1.1.10 anywhere
15988 5648K lltj6 all -- any any anywhere 117.1.1.10
852 118K lltj7 all -- any any 117.1.1.177 anywhere
937 202K lltj7 all -- any any anywhere 117.1.1.177
1473 132K lltj9 all -- any any 117.1.1.133 anywhere
1738 476K lltj9 all -- any any anywhere 117.1.1.133
8907 535K lltj8 all -- any any 117.1.1.8 anywhere
7638 1874K lltj8 all -- any any anywhere 117.1.1.8
In fact,I could get some data about traffic.
But now,I would like to know whether these data are right or exact ?
if they are reliable, I could do other work on base of these data.
Thanks
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2003-04-15 14:39 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-04-14 22:45 Is this right? Shawn Starr
2002-04-14 23:50 ` Mathieu Chouquet-Stringer
-- strict thread matches above, loose matches on Subject: below --
2003-04-15 14:39 Bobo
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.