source: chapter08/util-linux.xml@ 0f69f60

11.0 11.0-rc1 11.0-rc2 11.0-rc3 11.1 11.1-rc1 arm ml-11.0 multilib trunk xry111/clfs-ng xry111/glibc-2.34 xry111/lfs-next xry111/tester-nohack
Last change on this file since 0f69f60 was 0f69f60, checked in by Bruce Dubbs <bdubbs@…>, 13 months ago

Tweak spacing

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