system

hardware spec
[!TIP|label:hardware spec] list info
glances
hwinfo
lshw
lscpu
lsmem
lspci
lsscsi
lsusb
inxi(inxi --recommends,inxi -F|--full)
lsblk
lsof
ncdu- a disk utility for Unix systems
fdisk
blkid- command-line utility to locate/print block device attributes
mount
free
dmidecode
hdparm
lstopo-no-graphics
hwloc-ls
/proc
/proc/cpuinfo
/proc/meminfo
/proc/version
/proc/scsi/scsi
/proc/partitionsperformance & analysis
vmstat- shows system memory, processes, interrupts, paging, block I/O, and CPU info
iostat- for storage I/O statistics.
iotop- interactive I/O viewer. Get an overview of storage r/w activity
netstat– for network statistics
iftop- network traffic viewer
nload- a super simple, command-line network interface monitoring tool
mtr- network diagnostic tool
dig- DNS lookup utility tool
nethogs- network traffic analyzer
apropos- search man page names and descriptions
fsck- tool for checking the consistency of a file system
vnstat
dstat
mpstat
ss- socket statistics
sar
nethogs- network traffic analyzer
os
hardware
system information
manufacturer
product name and version
product name only
uuid
cpu
others
check CPU support 64 bit or not
cat /proc/cpuinfo
cpu info
memory
list total memory
[!TIP|label:references:]
list only installed RAM modules
memory information
print memory only
check memory in time
bios
disk
hwinfo
disk type
[!INFO] Check disk interface types
Advanced technology attachment (
ATA)Integrated Drive Electronics (
IDE)Serial ATA (
SATA)Small Computer system interface (
SCSI)Serial attached SCSI (
SAS)Fibre Channel
lsblklshwhdparmSSD or HHD
[!INFO]
0: SSD1: HHD references:
check rotational
lsblksmartctl($ yum install smartmontools; $ apt install smartmontools)/proc/scsi/scsi
check status
$ lsblk$ pvs$ lvs$ vgs$ pvscan$ lvscan$ pvdisplay$ vgdisplay$ lvdisplay$ fdisk -l$ sfdisk -l -uM$ lshw -class disk$ hwinfo --block --short$ cat /proc/partitions$ sudo hdparm -I /dev/sda
RAID Info
[!NOTE|label:references:]
RAID details info
network
get network cards
network speed
get the public ip address
environment variables
show PATH
graphics card driver
[!NOTE|label:references:]
get system info
top
batch mode
[!TIP] references:
get only summary of top command
ps
[!TIP|label:references:]
get cpu
get memory
sort process by PID
check the group PID
find the zombie process
set system info
clear duplicated PATH
sysctl
verify
change net.bridge
check status
LS_COLORS
[!NOTE|label:references:]
bd
device
block device
ca
-
cap
cd
device
char device
cl
-
clear end of line
di
directory
directory
do
-
Solaris door
ec
-
end color, unused
ex
executable
executable
fi
file
file
fl
-
file, default
lc
-
left, unused
ln
link
symlink
mh
-
multi hardlink
mi
-
missing file
no
-
normal
or
orphan
orphaned symlink
ow
-
other-writable
pi
fifo
pipe
rc
-
right, unused
rs
-
reset
sg
-
setgid
so
socket
socket
st
-
sticky
su
-
setuid
tw
-
ow with sticky
show database
setup LS_COLORS
settings

ls LS_COLORS way to verify
disable firewall
check result
off swap
disable selinux
installation
setup for exiting account
Modifying an existing mapping
delete a mapping
list mappings
tips
about whatis
whatisservice
enable/disable service
check service enable or not
or
start/stop service
check log
system encoding
setup via environment
check locale for account
setup via locale command
locale commandsetup environment files
locales
CentOS8
installation
references:
locale.conffiles support the following environment variables.
LANG
LANGUAGE
LC_ADDRESS
LC_COLLATE
LC_CTYPE
LC_IDENTIFICATION
LC_MEASUREMENT
LC_MESSAGES
LC_MONETARY
LC_NAME
LC_NUMERIC
LC_PAPER
LC_TELEPHONE
LC_TIME
check
more options
get infomation
print out terminfo descriptions
references:
langpacks
list
install
chinese
applications
disable lock screen in CentOS 8
manually
Applications->Settings->Poswer Manager->DisplayApplications->Settings->Screensaver->Lock Screen
via script
automatically lock the screen when idle
[!NOTE|label:references:]
sogou Pinyin input method
specified terminal size
burn bootable usb stick
[!NOTE|label:references:]
Disk Utility -> Erase
format:
MS-DOS (FAT)scheme:
GUID Partition Map

erase usb
remove system
[!NOTE|label:references:]
remove
initrd.imgandvmlinuz-*update grub
Q&A
yum issue after python upgrade to 3.x
[!NOTE|label:references:]
issue
solution
or change shebang from
#! /usr/bin/pythonto#! /usr/bin/python2
none of the providers can be installed in dnf upgrade
dnf upgradeissue
upgrade bypass issue
[!NOTE] issue stills exists, but upgrade will be executed successfully
fix with erase conflict packges permanently
ls: Argument list too long
[!NOTE] config files
/etc/sysctl.conf
/etc/system
/etc/security/limits.conf
/etc/limits.conf
/etc/security/limits.d/*.conf
/etc/security/limits.d/99-nproc-devops.confall modifications requires logout and login again
check the limit
check page size
rebuid bios & efi
setup ulimit
via
limits.d
modify open file
setup for particular group
others
motd
motd
motd upgrade disable
cockpit
disable
motd
disable in hard way
package info
Last updated
Was this helpful?
