source: chapter08/util-linux.xml@ 39d9ed8

xry111/clfs-ng
Last change on this file since 39d9ed8 was d765208, checked in by Thomas Trepl <thomas@…>, 19 months ago

Fix typo and copy&paste error

  • Property mode set to 100644
File size: 47.6 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../general.ent">
5 %general-entities;
6]>
7
8<sect1 id="ch-system-util-linux" role="wrap">
9 <?dbhtml filename="util-linux.html"?>
10
11 <sect1info condition="script">
12 <productname>util-linux</productname>
13 <productnumber>&util-linux-version;</productnumber>
14 <address>&util-linux-url;</address>
15 </sect1info>
16
17 <title>Util-linux-&util-linux-version;</title>
18
19 <indexterm zone="ch-system-util-linux">
20 <primary sortas="a-Util-linux">Util-linux</primary>
21 </indexterm>
22
23 <sect2 role="package">
24 <title/>
25
26 <para>The Util-linux package contains miscellaneous utility programs.
27 Among them are utilities for handling file systems, consoles, partitions,
28 and messages.</para>
29
30 <segmentedlist>
31 <segtitle>&buildtime;</segtitle>
32 <segtitle>&diskspace;</segtitle>
33
34 <seglistitem>
35 <seg>&util-linux-fin-sbu;</seg>
36 <seg>&util-linux-fin-du;</seg>
37 </seglistitem>
38 </segmentedlist>
39
40 </sect2>
41
42 <sect2 role="installation">
43 <title>Installation of Util-linux</title>
44
45 <para>Prepare Util-linux for compilation:</para>
46
47<screen revision="sysv"><userinput remap="configure">./configure ADJTIME_PATH=/var/lib/hwclock/adjtime \
48 --bindir=/usr/bin \
49 --libdir=/usr/lib \
50 --sbindir=/usr/sbin \
51 --disable-chfn-chsh \
52 --disable-login \
53 --disable-nologin \
54 --disable-su \
55 --disable-setpriv \
56 --disable-runuser \
57 --disable-pylibmount \
58 --disable-static \
59 --without-python \
60 --without-systemd \
61 --without-systemdsystemunitdir \
62 --docdir=/usr/share/doc/util-linux-&util-linux-version;</userinput></screen>
63
64<screen revision="systemd"><userinput remap="configure">./configure ADJTIME_PATH=/var/lib/hwclock/adjtime \
65 --bindir=/usr/bin \
66 --libdir=/usr/lib \
67 --sbindir=/usr/sbin \
68 --disable-chfn-chsh \
69 --disable-login \
70 --disable-nologin \
71 --disable-su \
72 --disable-setpriv \
73 --disable-runuser \
74 --disable-pylibmount \
75 --disable-static \
76 --without-python \
77 --docdir=/usr/share/doc/util-linux-&util-linux-version;</userinput></screen>
78
79 <para>The --disable and --without options prevent warnings about
80 building components that either require packages not in LFS, or are
81 inconsistent with programs installed by other packages.</para>
82
83 <para>Compile the package:</para>
84
85<screen><userinput remap="make">make</userinput></screen>
86
87 <para>If desired, run the test suite as a non-&root; user:</para>
88
89 <warning><para>Running the test suite as the
90 <systemitem class="username">root</systemitem> user can be harmful to
91 your system. To run it, the CONFIG_SCSI_DEBUG option for the kernel must
92 be available in the currently running system and must be built as a
93 module. Building it into the kernel will prevent booting. For complete
94 coverage, other BLFS packages must be installed. If desired, this test can
95 be run by booting into the completed LFS system and running:</para>
96
97<screen role="nodump"><userinput>bash tests/run.sh --srcdir=$PWD --builddir=$PWD</userinput></screen>
98 </warning>
99
100<screen><userinput remap="test">chown -Rv tester .
101su tester -c "make -k check"</userinput></screen>
102
103 <para>The <emphasis>hardlink</emphasis> tests will fail if the host's kernel
104 does not have the option CONFIG_CRYPTO_USER_API_HASH set. In addition,
105 two sub-tests from misc: mbsencode and one sub-test from script: replay are
106 known to fail.</para>
107
108 <para>Install the package:</para>
109
110<screen><userinput remap="install">make install</userinput></screen>
111<!--
112 <para>Finally, install the man pages:</para>
113
114<screen><userinput remap="install">tar -xf ../util-linux-man-pages-&util-linux-version;.tar.xz - -directory /usr/share/man - -strip-components=1</userinput></screen>
115-->
116 </sect2>
117
118 <sect2 id="contents-utillinux" role="content">
119 <title>Contents of Util-linux</title>
120
121 <segmentedlist>
122 <segtitle>Installed programs</segtitle>
123 <segtitle>Installed libraries</segtitle>
124 <segtitle>Installed directories</segtitle>
125
126 <seglistitem>
127 <seg>addpart, agetty, blkdiscard, blkid, blkzone, blockdev, cal, cfdisk, chcpu,
128 chmem, choom, chrt, col, colcrt, colrm, column, ctrlaltdel, delpart, dmesg,
129 eject, fallocate, fdisk, fincore, findfs, findmnt, flock, fsck,
130 fsck.cramfs, fsck.minix, fsfreeze, fstrim, getopt, hardlink, hexdump, hwclock,
131 i386 (link to setarch), ionice, ipcmk, ipcrm, ipcs, irqtop, isosize, kill, last,
132 lastb (link to last), ldattach, linux32 (link to setarch), linux64 (link to setarch),
133 logger, look, losetup, lsblk, lscpu, lsipc, lsirq, lsfd, lslocks, lslogins,
134 lsmem, lsns, mcookie, mesg, mkfs, mkfs.bfs, mkfs.cramfs, mkfs.minix, mkswap,
135 more, mount, mountpoint, namei, nsenter, partx, pivot_root, prlimit,
136 readprofile, rename, renice, resizepart, rev, rfkill, rtcwake, script,
137 scriptlive, scriptreplay, setarch, setsid, setterm, sfdisk, sulogin, swaplabel,
138 swapoff, swapon, switch_root, taskset, uclampset, ul,
139 umount, uname26 (link to setarch), unshare, utmpdump, uuidd, uuidgen, uuidparse,
140 wall, wdctl, whereis, wipefs, x86_64 (link to setarch), and zramctl</seg>
141 <seg>libblkid.so, libfdisk.so, libmount.so,
142 libsmartcols.so, and libuuid.so</seg>
143 <seg>/usr/include/blkid,
144 /usr/include/libfdisk,
145 /usr/include/libmount,
146 /usr/include/libsmartcols,
147 /usr/include/uuid,
148 /usr/share/doc/util-linux-&util-linux-version;,
149 and /var/lib/hwclock</seg>
150 </seglistitem>
151 </segmentedlist>
152
153 <variablelist>
154 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
155 <?dbfo list-presentation="list"?>
156 <?dbhtml list-presentation="table"?>
157
158 <varlistentry id="addpart">
159 <term><command>addpart</command></term>
160 <listitem>
161 <para>Informs the Linux kernel of new partitions</para>
162 <indexterm zone="ch-system-util-linux addpart">
163 <primary sortas="b-addpart">addpart</primary>
164 </indexterm>
165 </listitem>
166 </varlistentry>
167
168 <varlistentry id="agetty">
169 <term><command>agetty</command></term>
170 <listitem>
171 <para>Opens a tty port, prompts for a login name,
172 and then invokes the <command>login</command> program</para>
173 <indexterm zone="ch-system-util-linux agetty">
174 <primary sortas="b-agetty">agetty</primary>
175 </indexterm>
176 </listitem>
177 </varlistentry>
178
179 <varlistentry id="blkdiscard">
180 <term><command>blkdiscard</command></term>
181 <listitem>
182 <para>Discards sectors on a device</para>
183 <indexterm zone="ch-system-util-linux blkdiscard">
184 <primary sortas="b-blkdiscard">blkdiscard</primary>
185 </indexterm>
186 </listitem>
187 </varlistentry>
188
189 <varlistentry id="blkid">
190 <term><command>blkid</command></term>
191 <listitem>
192 <para>A command line utility to locate and print block device
193 attributes</para>
194 <indexterm zone="ch-system-util-linux blkid">
195 <primary sortas="b-blkid">blkid</primary>
196 </indexterm>
197 </listitem>
198 </varlistentry>
199
200 <varlistentry id="blkzone">
201 <term><command>blkzone</command></term>
202 <listitem>
203 <para>Is used to manage zoned storage block devices</para>
204 <indexterm zone="ch-system-util-linux blkzone">
205 <primary sortas="b-blkzone">blkzone</primary>
206 </indexterm>
207 </listitem>
208 </varlistentry>
209
210 <varlistentry id="blockdev">
211 <term><command>blockdev</command></term>
212 <listitem>
213 <para>Allows users to call block device ioctls from the command
214 line</para>
215 <indexterm zone="ch-system-util-linux blockdev">
216 <primary sortas="b-blockdev">blockdev</primary>
217 </indexterm>
218 </listitem>
219 </varlistentry>
220
221 <varlistentry id="cal">
222 <term><command>cal</command></term>
223 <listitem>
224 <para>Displays a simple calendar</para>
225 <indexterm zone="ch-system-util-linux cal">
226 <primary sortas="b-cal">cal</primary>
227 </indexterm>
228 </listitem>
229 </varlistentry>
230
231 <varlistentry id="cfdisk">
232 <term><command>cfdisk</command></term>
233 <listitem>
234 <para>Manipulates the partition table of the given device</para>
235 <indexterm zone="ch-system-util-linux cfdisk">
236 <primary sortas="b-cfdisk">cfdisk</primary>
237 </indexterm>
238 </listitem>
239 </varlistentry>
240
241 <varlistentry id="chcpu">
242 <term><command>chcpu</command></term>
243 <listitem>
244 <para>Modifies the state of CPUs</para>
245 <indexterm zone="ch-system-util-linux chcpu">
246 <primary sortas="b-chcpu">chcpu</primary>
247 </indexterm>
248 </listitem>
249 </varlistentry>
250
251 <varlistentry id="chmem">
252 <term><command>chmem</command></term>
253 <listitem>
254 <para>Configures memory</para>
255 <indexterm zone="ch-system-util-linux chmem">
256 <primary sortas="b-chmem">chmem</primary>
257 </indexterm>
258 </listitem>
259 </varlistentry>
260
261 <varlistentry id="choom">
262 <term><command>choom</command></term>
263 <listitem>
264 <para>Displays and adjusts OOM-killer scores, used to determine
265 which process to kill first when Linux is Out Of Memory</para>
266 <indexterm zone="ch-system-util-linux choom">
267 <primary sortas="b-choom">choom</primary>
268 </indexterm>
269 </listitem>
270 </varlistentry>
271
272 <varlistentry id="chrt">
273 <term><command>chrt</command></term>
274 <listitem>
275 <para>Manipulates real-time attributes of a process</para>
276 <indexterm zone="ch-system-util-linux chrt">
277 <primary sortas="b-chrt">chrt</primary>
278 </indexterm>
279 </listitem>
280 </varlistentry>
281
282 <varlistentry id="col">
283 <term><command>col</command></term>
284 <listitem>
285 <para>Filters out reverse line feeds</para>
286 <indexterm zone="ch-system-util-linux col">
287 <primary sortas="b-col">col</primary>
288 </indexterm>
289 </listitem>
290 </varlistentry>
291
292 <varlistentry id="colcrt">
293 <term><command>colcrt</command></term>
294 <listitem>
295 <para>Filters <command>nroff</command> output for terminals
296 that lack some capabilities, such as overstriking and half-lines</para>
297 <indexterm zone="ch-system-util-linux colcrt">
298 <primary sortas="b-colcrt">colcrt</primary>
299 </indexterm>
300 </listitem>
301 </varlistentry>
302
303 <varlistentry id="colrm">
304 <term><command>colrm</command></term>
305 <listitem>
306 <para>Filters out the given columns</para>
307 <indexterm zone="ch-system-util-linux colrm">
308 <primary sortas="b-colrm">colrm</primary>
309 </indexterm>
310 </listitem>
311 </varlistentry>
312
313 <varlistentry id="column">
314 <term><command>column</command></term>
315 <listitem>
316 <para>Formats a given file into multiple columns</para>
317 <indexterm zone="ch-system-util-linux column">
318 <primary sortas="b-column">column</primary>
319 </indexterm>
320 </listitem>
321 </varlistentry>
322
323 <varlistentry id="ctrlaltdel">
324 <term><command>ctrlaltdel</command></term>
325 <listitem>
326 <para>Sets the function of the Ctrl+Alt+Del key combination to a
327 hard or a soft reset</para>
328 <indexterm zone="ch-system-util-linux ctrlaltdel">
329 <primary sortas="b-ctrlaltdel">ctrlaltdel</primary>
330 </indexterm>
331 </listitem>
332 </varlistentry>
333
334 <varlistentry id="delpart">
335 <term><command>delpart</command></term>
336 <listitem>
337 <para>Asks the Linux kernel to remove a partition</para>
338 <indexterm zone="ch-system-util-linux delpart">
339 <primary sortas="b-delpart">delpart</primary>
340 </indexterm>
341 </listitem>
342 </varlistentry>
343
344 <varlistentry id="dmesg">
345 <term><command>dmesg</command></term>
346 <listitem>
347 <para>Dumps the kernel boot messages</para>
348 <indexterm zone="ch-system-util-linux dmesg">
349 <primary sortas="b-dmesg">dmesg</primary>
350 </indexterm>
351 </listitem>
352 </varlistentry>
353
354 <varlistentry id="eject">
355 <term><command>eject</command></term>
356 <listitem>
357 <para>Ejects removable media</para>
358 <indexterm zone="ch-system-util-linux eject">
359 <primary sortas="b-eject">eject</primary>
360 </indexterm>
361 </listitem>
362 </varlistentry>
363
364 <varlistentry id="fallocate">
365 <term><command>fallocate</command></term>
366 <listitem>
367 <para>Preallocates space to a file</para>
368 <indexterm zone="ch-system-util-linux fallocate">
369 <primary sortas="b-fallocate">fallocate</primary>
370 </indexterm>
371 </listitem>
372 </varlistentry>
373
374 <varlistentry id="fdisk">
375 <term><command>fdisk</command></term>
376 <listitem>
377 <para>Manipulates the partition table of the given device</para>
378 <indexterm zone="ch-system-util-linux fdisk">
379 <primary sortas="b-fdisk">fdisk</primary>
380 </indexterm>
381 </listitem>
382 </varlistentry>
383
384 <varlistentry id="fincore">
385 <term><command>fincore</command></term>
386 <listitem>
387 <para>Counts pages of file contents in core</para>
388 <indexterm zone="ch-system-util-linux fincore">
389 <primary sortas="b-fincore">fincore</primary>
390 </indexterm>
391 </listitem>
392 </varlistentry>
393
394 <varlistentry id="findfs">
395 <term><command>findfs</command></term>
396 <listitem>
397 <para>Finds a file system, either by label or Universally Unique Identifier
398 (UUID)</para>
399 <indexterm zone="ch-system-util-linux findfs">
400 <primary sortas="b-findfs">findfs</primary>
401 </indexterm>
402 </listitem>
403 </varlistentry>
404
405 <varlistentry id="findmnt">
406 <term><command>findmnt</command></term>
407 <listitem>
408 <para>Is a command line interface to the libmount library
409 for working with mountinfo, fstab and mtab files</para>
410 <indexterm zone="ch-system-util-linux findmnt">
411 <primary sortas="b-findmnt">findmnt</primary>
412 </indexterm>
413 </listitem>
414 </varlistentry>
415
416 <varlistentry id="flock">
417 <term><command>flock</command></term>
418 <listitem>
419 <para>Acquires a file lock and then executes a command with the lock
420 held</para>
421 <indexterm zone="ch-system-util-linux flock">
422 <primary sortas="b-flock">flock</primary>
423 </indexterm>
424 </listitem>
425 </varlistentry>
426
427 <varlistentry id="fsck">
428 <term><command>fsck</command></term>
429 <listitem>
430 <para>Is used to check, and optionally repair, file systems</para>
431 <indexterm zone="ch-system-util-linux fsck">
432 <primary sortas="b-fsck">fsck</primary>
433 </indexterm>
434 </listitem>
435 </varlistentry>
436
437 <varlistentry id="fsck.cramfs">
438 <term><command>fsck.cramfs</command></term>
439 <listitem>
440 <para>Performs a consistency check on the Cramfs file system on the
441 given device</para>
442 <indexterm zone="ch-system-util-linux fsck.cramfs">
443 <primary sortas="b-fsck.cramfs">fsck.cramfs</primary>
444 </indexterm>
445 </listitem>
446 </varlistentry>
447
448 <varlistentry id="fsck.minix">
449 <term><command>fsck.minix</command></term>
450 <listitem>
451 <para>Performs a consistency check on the Minix file system on the
452 given device</para>
453 <indexterm zone="ch-system-util-linux fsck.minix">
454 <primary sortas="b-fsck.minix">fsck.minix</primary>
455 </indexterm>
456 </listitem>
457 </varlistentry>
458
459 <varlistentry id="fsfreeze">
460 <term><command>fsfreeze</command></term>
461 <listitem>
462 <para>Is a very simple wrapper around FIFREEZE/FITHAW ioctl
463 kernel driver operations</para>
464 <indexterm zone="ch-system-util-linux fsfreeze">
465 <primary sortas="b-fsfreeze">fsfreeze</primary>
466 </indexterm>
467 </listitem>
468 </varlistentry>
469
470 <varlistentry id="fstrim">
471 <term><command>fstrim</command></term>
472 <listitem>
473 <para>Discards unused blocks on a mounted filesystem</para>
474 <indexterm zone="ch-system-util-linux fstrim">
475 <primary sortas="b-fstrim">fstrim</primary>
476 </indexterm>
477 </listitem>
478 </varlistentry>
479
480 <varlistentry id="getopt">
481 <term><command>getopt</command></term>
482 <listitem>
483 <para>Parses options in the given command line</para>
484 <indexterm zone="ch-system-util-linux getopt">
485 <primary sortas="b-getopt">getopt</primary>
486 </indexterm>
487 </listitem>
488 </varlistentry>
489
490 <varlistentry id="hardlink">
491 <term><command>hardlink</command></term>
492 <listitem>
493 <para>Consolidates duplicate files by creating hard links</para>
494 <indexterm zone="ch-system-util-linux hardlink">
495 <primary sortas="b-hardlink">hardlink</primary>
496 </indexterm>
497 </listitem>
498 </varlistentry>
499
500 <varlistentry id="hexdump">
501 <term><command>hexdump</command></term>
502 <listitem>
503 <para>Dumps the given file in hexadecimal, decimal, octal,
504 or ascii</para>
505 <indexterm zone="ch-system-util-linux hexdump">
506 <primary sortas="b-hexdump">hexdump</primary>
507 </indexterm>
508 </listitem>
509 </varlistentry>
510
511 <varlistentry id="hwclock">
512 <term><command>hwclock</command></term>
513 <listitem>
514 <para>Reads or sets the system's hardware clock, also called
515 the Real-Time Clock (RTC) or Basic Input-Output System (BIOS)
516 clock</para>
517 <indexterm zone="ch-system-util-linux hwclock">
518 <primary sortas="b-hwclock">hwclock</primary>
519 </indexterm>
520 </listitem>
521 </varlistentry>
522
523 <varlistentry id="i386">
524 <term><command>i386</command></term>
525 <listitem>
526 <para>A symbolic link to setarch</para>
527 <indexterm zone="ch-system-util-linux i386">
528 <primary sortas="b-i386">i386</primary>
529 </indexterm>
530 </listitem>
531 </varlistentry>
532
533 <varlistentry id="ionice">
534 <term><command>ionice</command></term>
535 <listitem>
536 <para>Gets or sets the io scheduling class and priority for a program</para>
537 <indexterm zone="ch-system-util-linux ionice">
538 <primary sortas="b-ionice">ionice</primary>
539 </indexterm>
540 </listitem>
541 </varlistentry>
542
543 <varlistentry id="ipcmk">
544 <term><command>ipcmk</command></term>
545 <listitem>
546 <para>Creates various IPC resources</para>
547 <indexterm zone="ch-system-util-linux ipcmk">
548 <primary sortas="b-ipcmk">ipcmk</primary>
549 </indexterm>
550 </listitem>
551 </varlistentry>
552
553 <varlistentry id="ipcrm">
554 <term><command>ipcrm</command></term>
555 <listitem>
556 <para>Removes the given Inter-Process Communication (IPC) resource</para>
557 <indexterm zone="ch-system-util-linux ipcrm">
558 <primary sortas="b-ipcrm">ipcrm</primary>
559 </indexterm>
560 </listitem>
561 </varlistentry>
562
563 <varlistentry id="ipcs">
564 <term><command>ipcs</command></term>
565 <listitem>
566 <para>Provides IPC status information</para>
567 <indexterm zone="ch-system-util-linux ipcs">
568 <primary sortas="b-ipcs">ipcs</primary>
569 </indexterm>
570 </listitem>
571 </varlistentry>
572
573 <varlistentry id="irqtop">
574 <term><command>irqtop</command></term>
575 <listitem>
576 <para>Displays kernel interrupt counter information in
577 <filename>top(1)</filename> style view</para>
578 <indexterm zone="ch-system-util-linux irqtop">
579 <primary sortas="b-irqtop">irqtop</primary>
580 </indexterm>
581 </listitem>
582 </varlistentry>
583
584 <varlistentry id="isosize">
585 <term><command>isosize</command></term>
586 <listitem>
587 <para>Reports the size of an iso9660 file system</para>
588 <indexterm zone="ch-system-util-linux isosize">
589 <primary sortas="b-isosize">isosize</primary>
590 </indexterm>
591 </listitem>
592 </varlistentry>
593
594 <varlistentry id="kill">
595 <term><command>kill</command></term>
596 <listitem>
597 <para>Sends signals to processes</para>
598 <indexterm zone="ch-system-util-linux kill">
599 <primary sortas="b-kill">kill</primary>
600 </indexterm>
601 </listitem>
602 </varlistentry>
603
604 <varlistentry id="last">
605 <term><command>last</command></term>
606 <listitem>
607 <para>Shows which users last logged in (and out), searching back
608 through the <filename>/var/log/wtmp</filename> file; it also shows
609 system boots, shutdowns, and run-level changes</para>
610 <indexterm zone="ch-system-util-linux last">
611 <primary sortas="b-last">last</primary>
612 </indexterm>
613 </listitem>
614 </varlistentry>
615
616 <varlistentry id="lastb">
617 <term><command>lastb</command></term>
618 <listitem>
619 <para>Shows the failed login attempts, as logged in
620 <filename>/var/log/btmp</filename></para>
621 <indexterm zone="ch-system-util-linux lastb">
622 <primary sortas="b-lastb">lastb</primary>
623 </indexterm>
624 </listitem>
625 </varlistentry>
626
627 <varlistentry id="ldattach">
628 <term><command>ldattach</command></term>
629 <listitem>
630 <para>Attaches a line discipline to a serial line</para>
631 <indexterm zone="ch-system-util-linux ldattach">
632 <primary sortas="b-ldattach">ldattach</primary>
633 </indexterm>
634 </listitem>
635 </varlistentry>
636
637 <varlistentry id="linux32">
638 <term><command>linux32</command></term>
639 <listitem>
640 <para>A symbolic link to setarch</para>
641 <indexterm zone="ch-system-util-linux linux32">
642 <primary sortas="b-linux32">linux32</primary>
643 </indexterm>
644 </listitem>
645 </varlistentry>
646
647 <varlistentry id="linux64">
648 <term><command>linux64</command></term>
649 <listitem>
650 <para>A symbolic link to setarch</para>
651 <indexterm zone="ch-system-util-linux linux64">
652 <primary sortas="b-linux64">linux64</primary>
653 </indexterm>
654 </listitem>
655 </varlistentry>
656
657 <varlistentry id="logger">
658 <term><command>logger</command></term>
659 <listitem>
660 <para>Enters the given message into the system log</para>
661 <indexterm zone="ch-system-util-linux logger">
662 <primary sortas="b-logger">logger</primary>
663 </indexterm>
664 </listitem>
665 </varlistentry>
666
667 <varlistentry id="look">
668 <term><command>look</command></term>
669 <listitem>
670 <para>Displays lines that begin with the given string</para>
671 <indexterm zone="ch-system-util-linux look">
672 <primary sortas="b-look">look</primary>
673 </indexterm>
674 </listitem>
675 </varlistentry>
676
677 <varlistentry id="losetup">
678 <term><command>losetup</command></term>
679 <listitem>
680 <para>Sets up and controls loop devices</para>
681 <indexterm zone="ch-system-util-linux losetup">
682 <primary sortas="b-losetup">losetup</primary>
683 </indexterm>
684 </listitem>
685 </varlistentry>
686
687 <varlistentry id="lsblk">
688 <term><command>lsblk</command></term>
689 <listitem>
690 <para>Lists information about all or selected block devices in
691 a tree-like format</para>
692 <indexterm zone="ch-system-util-linux lsblk">
693 <primary sortas="b-lsblk">lsblk</primary>
694 </indexterm>
695 </listitem>
696 </varlistentry>
697
698 <varlistentry id="lscpu">
699 <term><command>lscpu</command></term>
700 <listitem>
701 <para>Prints CPU architecture information</para>
702 <indexterm zone="ch-system-util-linux lscpu">
703 <primary sortas="b-lscpu">lscpu</primary>
704 </indexterm>
705 </listitem>
706 </varlistentry>
707
708 <varlistentry id="lsfd">
709 <term><command>lsfd</command></term>
710 <listitem>
711 <para>Displays information about open files; replaces <command>lsof</command></para>
712 <indexterm zone="ch-system-util-linux lsfd">
713 <primary sortas="b-lsfd">lsfd</primary>
714 </indexterm>
715 </listitem>
716 </varlistentry>
717
718 <varlistentry id="lsipc">
719 <term><command>lsipc</command></term>
720 <listitem>
721 <para>Prints information on IPC facilities currently employed
722 in the system</para>
723 <indexterm zone="ch-system-util-linux lsipc">
724 <primary sortas="b-lsipc">lsipc</primary>
725 </indexterm>
726 </listitem>
727 </varlistentry>
728
729 <varlistentry id="lsirq">
730 <term><command>lsirq</command></term>
731 <listitem>
732 <para>Displays kernel interrupt counter information</para>
733 <indexterm zone="ch-system-util-linux lsirq">
734 <primary sortas="b-lsirq">lsirq</primary>
735 </indexterm>
736 </listitem>
737 </varlistentry>
738
739 <varlistentry id="lslocks">
740 <term><command>lslocks</command></term>
741 <listitem>
742 <para>Lists local system locks</para>
743 <indexterm zone="ch-system-util-linux lslocks">
744 <primary sortas="b-lslocks">lslocks</primary>
745 </indexterm>
746 </listitem>
747 </varlistentry>
748
749 <varlistentry id="lslogins">
750 <term><command>lslogins</command></term>
751 <listitem>
752 <para>Lists information about users, groups and system accounts</para>
753 <indexterm zone="ch-system-util-linux lslogins">
754 <primary sortas="b-lslogins">lslogins</primary>
755 </indexterm>
756 </listitem>
757 </varlistentry>
758
759 <varlistentry id="lsmem">
760 <term><command>lsmem</command></term>
761 <listitem>
762 <para>Lists the ranges of available memory with their online
763 status</para>
764 <indexterm zone="ch-system-util-linux lsmem">
765 <primary sortas="b-lsmem">lsmem</primary>
766 </indexterm>
767 </listitem>
768 </varlistentry>
769
770 <varlistentry id="lsns">
771 <term><command>lsns</command></term>
772 <listitem>
773 <para>Lists namespaces</para>
774 <indexterm zone="ch-system-util-linux lsns">
775 <primary sortas="b-lsns">lsns</primary>
776 </indexterm>
777 </listitem>
778 </varlistentry>
779
780 <varlistentry id="mcookie">
781 <term><command>mcookie</command></term>
782 <listitem>
783 <para>Generates magic cookies (128-bit random hexadecimal numbers) for
784 <command>xauth</command></para>
785 <indexterm zone="ch-system-util-linux mcookie">
786 <primary sortas="b-mcookie">mcookie</primary>
787 </indexterm>
788 </listitem>
789 </varlistentry>
790
791 <varlistentry id="mesg">
792 <term><command>mesg</command></term>
793 <listitem>
794 <para>Controls whether other users can send messages to the current
795 user's terminal</para>
796 <indexterm zone="ch-system-util-linux mesg">
797 <primary sortas="b-mesg">mesg</primary>
798 </indexterm>
799 </listitem>
800 </varlistentry>
801
802 <varlistentry id="mkfs">
803 <term><command>mkfs</command></term>
804 <listitem>
805 <para>Builds a file system on a device (usually a hard disk
806 partition)</para>
807 <indexterm zone="ch-system-util-linux mkfs">
808 <primary sortas="b-mkfs">mkfs</primary>
809 </indexterm>
810 </listitem>
811 </varlistentry>
812
813 <varlistentry id="mkfs.bfs">
814 <term><command>mkfs.bfs</command></term>
815 <listitem>
816 <para>Creates a Santa Cruz Operations (SCO) bfs file system</para>
817 <indexterm zone="ch-system-util-linux mkfs.bfs">
818 <primary sortas="b-mkfs.bfs">mkfs.bfs</primary>
819 </indexterm>
820 </listitem>
821 </varlistentry>
822
823 <varlistentry id="mkfs.cramfs">
824 <term><command>mkfs.cramfs</command></term>
825 <listitem>
826 <para>Creates a cramfs file system</para>
827 <indexterm zone="ch-system-util-linux mkfs.cramfs">
828 <primary sortas="b-mkfs.cramfs">mkfs.cramfs</primary>
829 </indexterm>
830 </listitem>
831 </varlistentry>
832
833 <varlistentry id="mkfs.minix">
834 <term><command>mkfs.minix</command></term>
835 <listitem>
836 <para>Creates a Minix file system</para>
837 <indexterm zone="ch-system-util-linux mkfs.minix">
838 <primary sortas="b-mkfs.minix">mkfs.minix</primary>
839 </indexterm>
840 </listitem>
841 </varlistentry>
842
843 <varlistentry id="mkswap">
844 <term><command>mkswap</command></term>
845 <listitem>
846 <para>Initializes the given device or file to be used as a swap
847 area</para>
848 <indexterm zone="ch-system-util-linux mkswap">
849 <primary sortas="b-mkswap">mkswap</primary>
850 </indexterm>
851 </listitem>
852 </varlistentry>
853
854 <varlistentry id="more">
855 <term><command>more</command></term>
856 <listitem>
857 <para>A filter for paging through text one screen at a time</para>
858 <indexterm zone="ch-system-util-linux more">
859 <primary sortas="b-more">more</primary>
860 </indexterm>
861 </listitem>
862 </varlistentry>
863
864 <varlistentry id="mount">
865 <term><command>mount</command></term>
866 <listitem>
867 <para>Attaches the file system on the given device to a specified
868 directory in the file-system tree</para>
869 <indexterm zone="ch-system-util-linux mount">
870 <primary sortas="b-mount">mount</primary>
871 </indexterm>
872 </listitem>
873 </varlistentry>
874
875 <varlistentry id="mountpoint">
876 <term><command>mountpoint</command></term>
877 <listitem>
878 <para>Checks if the directory is a mountpoint</para>
879 <indexterm zone="ch-system-util-linux mountpoint">
880 <primary sortas="b-mountpoint">mountpoint</primary>
881 </indexterm>
882 </listitem>
883 </varlistentry>
884
885 <varlistentry id="namei">
886 <term><command>namei</command></term>
887 <listitem>
888 <para>Shows the symbolic links in the given paths</para>
889 <indexterm zone="ch-system-util-linux namei">
890 <primary sortas="b-namei">namei</primary>
891 </indexterm>
892 </listitem>
893 </varlistentry>
894
895 <varlistentry id="nsenter">
896 <term><command>nsenter</command></term>
897 <listitem>
898 <para>Runs a program with namespaces of other processes</para>
899 <indexterm zone="ch-system-util-linux nsenter">
900 <primary sortas="b-nsenter">nsenter</primary>
901 </indexterm>
902 </listitem>
903 </varlistentry>
904
905 <varlistentry id="partx">
906 <term><command>partx</command></term>
907 <listitem>
908 <para>Tells the kernel about the presence and numbering of on-disk
909 partitions</para>
910 <indexterm zone="ch-system-util-linux partx">
911 <primary sortas="b-partx">partx</primary>
912 </indexterm>
913 </listitem>
914 </varlistentry>
915
916 <varlistentry id="pivot_root">
917 <term><command>pivot_root</command></term>
918 <listitem>
919 <para>Makes the given file system the new root file system of the
920 current process</para>
921 <indexterm zone="ch-system-util-linux pivot_root">
922 <primary sortas="b-pivot_root">pivot_root</primary>
923 </indexterm>
924 </listitem>
925 </varlistentry>
926
927 <varlistentry id="prlimit">
928 <term><command>prlimit</command></term>
929 <listitem>
930 <para>Gets and sets a process's resource limits</para>
931 <indexterm zone="ch-system-util-linux prlimit">
932 <primary sortas="b-prlimit">prlimit</primary>
933 </indexterm>
934 </listitem>
935 </varlistentry>
936
937 <varlistentry id="readprofile">
938 <term><command>readprofile</command></term>
939 <listitem>
940 <para>Reads kernel profiling information</para>
941 <indexterm zone="ch-system-util-linux readprofile">
942 <primary sortas="b-readprofile">readprofile</primary>
943 </indexterm>
944 </listitem>
945 </varlistentry>
946
947 <varlistentry id="rename">
948 <term><command>rename</command></term>
949 <listitem>
950 <para>Renames the given files, replacing a given string with
951 another</para>
952 <indexterm zone="ch-system-util-linux rename">
953 <primary sortas="b-rename">rename</primary>
954 </indexterm>
955 </listitem>
956 </varlistentry>
957
958 <varlistentry id="renice">
959 <term><command>renice</command></term>
960 <listitem>
961 <para>Alters the priority of running processes</para>
962 <indexterm zone="ch-system-util-linux renice">
963 <primary sortas="b-renice">renice</primary>
964 </indexterm>
965 </listitem>
966 </varlistentry>
967
968 <varlistentry id="resizepart">
969 <term><command>resizepart</command></term>
970 <listitem>
971 <para>Asks the Linux kernel to resize a partition</para>
972 <indexterm zone="ch-system-util-linux resizepart">
973 <primary sortas="b-resizepart">resizepart</primary>
974 </indexterm>
975 </listitem>
976 </varlistentry>
977
978 <varlistentry id="rev">
979 <term><command>rev</command></term>
980 <listitem>
981 <para>Reverses the lines of a given file</para>
982 <indexterm zone="ch-system-util-linux rev">
983 <primary sortas="b-rev">rev</primary>
984 </indexterm>
985 </listitem>
986 </varlistentry>
987
988 <varlistentry id="rfkill">
989 <term><command>rfkill</command></term>
990 <listitem>
991 <para>Tool for enabling and disabling wireless devices</para>
992 <indexterm zone="ch-system-util-linux rfkill">
993 <primary sortas="b-rfkill">rfkill</primary>
994 </indexterm>
995 </listitem>
996 </varlistentry>
997
998 <varlistentry id="rtcwake">
999 <term><command>rtcwake</command></term>
1000 <listitem>
1001 <para>Used to enter a system sleep state until the specified wakeup
1002 time</para>
1003 <indexterm zone="ch-system-util-linux rtcwake">
1004 <primary sortas="b-rtcwake">rtcwake</primary>
1005 </indexterm>
1006 </listitem>
1007 </varlistentry>
1008
1009 <varlistentry id="script">
1010 <term><command>script</command></term>
1011 <listitem>
1012 <para>Makes a typescript of a terminal session</para>
1013 <indexterm zone="ch-system-util-linux script">
1014 <primary sortas="b-script">script</primary>
1015 </indexterm>
1016 </listitem>
1017 </varlistentry>
1018
1019 <varlistentry id="scriptlive">
1020 <term><command>scriptlive</command></term>
1021 <listitem>
1022 <para>Re-runs session typescripts using timing information</para>
1023 <indexterm zone="ch-system-util-linux scriptlive">
1024 <primary sortas="b-scriptlive">scriptlive</primary>
1025 </indexterm>
1026 </listitem>
1027 </varlistentry>
1028
1029 <varlistentry id="scriptreplay">
1030 <term><command>scriptreplay</command></term>
1031 <listitem>
1032 <para>Plays back typescripts using timing information</para>
1033 <indexterm zone="ch-system-util-linux scriptreplay">
1034 <primary sortas="b-scriptreplay">scriptreplay</primary>
1035 </indexterm>
1036 </listitem>
1037 </varlistentry>
1038
1039 <varlistentry id="setarch">
1040 <term><command>setarch</command></term>
1041 <listitem>
1042 <para>Changes reported architecture in a new program environment, and
1043 sets personality flags</para>
1044 <indexterm zone="ch-system-util-linux setarch">
1045 <primary sortas="b-setarch">setarch</primary>
1046 </indexterm>
1047 </listitem>
1048 </varlistentry>
1049
1050 <varlistentry id="setsid">
1051 <term><command>setsid</command></term>
1052 <listitem>
1053 <para>Runs the given program in a new session</para>
1054 <indexterm zone="ch-system-util-linux setsid">
1055 <primary sortas="b-setsid">setsid</primary>
1056 </indexterm>
1057 </listitem>
1058 </varlistentry>
1059
1060 <varlistentry id="setterm">
1061 <term><command>setterm</command></term>
1062 <listitem>
1063 <para>Sets terminal attributes</para>
1064 <indexterm zone="ch-system-util-linux setterm">
1065 <primary sortas="b-setterm">setterm</primary>
1066 </indexterm>
1067 </listitem>
1068 </varlistentry>
1069
1070 <varlistentry id="sfdisk">
1071 <term><command>sfdisk</command></term>
1072 <listitem>
1073 <para>A disk partition table manipulator</para>
1074 <indexterm zone="ch-system-util-linux sfdisk">
1075 <primary sortas="b-sfdisk">sfdisk</primary>
1076 </indexterm>
1077 </listitem>
1078 </varlistentry>
1079
1080 <varlistentry id="sulogin">
1081 <term><command>sulogin</command></term>
1082 <listitem>
1083 <para>Allows <systemitem class="username">root</systemitem> to log in;
1084 it is normally invoked by <command>init</command> when the system goes
1085 into single user mode</para>
1086 <indexterm zone="ch-system-util-linux sulogin">
1087 <primary sortas="b-sulogin">sulogin</primary>
1088 </indexterm>
1089 </listitem>
1090 </varlistentry>
1091
1092 <varlistentry id="swaplabel">
1093 <term><command>swaplabel</command></term>
1094 <listitem>
1095 <para>Makes changes to the swap area's UUID and label</para>
1096 <indexterm zone="ch-system-util-linux swaplabel">
1097 <primary sortas="b-swaplabel">swaplabel</primary>
1098 </indexterm>
1099 </listitem>
1100 </varlistentry>
1101
1102 <varlistentry id="swapoff">
1103 <term><command>swapoff</command></term>
1104 <listitem>
1105 <para>Disables devices and files for paging and swapping</para>
1106 <indexterm zone="ch-system-util-linux swapoff">
1107 <primary sortas="b-swapoff">swapoff</primary>
1108 </indexterm>
1109 </listitem>
1110 </varlistentry>
1111
1112 <varlistentry id="swapon">
1113 <term><command>swapon</command></term>
1114 <listitem>
1115 <para>Enables devices and files for paging and swapping, and
1116 lists the devices and files currently in use</para>
1117 <indexterm zone="ch-system-util-linux swapon">
1118 <primary sortas="b-swapon">swapon</primary>
1119 </indexterm>
1120 </listitem>
1121 </varlistentry>
1122
1123 <varlistentry id="switch_root">
1124 <term><command>switch_root</command></term>
1125 <listitem>
1126 <para>Switches to another filesystem as the root of the mount tree</para>
1127 <indexterm zone="ch-system-util-linux switch_root">
1128 <primary sortas="b-switch_root">switch_root</primary>
1129 </indexterm>
1130 </listitem>
1131 </varlistentry>
1132
1133 <varlistentry id="taskset">
1134 <term><command>taskset</command></term>
1135 <listitem>
1136 <para>Retrieves or sets a process's CPU affinity</para>
1137 <indexterm zone="ch-system-util-linux taskset">
1138 <primary sortas="b-taskset">taskset</primary>
1139 </indexterm>
1140 </listitem>
1141 </varlistentry>
1142
1143 <varlistentry id="uclampset">
1144 <term><command>uclampset</command></term>
1145 <listitem>
1146 <para>Manipulates the utilization clamping attributes of the
1147 system or a process</para>
1148 <indexterm zone="ch-system-util-linux uclampset">
1149 <primary sortas="b-uclampset">uclampset</primary>
1150 </indexterm>
1151 </listitem>
1152 </varlistentry>
1153
1154 <varlistentry id="ul">
1155 <term><command>ul</command></term>
1156 <listitem>
1157 <para>A filter for translating underscores into escape sequences
1158 indicating underlining for the terminal in use</para>
1159 <indexterm zone="ch-system-util-linux ul">
1160 <primary sortas="b-ul">ul</primary>
1161 </indexterm>
1162 </listitem>
1163 </varlistentry>
1164
1165 <varlistentry id="umount">
1166 <term><command>umount</command></term>
1167 <listitem>
1168 <para>Disconnects a file system from the system's file tree</para>
1169 <indexterm zone="ch-system-util-linux umount">
1170 <primary sortas="b-umount">umount</primary>
1171 </indexterm>
1172 </listitem>
1173 </varlistentry>
1174
1175 <varlistentry id="uname26">
1176 <term><command>uname26</command></term>
1177 <listitem>
1178 <para>A symbolic link to setarch</para>
1179 <indexterm zone="ch-system-util-linux uname26">
1180 <primary sortas="b-uname26">uname26</primary>
1181 </indexterm>
1182 </listitem>
1183 </varlistentry>
1184
1185 <varlistentry id="unshare">
1186 <term><command>unshare</command></term>
1187 <listitem>
1188 <para>Runs a program with some namespaces unshared from parent</para>
1189 <indexterm zone="ch-system-util-linux unshare">
1190 <primary sortas="b-unshare">unshare</primary>
1191 </indexterm>
1192 </listitem>
1193 </varlistentry>
1194
1195 <varlistentry id="utmpdump">
1196 <term><command>utmpdump</command></term>
1197 <listitem>
1198 <para>Displays the content of the given login file in a
1199 user-friendly format</para>
1200 <indexterm zone="ch-system-util-linux utmpdump">
1201 <primary sortas="b-utmpdump">utmpdump</primary>
1202 </indexterm>
1203 </listitem>
1204 </varlistentry>
1205
1206 <varlistentry id="uuidd">
1207 <term><command>uuidd</command></term>
1208 <listitem>
1209 <para>A daemon used by the UUID library to generate time-based
1210 UUIDs in a secure and guaranteed-unique fashion</para>
1211 <indexterm zone="ch-system-util-linux uuidd">
1212 <primary sortas="b-uuidd">uuidd</primary>
1213 </indexterm>
1214 </listitem>
1215 </varlistentry>
1216
1217 <varlistentry id="uuidgen">
1218 <term><command>uuidgen</command></term>
1219 <listitem>
1220 <para>Creates new UUIDs. Each new UUID is a random number likely to be
1221 unique among all UUIDs created, on the local system and on other
1222 systems, in the past and in the future, with extremely high
1223 probability (~340 trillion trillion trillion unique UUIDs are possible)</para>
1224 <indexterm zone="ch-system-util-linux uuidgen">
1225 <primary sortas="b-uuidgen">uuidgen</primary>
1226 </indexterm>
1227 </listitem>
1228 </varlistentry>
1229
1230 <varlistentry id="uuidparse">
1231 <term><command>uuidparse</command></term>
1232 <listitem>
1233 <para>A utility to parse unique identifiers</para>
1234 <indexterm zone="ch-system-util-linux uuidparse">
1235 <primary sortas="b-uuidparse">uuidparse</primary>
1236 </indexterm>
1237 </listitem>
1238 </varlistentry>
1239
1240 <varlistentry id="wall">
1241 <term><command>wall</command></term>
1242 <listitem>
1243 <para>Displays the contents of a file or, by default, its standard
1244 input, on the terminals of all currently logged in users</para>
1245 <indexterm zone="ch-system-util-linux wall">
1246 <primary sortas="b-wall">wall</primary>
1247 </indexterm>
1248 </listitem>
1249 </varlistentry>
1250
1251 <varlistentry id="wdctl">
1252 <term><command>wdctl</command></term>
1253 <listitem>
1254 <para>Shows hardware watchdog status</para>
1255 <indexterm zone="ch-system-util-linux wdctl">
1256 <primary sortas="b-wdctl">wdctl</primary>
1257 </indexterm>
1258 </listitem>
1259 </varlistentry>
1260
1261 <varlistentry id="whereis">
1262 <term><command>whereis</command></term>
1263 <listitem>
1264 <para>Reports the location of the binary, source, and man page
1265 files for the given command</para>
1266 <indexterm zone="ch-system-util-linux whereis">
1267 <primary sortas="b-whereis">whereis</primary>
1268 </indexterm>
1269 </listitem>
1270 </varlistentry>
1271
1272 <varlistentry id="wipefs">
1273 <term><command>wipefs</command></term>
1274 <listitem>
1275 <para>Wipes a filesystem signature from a device</para>
1276 <indexterm zone="ch-system-util-linux wipefs">
1277 <primary sortas="b-wipefs">wipefs</primary>
1278 </indexterm>
1279 </listitem>
1280 </varlistentry>
1281
1282 <varlistentry id="x86_64">
1283 <term><command>x86_64</command></term>
1284 <listitem>
1285 <para>A symbolic link to setarch</para>
1286 <indexterm zone="ch-system-util-linux x86_64">
1287 <primary sortas="b-x86_64">x86_64</primary>
1288 </indexterm>
1289 </listitem>
1290 </varlistentry>
1291
1292 <varlistentry id="zramctl">
1293 <term><command>zramctl</command></term>
1294 <listitem>
1295 <para>A program to set up and control zram (compressed ram disk)
1296 devices</para>
1297 <indexterm zone="ch-system-util-linux zramctl">
1298 <primary sortas="b-zramctl">zramctl</primary>
1299 </indexterm>
1300 </listitem>
1301 </varlistentry>
1302
1303 <varlistentry id="libblkid">
1304 <term><filename class="libraryfile">libblkid</filename></term>
1305 <listitem>
1306 <para>Contains routines for device identification and token
1307 extraction</para>
1308 <indexterm zone="ch-system-util-linux libblkid">
1309 <primary sortas="c-libblkid">libblkid</primary>
1310 </indexterm>
1311 </listitem>
1312 </varlistentry>
1313
1314 <varlistentry id="libfdisk">
1315 <term><filename class="libraryfile">libfdisk</filename></term>
1316 <listitem>
1317 <para>Contains routines for manipulating partition tables</para>
1318 <indexterm zone="ch-system-util-linux libfdisk">
1319 <primary sortas="c-libfdisk">libfdisk</primary>
1320 </indexterm>
1321 </listitem>
1322 </varlistentry>
1323
1324 <varlistentry id="libmount">
1325 <term><filename class="libraryfile">libmount</filename></term>
1326 <listitem>
1327 <para>Contains routines for block device mounting and
1328 unmounting</para>
1329 <indexterm zone="ch-system-util-linux libmount">
1330 <primary sortas="c-libmount">libmount</primary>
1331 </indexterm>
1332 </listitem>
1333 </varlistentry>
1334
1335 <varlistentry id="libsmartcols">
1336 <term><filename class="libraryfile">libsmartcols</filename></term>
1337 <listitem>
1338 <para>Contains routines for aiding screen output in tabular form</para>
1339 <indexterm zone="ch-system-util-linux libsmartcols">
1340 <primary sortas="c-libsmartcols">libsmartcols</primary>
1341 </indexterm>
1342 </listitem>
1343 </varlistentry>
1344
1345 <varlistentry id="libuuid">
1346 <term><filename class="libraryfile">libuuid</filename></term>
1347 <listitem>
1348 <para>Contains routines for generating unique identifiers for objects
1349 that may be accessible beyond the local system</para>
1350 <indexterm zone="ch-system-util-linux libuuid">
1351 <primary sortas="c-libuuid">libuuid</primary>
1352 </indexterm>
1353 </listitem>
1354 </varlistentry>
1355
1356 </variablelist>
1357
1358 </sect2>
1359
1360</sect1>
Note: See TracBrowser for help on using the repository browser.