EnglishFrenchSpanish

OnWorks favicon

mm-link - Online in the Cloud

Run mm-link in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command mm-link that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


mm-link - UNIX shell connected to an emulated link with a user-specified packet-delivery
schedule.

SYNOPSIS


mm-link uplink downlink [-- command...]

DESCRIPTION


mm-link is a network emulation tool that emulates links using packet delivery trace files
(uplink for the uplink direction and downlink for the downlink direction) provided on the
command line. mm-link uses clone(2) to fork a new shell in a distinct network namespace.
uplink_trace_file emulates the link from mm-link to the Internet and downlink_trace_file
emulates the link from the Internet to mm-link.

mm-link can emulate both time-varying links, such as cellular links, and links with fixed
link speeds. When a packet arrives at the link (from either the Internent or from mm-
link), it is directly placed into one of two packet queues depending on its intended
direction: the uplink queue or the downlink queue. mm-link releases packets from each
queue based on the corresponding input packet-delivery trace.

Each line in the trace represents a packet delivery opportunity: the time at which an
MTU-sized packet can be delivered in the emulation. Accounting is done at the byte-level,
and each delivery opportunity represents the ability to deliver 1500 bytes. Thus, a single
line in the trace file can delivery several smaller packets whose sizes sum to 1500 bytes.
Delivery opportunities are wasted if bytes are unavailable at the instant of an
opportunity. When mm-link reaches the end of an input trace file, it wraps around to the
beginning of the trace file. mm-link can be nested within delayshell (1) to flexibly
create links with a user-supplied one-way delay and a user-supplied link rate.

To exit mm-link, simply type "exit" or CTRL-D inside mm-link.

EXAMPLE


To emulate a 12 Mbit/s link (in each direction), make a 12 Mbit/s
tracefile, "12Mbps_trace". This file can be of arbitrary length
and must follow the pattern below:
0
1
2
3
4
5...
The link above delivers an MTU-sized packet (1500 bytes or 12000 bits) every
ms.

Run mm-link with:
$ mm-link 12Mbps_trace 12Mbps_trace

All programs run from within mm-link are sent according
to the packet delivery times specified in 12Mbps_trace.

mm-link
[...] (copyright notice omitted)

Use mm-link online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    Alt-F
    Alt-F
    Alt-F provides a free and open source
    alternative firmware for the DLINK
    DNS-320/320L/321/323/325/327L and
    DNR-322L. Alt-F has Samba and NFS;
    supports ext2/3/4...
    Download Alt-F
  • 2
    usm
    usm
    Usm is a unified slackware package
    manager that handles automatic
    dependency resolution. It unifies
    various package repositories including
    slackware, slacky, p...
    Download usm
  • 3
    Chart.js
    Chart.js
    Chart.js is a Javascript library that
    allows designers and developers to draw
    all kinds of charts using the HTML5
    canvas element. Chart js offers a great
    array ...
    Download Chart.js
  • 4
    iReport-Designer for JasperReports
    iReport-Designer for JasperReports
    NOTE: iReport/Jaspersoft Studio Support
    Announcement: As of version 5.5.0,
    Jaspersoft Studio will be the official
    design client for JasperReports. iReport
    will...
    Download iReport-Designer for JasperReports
  • 5
    PostInstallerF
    PostInstallerF
    PostInstallerF will install all the
    software that Fedora Linux and others
    doesn't include by default, after
    running Fedora for the first time. Its
    easy for...
    Download PostInstallerF
  • 6
    strace
    strace
    The strace project has been moved to
    https://strace.io. strace is a
    diagnostic, debugging and instructional
    userspace tracer for Linux. It is used
    to monitor a...
    Download strace
  • More »

Linux commands

Ad