1LINUX_LOGO(1) Debian GNU/Linux Manual LINUX_LOGO(1)
2
3
4
6 linux_logo - Color ANSI penguin logo w/ system information.
7
9 linux_logo [-h | -v ] [-a ] [ -b | -c] [-d] [-D file] [-e file] [-f]
10 [-g | -l] [-k] [-i] [-n] [-p] [-s] [-u] [-x] [-y] [-o Num] [-t string]
11 [-L num | list | random_xy] [-F format]
12
14 linux_logo is a program that generates a color ANSI picture of a pen‐
15 guin which includes some system information obtained from the /proc
16 filesystem.
17
19 -h Show summary of options.
20
21 -v Show version of program.
22
23 -ascii -a
24 Display the logo as monochrome ascii.
25
26 -banner -b
27 Display the banner-style logo.
28
29 -classic -c
30 Display the original penguin logo.
31
32 -d Disable "prettying" of output
33
34 -D filename
35 Use logo from "filename"
36
37 -e filename
38 Use cpuinfo from "filename" for debugging purposes
39
40 -f Force the screen clear before drawing the logo.
41
42 -F STRING
43 Use custom output STRING for sysinfo. See below for more info.
44
45 -g Display only the system infomation.
46
47 -i Ignore the ~/.linux_logo and /etc/linux_logo.conf config files
48
49 -k Keep sysinfo flushed-left (non-centered)
50
51 -l Display only the logo.
52
53 -L ... Custom logo options. See README
54
55 -o Num Shift output Num spaces to the right
56
57 -p Preserve cursor location
58
59 -s Skip the BogoMips test [ speeds up display on non-Linux plat‐
60 forms ].
61
62 -t string
63 Display an arbitrary string
64
65 -u Display the system uptime.
66
67 -w val Set screen width to val
68
69 -y Display the load average.
70
71
73 CPUINFO
74 The cpuinfo supplied in /proc/cpuinfo is not always usable by
75 linux_logo. In the relevant sysinfo_x.c file there is a place to add
76 custom output formatting to "beautify" the cpuinfo. For instance "K6
77 (166 - 266)" is parsed to "K6". Formats have been added for the K6 and
78 certain Cyrix microprocessors.
79
80 If the cpuinfo for your microprocessor generates ugly output, send the
81 output from your /proc/cpuinfo and a sample of how it should look to
82 the author.
83
84 Unfortunately the 2.0.x kernels don't know about newer chips. So to
85 get linux_logo to recognize your Pentium II and newer chips you must
86 find some piece of information in /proc/cpuinfo that distinguishes them
87 from a pentium pro, or upgrade to a 2.2.x or 2.3.x kernel.
88
89 FORMAT
90 The format string special sequences start with # (use ## to print #).
91 All other characters, except for \n, are printed as is.
92
93
94 Seq Description Output
95 ────────────────────────────────────────────────────────────────
96 ## #
97 #B Bogomips 374.37
98 #C Compiled Date #47 Fri Jan 8 10:37:09 EST 1999
99 #E User Text My Favorite Linux Distribution
100 Displayed with -t
101 #H Hostname deranged
102 #L Load average Load average 0.04, 0.01, 0.01
103 #M Megahertz 188Mhz
104 where supported
105 #N Number of CPU's Two
106 #O OS Name Linux
107 #P Processor or Processors Processor
108 #R Ram 64M
109 in Megabytes
110 #S Plural s
111 #T Type of CPU K6
112 #U Uptime Uptime 10 hours 59 minutes
113 #V Version of OS 2.2.0-pre5
114 #X CPU Vendor AMD
115 \\n carriage return
116
117 Notes:
118
119 · The letter after the # must be capitalized.
120
121 · Options not available are silently ignored.
122
123 · Megahertz only available on some platforms and newer kernels.
124
125 · See defaults.h on how to have #N report in non-english numbers.
126
127 · Plural [#S] gives nothing if there is 1 cpu, gives 's' otherwise.
128
129 · The "-y" and "-u" [display uptime and load average] command line
130 options don't affect the output if a custom format is used.
131
132 The default banner format is:
133
134 "#O Version #V, Compiled #C\n \
135 #N #M#X#T Processor#S, #R RAM, #B Bogomips Total\n \
136 #H\n"
137
138 The default banner format displays the following on the author's com‐
139 puter:
140
141 Linux Version 2.2.0-pre5, Compiled #47 Fri Jan 8 10:37:09 EST 1999
142 One 188MHz AMD K6 Processor, 64M RAM, 374.37 Bogomips Total
143 deranged
144 Another example would be:
145
146 linux_logo -F "Redhat Linux 5.2\nKernel Version #V\n#U\n#L\n"
147
148 which would display:
149
150 Redhat Linux 5.2
151 Kernel Version 2.2.0-pre5
152 Uptime 11 hours 4 minutes
153 Load average 0.00, 0.00, 0.00
154
155
157 The Debian pre-packaged version of linux_logo includes the Debian logo
158 in addition to the 'Classic' and 'Banner' logos. The Debian logo is the
159 default logo unless one of the other logos is specified on the command
160 line.
161
163 ~/.linux_logo and /etc/linux_logo.conf can be filled with command line
164 options and will be parsed before the actual command line
165
167 /usr/doc/linux_logo, http://www.deater.net/weave
168
170 Vince Weaver
171 <vince@deater.net>.
172
173 This manual page was written by Steve Kostecke <steve@debian.org>, for
174 the Debian GNU/Linux system.
175
176
177
178
179Debian 28 October 2001 LINUX_LOGO(1)