/dev/vda1 194M 77M 108M 42% /boot
[root@server ~]# rpm -qa | grep kern | sort
[B]kernel-3.10.0-327.28.2.el7.x86_64[/B]
kernel-3.10.0-327.28.3.el7.x86_64
kernel-3.10.0-327.36.1.el7.x86_64
kernel-3.10.0-327.36.2.el7.x86_64
kernel-3.10.0-327.36.3.el7.x86_64
kernel-headers-3.10.0-327.36.3.el7.x86_64
kernel-tools-3.10.0-327.36.3.el7.x86_64
kernel-tools-libs-3.10.0-327.36.3.el7.x86_64
[root@server ~]# uname -a
Linux server.example.net 3.10.0-[B]327.28.2.el7.x86_64[/B] #1 SMP Wed Aug 3 11:11:39 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
[root@server ~]# package-cleanup --oldkernels --count[B]=5[/B]
Loaded plugins: etckeeper, fastestmirror
No old kernels to remove
[root@server ~]# package-cleanup --oldkernels --count[B]=4[/B]
Loaded plugins: etckeeper, fastestmirror
[B]Not removing kernel 3.10.0-327.28.2.el7 because it is the running kernel[/B]
No old kernels to remove
[root@server ~]# package-cleanup --oldkernels --count[B]=3[/B]
Loaded plugins: etckeeper, fastestmirror
[B]Not removing kernel 3.10.0-327.28.2.el7 because it is the running kernel[/B]
--> Running transaction check
---> Package kernel.x86_64 0:3.10.0-327.28.3.el7 will be erased
--> Finished Dependency Resolution
[root@server ~]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/vda2 30G 1.7G 29G 6% /
devtmpfs 235M 0 235M 0% /dev
tmpfs 245M 0 245M 0% /dev/shm
tmpfs 245M 13M 233M 6% /run
tmpfs 245M 0 245M 0% /sys/fs/cgroup
/dev/vda1 240M 194M 30M 87% /boot
tmpfs 49M 0 49M 0% /run/user/1000
[root@server ~]#
[root@server ~]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/vda2 30G 1.9G 28G 7% /
devtmpfs 235M 0 235M 0% /dev
tmpfs 245M 0 245M 0% /dev/shm
tmpfs 245M 4.3M 241M 2% /run
tmpfs 245M 0 245M 0% /sys/fs/cgroup
tmpfs 49M 0 49M 0% /run/user/1000
[root@server ~]#
[root@server ~]# cat /etc/fstab
#
# /etc/fstab
# Created by anaconda on Thu Mar 31 20:21:36 2016
#
# Accessible filesystems, by reference, are maintained under '/dev/disk'
# See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info
#
UUID=122b8647-9c02-4ea4-85ff-c4c5a95997e3 / xfs defaults 0 0
#UUID=18e3548b-f0dc-4fa2-bc0a-4bcb8af2529f /boot ext4 defaults 1 2
[root@server ~]#
[root@server ~]# uptime
11:51:37 up 5 min, 1 user, load average: 0.02, 0.33, 0.22
[root@server ~]#
[root@server ~]# last reboot -3
reboot system boot 3.10.0-514.2.2.e Wed Dec 14 11:45 - 11:52 (00:06)
reboot system boot 3.10.0-514.2.2.e Tue Dec 13 01:52 - 11:44 (1+09:51)
reboot system boot 3.10.0-327.36.3. Sun Nov 27 00:37 - 01:51 (16+01:14)
wtmp begins Fri Apr 1 02:28:37 2016
[root@server ~]#