EnglishFrenchSpanish

Ad


OnWorks favicon

fatrace - Online in the Cloud

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

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


fatrace - report system wide file access events

SYNOPSIS


fatrace [ OPTIONS ]

DESCRIPTION


fatrace reports file access events from all running processes.

It does not report file access by fatrace itself, to avoid logging events caused by
writing the output into a file. It also ignores events on virtual and kernel file systems
such as sysfs, proc, and devtmpfs.

Its main purpose is to find processes which keep waking up the disk unnecessarily and thus
prevent some power saving.

By default, events are reported to stdout. This will cause some loops if you run this tool
in e. g. gnome-terminal, as this causes a disk access for every output line. To avoid
this, redirect the output into a file.

OUTPUT FORMAT


A typical event looks like

rsyslogd(875): W /var/log/auth.log
compiz(1971): O device 8:2 inode 658203

The line has the following fields:

· Process name. This is read from /proc/pid/comm, and might be abbreviated for long
process names.

· Process ID

· Event type: Open, Read, Write, or Close. Combinations are possible, such as CW for
closing a written file.

· Affected file. In some cases the path and name cannot be determined, e. g. because it
is a temporary file which is already deleted. In that case, it prints the devices' major
and minor number and the inode number. To examine such a process in more detail, you
should consider using strace(1).

If you specify the --timestamp option, the first field will be the current time.

OPTIONS


-c, --current-mount
Only record events on partition/mount of current directory. Without this option,
all (real) partitions/mount points are being watched.

-o FILE, --output=FILE
Write events to given file instead of standard output.

-s SECONDS, --seconds=SECONDS
Stop after the given number of seconds.

-t, --timestamp
Add timestamp to events. When this option is given once, the format will be a human
readable hour:minute:second.microsecond; when given twice, the timestamp is printed
as seconds/microseconds since the epoch.

-p PID, --ignore-pid=PID
Ignore events for this process ID. Can be specified multiple times.

-f TYPES, --filter=TYPES
Show only the given event types. TYPES is a list of C, R, O, or W with the above
meanings.

E. g. use --filter=OC to only show open and close events.

-C COMMAND, --command=COMMAND
Show only events for this command.

-h , --help
Print help and exit.

Use fatrace online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    VASSAL Engine
    VASSAL Engine
    VASSAL is a game engine for creating
    electronic versions of traditional board
    and card games. It provides support for
    game piece rendering and interaction,
    and...
    Download VASSAL Engine
  • 2
    OpenPDF - Fork of iText
    OpenPDF - Fork of iText
    OpenPDF is a Java library for creating
    and editing PDF files with a LGPL and
    MPL open source license. OpenPDF is the
    LGPL/MPL open source successor of iText,
    a...
    Download OpenPDF - Fork of iText
  • 3
    SAGA GIS
    SAGA GIS
    SAGA - System for Automated
    Geoscientific Analyses - is a Geographic
    Information System (GIS) software with
    immense capabilities for geodata
    processing and ana...
    Download SAGA GIS
  • 4
    Toolbox for Java/JTOpen
    Toolbox for Java/JTOpen
    The IBM Toolbox for Java / JTOpen is a
    library of Java classes supporting the
    client/server and internet programming
    models to a system running OS/400,
    i5/OS, o...
    Download Toolbox for Java/JTOpen
  • 5
    D3.js
    D3.js
    D3.js (or D3 for Data-Driven Documents)
    is a JavaScript library that allows you
    to produce dynamic, interactive data
    visualizations in web browsers. With D3
    you...
    Download D3.js
  • 6
    Shadowsocks
    Shadowsocks
    A fast tunnel proxy that helps you
    bypass firewalls This is an application
    that can also be fetched from
    https://sourceforge.net/projects/shadowsocksgui/.
    It ha...
    Download Shadowsocks
  • More »

Linux commands

Ad