開心生活站

位置:首頁 > IT科技 > 

linux,suspend命令詳解

IT科技7.04K

suspend命令屬於終端的內建命令,能夠用來暫停目前正在執行的shell。

說明:如果需要恢復的話,必須要用SIGCONT信息。

suspend命令的具體命令的語法格式爲suspend[參數]。

參數:

-f  若目前執行的shell爲登入的shell,那麼suspend預設無法暫停此shell 

參考範例:

如果暫停終端,則具體命令爲:

[root@linuxcool ~]# suspend -f

linux suspend命令詳解

拓展:

常用的linux命令有哪些?

常用的linux命令一般可以分爲很多種,比如查看硬件信息相關命令就有8個,分別是ifconfig、free、fdisk、ethtool、mii-tool、dmidecode、dmesg、lspci,用於系統性能監視高級命令有uptime、top、free、vmstat、mpstat、iostat、sar、chkconfig,用於內存的命令是top、free、vmstat、mpstat、iostat、sar等。

標籤:suspend linux 命令