值得一看
Linux怎么查看內(nèi)存占用?
輸入:top PID 進(jìn)程的ID USER 進(jìn)程所有者 PR 進(jìn)程的優(yōu)先級(jí)別,越小越優(yōu)先被執(zhí)行 Ninice 值 VIRT 進(jìn)程占用的虛擬內(nèi)存 RES 進(jìn)程占用的物理內(nèi)存 SHR 進(jìn)程使用的共享內(nèi)存 S 進(jìn)程的狀態(tài)。S表示休眠,...
最新的Linux命令大全
自助命令:ls --help?? man ls? info ls 文件屬性:ls -al??顯示當(dāng)前目錄下文件/目錄擁有者,所屬組,其他人的寫讀執(zhí)行權(quán)限 ?文件或目錄下屬文件數(shù)?擁有者?群組?內(nèi)容大小(byte)?最...
centos 更換yum源
centos源更換為,163或者阿里的。 1、首先備份 mv /etc/yum.repos.d/Centos-Base.repo /etc/yum.repos.d/Centos-Base.repo.backup 2、下載repo文件到目錄下 cd /etc/yum.repos.d wget 3、yum cl...
詳解Linux的一些命令
1.linux的目錄結(jié)構(gòu) bin:(binaries)存放二進(jìn)制可執(zhí)行文件 sbin(super user binaries)存放二進(jìn)制可執(zhí)行文件 etc:(etcetera)存放系統(tǒng)配置文件 usr(unix shared resources)用于存放共享的系統(tǒng)資源 h...
5中oi模型怎么用?
應(yīng)用進(jìn)程是:小明 內(nèi)核:小王 1 阻塞式I/O模型: ? 小明向小王借大米做飯,小王暫時(shí)沒有,但是小明這時(shí)候其它啥事情也不做了(例如這時(shí)候他還可以洗菜),就在哪里等的,直到小王有了大米,然...
Linux–常用命令與基礎(chǔ)知識(shí)
linux常用基礎(chǔ)命令 1.ls(list ?列表) ls:列出當(dāng)前目錄下的所有文件(不包含隱藏文件) ls-a:列出當(dāng)前目錄下的所有文件(包含隱藏文件) ls-l:列出當(dāng)前目錄下的所有文件并顯示詳細(xì)信息 ls-...
啟動(dòng)bash shell有哪些方式?
啟動(dòng)bash shell的三種方式 1、登錄時(shí)當(dāng)做默認(rèn)登錄shell 2、作為非登錄shell的交互式shell 3、作為運(yùn)行腳本的非交互shell ? 一、登錄shell 登錄Linux系統(tǒng)時(shí),bash shell會(huì)作為登錄shell啟動(dòng),登...
Apache2啟動(dòng)錯(cuò)誤Could not reliably determine the server's fully qualified domain name
錯(cuò)誤情況: ah00558: apache2: could not reliably determine the server's fully qualified domain name, using 127.0.1.1. set the 'servername' directive globally to suppress this messag...
VirtualBox 在Centos 7 中安裝介紹
1.分配光驅(qū) ? 2.安裝相關(guān)依賴包 yum install -y bzip2 gcc gcc-devel gcc-c++ gcc-c++-devel make kernel-d 3.創(chuàng)建臨時(shí)文件夾 mkdir /mnt/cdrom 4.掛載并安裝 mount -t auto -r /dev/cdrom /mn...
20170601
1. 998 docker inspect `5b38b9da0902` |grep ipaddress 999 docker inspect '5b38b9da0902' |grep ipaddress 1000 systemctl status firewalld 1001 systemctl start firewalld 1002 systemctl...