04-29-2020
32 bit overflow? Calculate
2^32 - 1841560902 = 2453406394
.
This User Gave Thanks to RudiC For This Post:
8 More Discussions You Might Find Interesting
1. SCO
Hello.
I just installed a SCO Openserver 6 box and it's suckin' mud.
sar -v (see below) shows something that has me quite concerned... after time, it shows that the number of inodes being used as a negative value. When this happens, the server runs extremely slow until I reboot. The server... (0 Replies)
Discussion started by: debtman3535
0 Replies
2. IP Networking
I am looking for advice on a router. I am new to Linux and am trying to use Limewire and Ktorent and can make no connection. Limewire indicates I have a firewall. I have a Linksys router WRK54G and my guess is that is the problem. I have spent hours upon hours trying to get it to work using info... (0 Replies)
Discussion started by: Paul K
0 Replies
3. Shell Programming and Scripting
Hello,
I have a list like this :
1
2
-4
0
-3
-7
5
6 etc.
Is there a way to remove all the positive values and print only the negative values, without using grep, sed or awk?
Thanks,
Prasanna (4 Replies)
Discussion started by: prasanna1157
4 Replies
4. IP Networking
Hi,
I am trying to add a static route in one of 3 server (S3) so that I can access the main application server (S1). But problem is, the server (S3) where I am trying to add static route is connected with another server (S2) which is in same private network of application server (S1).
I have... (9 Replies)
Discussion started by: ImranBD
9 Replies
5. Shell Programming and Scripting
Hi All,
i have 20 Obligors when ever i dont find all of them on particular row/line from each in put i need to print it in different file.
using below command but it is not working please help at earliest.
Steps:
set -A FILENAME $( cat... (10 Replies)
Discussion started by: rajubollas
10 Replies
6. Shell Programming and Scripting
Can anyone please assist me?
Please find the attached input and output file for ur reference.
a)Incase if i get negative value (ex:-000100) in the 11th column then i have to convert the value to 0000000(7 zeros-length is 7) and then
print the entire record.
b)Incase if there is no... (2 Replies)
Discussion started by: vinus
2 Replies
7. Shell Programming and Scripting
Hi Gurus,
I have requirement need to sum the value, the logic is if the value is negative then time -1, I tried below two ways. one is failed, another one doesn't work.
awk -F"," '{if($8< 0 $8*-1 else $8) sum+=$8}{print sum, $8} END{printf("%.2f\n",sum)}'
awk -F","... (4 Replies)
Discussion started by: ken6503
4 Replies
8. UNIX for Beginners Questions & Answers
Hi all,
Long time no see, love what you've done with the place!
I'm wondering how to interpret negative values for local and peer inode values for Unix sockets?
Netid State Recv-Q Send-Q Local Address:Port Peer Address:Port
...
u_str ESTAB 0 0 ... (0 Replies)
Discussion started by: Skrynesaver
0 Replies
LEARN ABOUT OPENSOLARIS
veth
veth(4) Linux Programmer's Manual veth(4)
NAME
veth - Virtual Ethernet Device
DESCRIPTION
The veth devices are virtual Ethernet devices. They can act as tunnels between network namespaces to create a bridge to a physical network
device in another namespace, but can also be used as standalone network devices.
veth devices are always created in interconnected pairs. A pair can be created using the command:
# ip link add <p1-name> type veth peer name <p2-name>
In the above, p1-name and p2-name are the names assigned to the two connected end points.
Packets transmitted on one device in the pair are immediately received on the other device. When either devices is down the link state of
the pair is down.
veth device pairs are useful for combining the network facilities of the kernel together in interesting ways. A particularly interesting
use case is to place one end of a veth pair in one network namespace and the other end in another network namespace, thus allowing communi-
cation between network namespaces. To do this, one first creates the veth device as above and then moves one side of the pair to the other
namespace:
# ip link set <p2-name> netns <p2-namespace>
ethtool(8) can be used to find the peer of a veth network interface, using commands something like:
# ip link add ve_A type veth peer name ve_B # Create veth pair
# ethtool -S ve_A # Discover interface index of peer
NIC statistics:
peer_ifindex: 16
# ip link | grep '^16:' # Look up interface
16: ve_B@ve_A: <BROADCAST,MULTICAST,M-DOWN> mtu 1500 qdisc ...
SEE ALSO
clone(2), network_namespaces(7), ip(8), ip-link(8), ip-netns(8)
COLOPHON
This page is part of release 4.15 of the Linux man-pages project. A description of the project, information about reporting bugs, and the
latest version of this page, can be found at https://www.kernel.org/doc/man-pages/.
Linux 2018-02-02 veth(4)