EnglishFrenchSpanish

OnWorks favicon

ts - Online in the Cloud

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

This is the command ts 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


ts - timestamp input

SYNOPSIS


ts [-r] [-i | -s] [format]

DESCRIPTION


ts adds a timestamp to the beginning of each line of input.

The optional format parameter controls how the timestamp is formatted, as used by
strftime(3). The default format is "%b %d %H:%M:%S". In addition to the regular strftime
conversion specifications, "%.S" and "%.s" are like "%S" and "%s", but provide subsecond
resolution (ie, "30.00001" and "1301682593.00001").

If the -r switch is passed, it instead converts existing timestamps in the input to
relative times, such as "15m5s ago". Many common timestamp formats are supported. Note
that the Time::Duration and Date::Parse perl modules are required for this mode to work.
Currently, converting localized dates is not supported.

If both -r and a format is passed, the existing timestamps are converted to the specified
format.

If the -i or -s switch is passed, ts timestamps incrementally instead. In case of -i,
every timestamp will be the time elapsed since the last timestamp. In case of -s, the time
elapsed since start of the program is used. The default format changes to "%H:%M:%S", and
"%.S" and "%.s" can be used as well.

ENVIRONMENT


The standard TZ environment variable controls what time zone dates are assumed to be in,
if a timezone is not specified as part of the date.

Use ts online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    Stacer
    Stacer
    Linux System Optimizer and Monitoring
    Github Repository:
    https://github.com/oguzhaninan/Stacer.
    Audience: End Users/Desktop. User
    interface: Qt. Programming La...
    Download Stacer
  • 2
    OrangeFox
    OrangeFox
    Fork of TeamWinRecoveryProject(TWRP)
    with many additional functions, redesign
    and more Features:Supports Treble and
    non-Treble ROMsUp-to-date Oreo kernel,
    built...
    Download OrangeFox
  • 3
    itop - ITSM  CMDB OpenSource
    itop - ITSM CMDB OpenSource
    IT Operations Portal: a complete open
    source, ITIL, web based service
    management tool including a fully
    customizable CMDB, a helpdesk system and
    a document man...
    Download itop - ITSM CMDB OpenSource
  • 4
    Clementine
    Clementine
    Clementine is a multi-platform music
    player and library organizer inspired by
    Amarok 1.4. It has a fast and
    easy-to-use interface, and allows you to
    search and ...
    Download Clementine
  • 5
    XISMuS
    XISMuS
    ATTENTION: Cumulative update 2.4.3 has
    been released!! The update works for any
    previous 2.x.x version. If upgrading
    from version v1.x.x, please download and
    i...
    Download XISMuS
  • 6
    facetracknoir
    facetracknoir
    Modular headtracking program that
    supports multiple face-trackers, filters
    and game-protocols. Among the trackers
    are the SM FaceAPI, AIC Inertial Head
    Tracker ...
    Download facetracknoir
  • More »

Linux commands

Ad