Authorized users only. All activities may be monitored and reported.
Activate the web console with: systemctl enable --now cockpit.socket
localhost login: root
密ç :
上次登录:Wed Jul 2113:43:03 于 tty1
Authorized users only. All activities may be monitored and reported.
Welcome to 4.19.90-2003.4.0.0036.oe1.x86_64
System information as of time:2021年 07月 21日 星期三 17:01:10 CST
System load:0.00
Processes:138
Memory used:12.6%
Swap used:0.0%
Usage On:22%
IP address:192.168.122.1
Users online:1
启动后内存占用
[root@localhost ~]# free -h
total used free shared buff/cache available
Mem:1.9Gi 247Mi 1.4Gi 0.0Ki 239Mi 1.4Gi
Swap:2.0Gi 0B 2.0Gi
[root@localhost ~]#
内核信息
[root@localhost ~]# uname -a
Linux localhost.localdomain 4.19.90-2003.4.0.0036.oe1.x86_64 #1 SMP Mon Mar 2319:10:41 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
[root@localhost ~]# mount
sysfs on /sys type sysfs(rw,nosuid,nodev,noexec,relatime,seclabel)
proc on /proc type proc(rw,nosuid,nodev,noexec,relatime)
devtmpfs on /dev type devtmpfs(rw,nosuid,seclabel,size=991888k,nr_inodes=247972,mode=755)
securityfs on /sys/kernel/security type securityfs(rw,nosuid,nodev,noexec,relatime)
tmpfs on /dev/shm type tmpfs(rw,nosuid,nodev,seclabel)
devpts on /dev/pts type devpts(rw,nosuid,noexec,relatime,seclabel,gid=5,mode=620,ptmxmode=000)
tmpfs on /run type tmpfs(rw,nosuid,nodev,seclabel,mode=755)
tmpfs on /sys/fs/cgroup type tmpfs(ro,nosuid,nodev,noexec,seclabel,mode=755)
cgroup on /sys/fs/cgroup/systemd type cgroup(rw,nosuid,nodev,noexec,relatime,seclabel,xattr,release_agent=/usr/lib/systemd/systemd-cgroups-agent,name=systemd)
pstore on /sys/fs/pstore type pstore(rw,nosuid,nodev,noexec,relatime,seclabel)
bpf on /sys/fs/bpf type bpf(rw,nosuid,nodev,noexec,relatime,mode=700)
cgroup on /sys/fs/cgroup/freezer type cgroup(rw,nosuid,nodev,noexec,relatime,seclabel,freezer)
cgroup on /sys/fs/cgroup/cpuset type cgroup(rw,nosuid,nodev,noexec,relatime,seclabel,cpuset)
cgroup on /sys/fs/cgroup/net_cls,net_prio type cgroup(rw,nosuid,nodev,noexec,relatime,seclabel,net_cls,net_prio)
cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup(rw,nosuid,nodev,noexec,relatime,seclabel,cpu,cpuacct)
cgroup on /sys/fs/cgroup/perf_event type cgroup(rw,nosuid,nodev,noexec,relatime,seclabel,perf_event)
cgroup on /sys/fs/cgroup/pids type cgroup(rw,nosuid,nodev,noexec,relatime,seclabel,pids)
cgroup on /sys/fs/cgroup/blkio type cgroup(rw,nosuid,nodev,noexec,relatime,seclabel,blkio)
cgroup on /sys/fs/cgroup/devices type cgroup(rw,nosuid,nodev,noexec,relatime,seclabel,devices)
cgroup on /sys/fs/cgroup/hugetlb type cgroup(rw,nosuid,nodev,noexec,relatime,seclabel,hugetlb)
cgroup on /sys/fs/cgroup/memory type cgroup(rw,nosuid,nodev,noexec,relatime,seclabel,memory)
cgroup on /sys/fs/cgroup/rdma type cgroup(rw,nosuid,nodev,noexec,relatime,seclabel,rdma)
configfs on /sys/kernel/config type configfs(rw,nosuid,nodev,noexec,relatime)/dev/mapper/openeuler-root on / type ext4(rw,relatime,seclabel)
selinuxfs on /sys/fs/selinux type selinuxfs(rw,relatime)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs(rw,relatime,fd=31,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=18875)
hugetlbfs on /dev/hugepages type hugetlbfs(rw,relatime,seclabel,pagesize=2M)
mqueue on /dev/mqueue type mqueue(rw,nosuid,nodev,noexec,relatime,seclabel)
debugfs on /sys/kernel/debug type debugfs(rw,nosuid,nodev,noexec,relatime,seclabel)
tmpfs on /tmp type tmpfs(rw,nosuid,nodev,seclabel)/dev/sda1 on /boot type ext4(rw,relatime,seclabel)
sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs(rw,relatime)
tmpfs on /run/user/0 type tmpfs(rw,nosuid,nodev,relatime,seclabel,size=201396k,mode=700)
对所有用户操作日志的记录
[root@localhost ~]# cat /var/log/messages
Jul 2203:46:01 localhost rsyslogd[2056]:[origin software="rsyslogd" swVersion="8.1907.0" x-pid="2056" x-info="https://www.rsyslog.com"] rsyslogd was HUPed
Jul 2203:46:03 localhost rhsmd[3747]: In order for Subscription Manager to provide your system with updates, your system must be registered with the Customer Portal. Please enter your Red Hat login to ensure your system is up-to-date.
Jul 2203:54:32 localhost systemd[1]: Starting dnf makecache...
Jul 2203:54:53 localhost dnf[3764]: openEuler-20.030.0 B/s |0 B 00:20
Jul 2203:54:53 localhost dnf[3764]: Error: Failed to download metadata for repo 'repository': Cannot download repomd.xml: Curl error(6): Couldn't resolve host name for https://repo.openeuler.org/openEuler-20.03-LTS/OS/x86_64/repodata/repomd.xml [Could not resolve host: repo.openeuler.org]
Jul 2203:54:53 localhost audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=dnf-makecache comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed'
Jul 2203:54:53 localhost systemd[1]: dnf-makecache.service: Main process exited, code=exited, status=1/FAILURE
Jul 2203:54:53 localhost systemd[1]: dnf-makecache.service: Failed with result 'exit-code'.
Jul 2203:54:53 localhost systemd[1]: Failed to start dnf makecache.
Jul 2204:55:42 localhost systemd[1]: Starting dnf makecache...
Jul 2204:55:42 localhost dnf[3824]: Metadata cache refreshed recently.
Jul 2204:55:42 localhost audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=dnf-makecache comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Jul 2204:55:42 localhost audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=dnf-makecache comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Jul 2204:55:42 localhost systemd[1]: dnf-makecache.service: Succeeded.
Jul 2204:55:42 localhost systemd[1]: Started dnf makecache.
Jul 2205:56:42 localhost systemd[1]: Starting dnf makecache...
Jul 2205:56:42 localhost dnf[3881]: Metadata cache refreshed recently.
Jul 2205:56:42 localhost audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=dnf-makecache comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Jul 2205:56:42 localhost audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=dnf-makecache comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Jul 2205:56:42 localhost systemd[1]: dnf-makecache.service: Succeeded.
Jul 2205:56:42 localhost systemd[1]: Started dnf makecache.
Jul 2206:57:32 localhost systemd[1]: Starting dnf makecache...
Jul 2206:57:53 localhost dnf[3937]: openEuler-20.030.0 B/s |0 B 00:20
Jul 2206:57:53 localhost dnf[3937]: Error: Failed to download metadata for repo 'repository': Cannot download repomd.xml: Curl error(6): Couldn't resolve host name for https://repo.openeuler.org/openEuler-20.03-LTS/OS/x86_64/repodata/repomd.xml [Could not resolve host: repo.openeuler.org]
Jul 2206:57:53 localhost systemd[1]: dnf-makecache.service: Main process exited, code=exited, status=1/FAILURE
Jul 2206:57:53 localhost systemd[1]: dnf-makecache.service: Failed with result 'exit-code'.
Jul 2206:57:53 localhost audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=dnf-makecache comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed'
Jul 2206:57:53 localhost systemd[1]: Failed to start dnf makecache.
Jul 2207:58:42 localhost systemd[1]: Starting dnf makecache...
Jul 2207:58:42 localhost dnf[3993]: Metadata cache refreshed recently.
Jul 2207:58:42 localhost systemd[1]: dnf-makecache.service: Succeeded.
Jul 2207:58:42 localhost systemd[1]: Started dnf makecache.
Jul 2207:58:42 localhost audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=dnf-makecache comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Jul 2207:58:42 localhost audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=dnf-makecache comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Jul 2208:59:42 localhost systemd[1]: Starting dnf makecache...
Jul 2208:59:42 localhost dnf[4049]: Metadata cache refreshed recently.
Jul 2208:59:42 localhost systemd[1]: dnf-makecache.service: Succeeded.
Jul 2208:59:42 localhost systemd[1]: Started dnf makecache.
Jul 2208:59:42 localhost audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=dnf-makecache comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Jul 2208:59:42 localhost audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=dnf-makecache comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Jul 2210:00:01 localhost systemd[1]: Starting dnf makecache...
Jul 2210:00:21 localhost dnf[4105]: openEuler-20.030.0 B/s |0 B 00:20
Jul 2210:00:21 localhost dnf[4105]: Error: Failed to download metadata for repo 'repository': Cannot download repomd.xml: Curl error(6): Couldn't resolve host name for https://repo.openeuler.org/openEuler-20.03-LTS/OS/x86_64/repodata/repomd.xml [Could not resolve host: repo.openeuler.org]
Jul 2210:00:21 localhost systemd[1]: dnf-makecache.service: Main process exited, code=exited, status=1/FAILURE
Jul 2210:00:21 localhost systemd[1]: dnf-makecache.service: Failed with result 'exit-code'.
Jul 2210:00:21 localhost systemd[1]: Failed to start dnf makecache.
Jul 2210:00:21 localhost audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=dnf-makecache comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed'
Jul 2210:49:39 localhost [/bin/bash]:[cat /var/log/messages]return code=[0], execute success by [root(uid=0)] from [ttyS1 17:01]
Jul 2210:49:45 localhost [/bin/bash]:[cat /var/log/messages]return code=[0], execute success by [root(uid=0)] from [ttyS1 17:01]