EnglishFrenchSpanish

Ad


OnWorks favicon

linux_logo - Online in the Cloud

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

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


linux_logo - Color ANSI penguin logo w/ system information.

SYNOPSIS


linux_logo [-h | -v ] [-a ] [ -b | -c] [-d] [-D file] [-e file] [-f] [-g | -l] [-k] [-i]
[-n] [-p] [-s] [-u] [-x] [-y] [-o Num] [-t string] [-L num | list | random_xy] [-F format]

DESCRIPTION


linux_logo is a program that generates a color ANSI picture of a penguin which includes
some system information obtained from the /proc filesystem.

OPTIONS


-h Show summary of options.

-v Show version of program.

-ascii -a
Display the logo as monochrome ascii.

-banner -b
Display the banner-style logo.

-classic -c
Display the original penguin logo.

-d Disable "prettying" of output

-D filename
Use logo from "filename"

-e filename
Use cpuinfo from "filename" for debugging purposes

-f Force the screen clear before drawing the logo.

-F STRING
Use custom output STRING for sysinfo. See below for more info.

-g Display only the system infomation.

-i Ignore the ~/.linux_logo and /etc/linux_logo.conf config files

-k Keep sysinfo flushed-left (non-centered)

-l Display only the logo.

-L ... Custom logo options. See README

-o Num Shift output Num spaces to the right

-p Preserve cursor location

-s Skip the BogoMips test [ speeds up display on non-Linux platforms ].

-t string
Display an arbitrary string

-u Display the system uptime.

-w val Set screen width to val

-y Display the load average.

PROCESSOR INFORMATION


CPUINFO
The cpuinfo supplied in /proc/cpuinfo is not always usable by linux_logo. In the relevant
sysinfo_x.c file there is a place to add custom output formatting to "beautify" the
cpuinfo. For instance "K6 (166 - 266)" is parsed to "K6". Formats have been added for the
K6 and certain Cyrix microprocessors.

If the cpuinfo for your microprocessor generates ugly output, send the output from your
/proc/cpuinfo and a sample of how it should look to the author.

Unfortunately the 2.0.x kernels don't know about newer chips. So to get linux_logo to
recognize your Pentium II and newer chips you must find some piece of information in
/proc/cpuinfo that distinguishes them from a pentium pro, or upgrade to a 2.2.x or 2.3.x
kernel.

FORMAT
The format string special sequences start with # (use ## to print #). All other
characters, except for \n, are printed as is.

Seq Description Output
────────────────────────────────────────────────────────────────
## #
#B Bogomips 374.37
#C Compiled Date #47 Fri Jan 8 10:37:09 EST 1999
#E User Text My Favorite Linux Distribution
Displayed with -t
#H Hostname deranged
#L Load average Load average 0.04, 0.01, 0.01
#M Megahertz 188Mhz
where supported
#N Number of CPU's Two
#O OS Name Linux
#P Processor or Processors Processor
#R Ram 64M
in Megabytes
#S Plural s
#T Type of CPU K6
#U Uptime Uptime 10 hours 59 minutes
#V Version of OS 2.2.0-pre5
#X CPU Vendor AMD
\\n carriage return

Notes:

· The letter after the # must be capitalized.

· Options not available are silently ignored.

· Megahertz only available on some platforms and newer kernels.

· See defaults.h on how to have #N report in non-english numbers.

· Plural [#S] gives nothing if there is 1 cpu, gives 's' otherwise.

· The "-y" and "-u" [display uptime and load average] command line options don't affect
the output if a custom format is used.

The default banner format is:

"#O Version #V, Compiled #C\n \
#N #M#X#T Processor#S, #R RAM, #B Bogomips Total\n \
#H\n"

The default banner format displays the following on the author's computer:

Linux Version 2.2.0-pre5, Compiled #47 Fri Jan 8 10:37:09 EST 1999
One 188MHz AMD K6 Processor, 64M RAM, 374.37 Bogomips Total
deranged
Another example would be:

linux_logo -F "Redhat Linux 5.2\nKernel Version #V\n#U\n#L\n"

which would display:

Redhat Linux 5.2
Kernel Version 2.2.0-pre5
Uptime 11 hours 4 minutes
Load average 0.00, 0.00, 0.00

DEBIAN


The Debian pre-packaged version of linux_logo includes the Debian logo in addition to the
'Classic' and 'Banner' logos. The Debian logo is the default logo unless one of the other
logos is specified on the command line.

CONFIG FILES


~/.linux_logo and /etc/linux_logo.conf can be filled with command line options and will be
parsed before the actual command line

Use linux_logo online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    Phaser
    Phaser
    Phaser is a fast, free, and fun open
    source HTML5 game framework that offers
    WebGL and Canvas rendering across
    desktop and mobile web browsers. Games
    can be co...
    Download Phaser
  • 2
    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
  • 3
    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
  • 4
    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
  • 5
    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
  • 6
    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
  • More »

Linux commands

  • 1
    abidiff
    abidiff
    abidiff - compare ABIs of ELF files
    abidiff compares the Application Binary
    Interfaces (ABI) of two shared libraries
    in ELF format. It emits a meaningful
    repor...
    Run abidiff
  • 2
    abidw
    abidw
    abidw - serialize the ABI of an ELF
    file abidw reads a shared library in ELF
    format and emits an XML representation
    of its ABI to standard output. The
    emitted ...
    Run abidw
  • 3
    copac2xml
    copac2xml
    bibutils - bibliography conversion
    utilities ...
    Run copac2xml
  • 4
    copt
    copt
    copt - peephole optimizer SYSNOPIS:
    copt file.. DESCRIPTION: copt is a
    general-purpose peephole optimizer. It
    reads code from its standard input and
    writes an ...
    Run copt
  • 5
    gather_stx_titles
    gather_stx_titles
    gather_stx_titles - gather title
    declarations from Stx documents ...
    Run gather_stx_titles
  • 6
    gatling-bench
    gatling-bench
    bench - http benchmark ...
    Run gatling-bench
  • More »

Ad