EnglishFrenchSpanish

OnWorks favicon

memstat - Online in the Cloud

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

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


memstat - Identify what's using up virtual memory.

SYNOPSIS


memstat [-n][-v][-w][-p PID]

DESCRIPTION


memstat lists all accessible processes, executables, and shared libraries that are using
up virtual memory. To get a complete list memstat has to be run as root to be able to
access the data of all running processes.

First, the processes are listed. An amount of memory is shown along with a process ID and
the name of the executable which the process is running. The amount of memory shown does
not include shared memory: it only includes memory which is private to that process. So,
if a process is using a shared library like libc, the memory used to hold that library is
not included. The memory used to hold the executable's text-segment is also not included,
since that too is shareable.

After the processes, the shared objects are listed. The amount of memory is shown along
with the filename of the shared object, followed by a list of the processes using the
shared object. The memory is listed as the total amount of memory allocated to this object
throughout the whole namespace. In brackets also the amount that is really shared is
listed.

Finally, a grand total is shown. Note that this program shows the amount of virtual (not
real) memory used by the various items.

memstat gets its input from the /proc filesystem. This must be compiled into your kernel
and mounted for memstat to work. The pathnames shown next to the shared objects are also
read from /proc filesystem if this information is available. If not, memstat scans the
disk to translate inode information to filesnames. For this memstat uses a configuration
file, /etc/memstat.conf, to determine which directories to scan. This file should include
all the major bin and lib directories in your system, as well as the /dev directory.
These directories are scanned recursively, so that files stored in subdirectories are seen
by memstat as well. Note that this traversal of directory trees significantly increases
run time. Executables or shared objects not found will be listed as ``[dev]:<inode>''.

Options
The -n switch causes inode information to be printed as-is, if no file information was
given and to not traverse the configured directory trees.

The -v switch prints version information and exits.

The -w switch causes a wide printout: lines are not truncated at 80 columns.

The -p switch causes memstat to only print data gathered from looking at the process with
the given PID.

NOTES


These reports are intended to help identify programs that are using an excessive amount of
memory, and to reduce overall memory waste.

Use memstat online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    movistartv
    movistartv
    Kodi Movistar+ TV es un ADDON para XBMC/
    Kodi que permite disponer de un
    decodificador de los servicios IPTV de
    Movistar integrado en uno de los
    mediacenters ma...
    Download movistartv
  • 2
    Code::Blocks
    Code::Blocks
    Code::Blocks is a free, open-source,
    cross-platform C, C++ and Fortran IDE
    built to meet the most demanding needs
    of its users. It is designed to be very
    extens...
    Download Code::Blocks
  • 3
    Amidst
    Amidst
    Amidst or Advanced Minecraft Interface
    and Data/Structure Tracking is a tool to
    display an overview of a Minecraft
    world, without actually creating it. It
    can ...
    Download Amidst
  • 4
    MSYS2
    MSYS2
    MSYS2 is a collection of tools and
    libraries providing you with an
    easy-to-use environment for building,
    installing and running native Windows
    software. It con...
    Download MSYS2
  • 5
    libjpeg-turbo
    libjpeg-turbo
    libjpeg-turbo is a JPEG image codec
    that uses SIMD instructions (MMX, SSE2,
    NEON, AltiVec) to accelerate baseline
    JPEG compression and decompression on
    x86, x8...
    Download libjpeg-turbo
  • 6
    Xtreme Download Manager
    Xtreme Download Manager
    The project has a new home now:
    https://xtremedownloadmanager.com/ For
    developers:
    https://github.com/subhra74/xdm Xtreme
    Download Manager is a powerful tool t...
    Download Xtreme Download Manager
  • More »

Linux commands

  • 1
    acl_grant
    acl_grant
    rsbac-admin - Rule Set Based Access
    Control DESCRIPTION: rsbac-admin is a
    set of tool used to manage systems using
    a Rule Set Based Access Control (RSBAC)
    kern...
    Run acl_grant
  • 2
    acl_group
    acl_group
    rsbac-admin - Rule Set Based Access
    Control DESCRIPTION: rsbac-admin is a
    set of tool used to manage systems using
    a Rule Set Based Access Control (RSBAC)
    kern...
    Run acl_group
  • 3
    coolmail
    coolmail
    coolmail - 3D animated mail notificaion
    utility ...
    Run coolmail
  • 4
    coop-computing-tools
    coop-computing-tools
    coop-computing-tools - share resources
    in a heterogeneous, and unreliable
    computing environment DESCRIPTION: The
    Cooperative Computing Tools (cctools)
    are a co...
    Run coop-computing-tools
  • 5
    g3dviewer
    g3dviewer
    g3dviewer - a program to display and
    inspect 3D models ...
    Run g3dviewer
  • 6
    g3tolj
    g3tolj
    g3tolj - converts a Group 3 fax file
    into a printable HP-PCL file ...
    Run g3tolj
  • More »

Ad