![]() # id # Show the active user id with login and group # tail /var/log/warn # System warnings messages see nf # tail -n 500 /var/log/messages # Last 500 kernel/syslog messages # systat -iostat 1 # BSD CPU and and disk throughput # systat -ifstat 1 # BSD network traffic through active interfaces # systat -netstat 1 # BSD active network connections # systat -tcp 1 # BSD tcp connections (try also -ip) # systat -vmstat 1 # BSD summary of system statistics (1 s intervals) # iostat 2 # display I/O statistics (2 s intervals) # vmstat 2 # display virtual memory statistics # mpstat 1 # display processors related statistics # top # display and update the top cpu processes The following commands are useful to find out what is going on on the system. # camcontrol devlist -v # Show SCSI devices # sysctl -a | grep mem # Kernel memory settings and info # sysctl hw.ncpu # number of active CPUs installed # sysctl hw # Gives a lot of hardware information # dmidecode # Show DMI/SMBIOS: hw info from the BIOS # lshal # Show a list of all devices with their properties # free -m # Used and free memory (-m for MB) # watch -n1 'cat /proc/interrupts' # Watch changeable interrupts continuously # grep MemTotal /proc/meminfo # Display the physical memory ![]() # dd if=/dev/mem bs=1k skip=768 count=256 2>/dev/null | strings -n 8 # Read BIOS # lsdev # information about installed hardware # dmesg # Detected hardware and boot messages # last reboot # Show system reboot history # man hier # Description of the file system hierarchy # hostname -i # Display the IP address of the host. # uptime # Show how long the system has been running + load Use /etc/DISTR-release with DISTR= lsb (Ubuntu), redhat, gentoo, mandrake, sun (Solaris), and so on. # cat /etc/debian_version # Get Debian version # cat /etc/SuSE-release # Get SuSE version # lsb_release -a # Full release info of any LSB distribution # uname -a # Get the kernel version (and BSD version) Hardware | Statistics | Users | Limits | Runlevels | root password | Compile kernel | Repair grub Some rights reserved under Creative Commons. See also the about page.Įrror reports and comments are most welcome - Colin Barschel. This XHTML page can be converted into a nice PDF document with a CSS3 compliant application (see the script example). On a duplex printer the booklet will create a small book ready to bind. The latest version of this document can be found at. This is a practical guide with concise explanations, however the reader is supposed to know what s/he is doing. Specified in the corresponding Arch Linux package.This document is a collection of Unix/Linux/BSD commands and tasks which are useful for IT work or for advanced users. License, except for the contents of the manual pages, which have their own license The website is available under the terms of the GPL-3.0 Using mandoc for the conversion of manual pages. Package information: Package name: core/util-linux Version: 2.38.1-1 Upstream: Licenses: GPL2 Manuals: /listing/core/util-linux/ Table of contents The wipefs command is part of the util-linux package whichĬan be downloaded from Linux Kernel Archive. Restores an ext2 signature from the backup fileįor bug reports, use the issue tracker at. Note that by default wipefs does not erase nested partition In this case the wipefs scans theĭevice again after each modification (erase) until no magic string is When option -a is used, all magic strings that are visibleįor libblkid(3) are erased. (since v2.31) lists all the offset where a magic strings have been ![]() Magic strings on the device (e.g., FAT, ZFS, GPT). Note that some filesystems and some partition tables store more This feature can be used to wipeĬontent on partitions devices as well as partition table on a disk device,įor example by wipefs -a /dev/sdc1 /dev/sdc2 /dev/sdc. Is called as the last step and when all specified signatures from all Wipefs calls the BLKRRPART ioctl when it has erasedĪ partition-table signature to inform the kernel about the change. output columns-list in environments where a stable output is Always explicitly define expected columns by using So whenever possible, you should avoid using default When used without any options, wipefs lists all visibleįilesystems and the offsets of their basic signatures. wipefs does not erase theįilesystem itself nor any other data from the device. Signatures (magic strings) from the specified device to make the Wipefs can erase filesystem, raid or partition-table Wipefs - wipe a signature from a device SYNOPSIS
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |