
SYSTEM BASICS
1 Be aware of potential issues when using subscription-manager
on Red Hat Enterprise Linux 5: https://access.redhat.com/
solutions/129003.
2 Subscription-manager is used for Satellite 6, Satellite 5.6 with
SAM and newer, and Red Hat’s CDN.
3 RHN tools are deprecated on Red Hat Enterprise Linux 7.
rhn_register should be used for Satellite server 5.6 and newer
only. For details, see: Satellite 5.6 unable to register RHEL 7
client system due to rhn-setup package not included in
Minimal installation (https://access.redhat.com/
solutions/737373)
TASK RHEL
View subscription information
/etc/syscong/rhn/systemid
5
/etc/syscong/rhn/systemid
subscription-manager identity
6
subscription-manager identity
7
Congure subscription
rhn_register
subscription-manager
1
5
rhn_register
rhnreg_ks
subscription-manager
6
subscription-manager
2
rhn_register
3
7
View system prole
sosreport
dmidecode
hwbrowser
5
sosreport
dmidecode
lstopo
lscpu
6 7
View RHEL version information
/etc/redhat-release
5 6 7
RED HAT ENTERISE LINUX 5, 6, AND 7
Common administrative commands
BASIC CONFIGURATION
TASK RHEL
Graphical conguration tools
system-cong-*
5 6
gnome-control-center
7
Congure network
system-cong-network
5 6
nmcli
nmtui
nm-connection-editor
7
Congure system language
system-cong-language
5 6
localectl
7
Congure time and date
system-cong-date
date
5 6
timedatectl
date
7
Synchronize time and date
ntpdate
/etc/ntp.conf
5 6
timedatectl
/etc/chrony.conf
ntpdate
7
Congure keyboard
system-cong-keyboard
5 6
localectl
7
Text-based conguration tools
system-cong-*-tui
5 6 7
Congure printer
system-cong-printer
5 6 7
Congure SSH
/etc/ssh/ssh_cong
/etc/ssh/sshd_cong
~/.ssh/cong ssh-keygen
5 6 7
RESOURCE MANAGEMENT
TASK RHEL
View system usage
top
ps
sar
iostat
netstat
vmstat
mpstat
numastat
5
top
ps
sar
iostat
netstat
ss
vmstat
mpstat
numastat
tuna
6
top
ps
sar
iostat
ss
vmstat
mpstat
numastat
tuna
7
View disk usage
df
5
df
iostat
6 7
Trace system calls
strace
5 6 7
Trace library calls
ltrace
5 6 7
Change process
priority
nice
renice
5 6 7
Change process
run location
taskset
5 6 7
Kill a process
kill
pkill
killall
5 6 7
评论