国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁 > 系統(tǒng) > Linux > 正文

Linux 下 who 命令

2024-06-28 13:26:04
字體:
供稿:網(wǎng)友
linux 下 who 命令

命令:

  who:

常用選項意義
-a顯示所有用戶的所有信息
-m顯示運行該程序的用戶
-p只顯示用戶的登陸帳號和登陸用戶的數(shù)量,該選項優(yōu)先級高于其他任何選項
-r顯示當(dāng)前用戶的運行級別,是在那個級別運行的
-u在登陸用戶后面顯示該用戶最后一次對系統(tǒng)進行操作距今的時間

  

參數(shù):注:格式有點亂,

  -a, --all :

    系統(tǒng)引導(dǎo) 2014-05-30 00:32

    運行級別 2 2014-05-30 00:32

    登錄 tty4 2014-05-30 00:32 932 id=4    登錄 tty5 2014-05-30 00:32 937 id=5    登錄 tty2 2014-05-30 00:32 944 id=2    登錄 tty3 2014-05-30 00:32 945 id=3    登錄 tty6 2014-05-30 00:32 947 id=6    登錄 tty1 2014-05-30 00:32 1182 id=1    yufangqing + tty7 2014-05-30 00:33 舊 2320    yufangqing - pts/0 2014-05-30 00:33 . 3168 (:0)

  -b, --boot :     time of last system boot

    系統(tǒng)最后一次啟動的時間

  -d, --dead :     PRint dead processes

    打印已經(jīng)被死亡的進程

  -H, --heading:

    print line of column headings

事例: 名稱 線路 時間 備注

    yufangqing tty7 2014-05-30 00:33    yufangqing pts/0 2014-05-30 00:33 (:0)

  --ips

    print ips instead of hostnames. with --lookup, canonicalizes     based on stored IP, if available, rather than stored hostname

  -l, --login     print system login processes

    打印當(dāng)前系統(tǒng)登陸進程

  --lookup     attempt to canonicalize hostnames via DNS

  -m

     only hostname and user associated with stdin

  -p, --process     print active processes spawned by init

  

  -q, --count     all login names and number of users logged on

  -r, --runlevel     print current runlevel

  -s, --short     print only name, line, and time (default)

  -t, --time     print last system clock change

  -T, -w, --mesg     add user's message status as +, - or ?

  -u, --users     list users logged in

  


發(fā)表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發(fā)表
主站蜘蛛池模板: 霍邱县| 化州市| 津市市| 靖州| 广东省| 岳阳市| 霍邱县| 波密县| 黔西县| 志丹县| 临沧市| 马龙县| 桐梓县| 佛学| 青岛市| 旌德县| 寿阳县| 海原县| 巴东县| 夹江县| 象山县| 临泽县| 莫力| 洛阳市| 财经| 来安县| 华坪县| 礼泉县| 陵川县| 洪湖市| 浮山县| 万宁市| 宝清县| 射阳县| 尚义县| 嵩明县| 海城市| 普格县| 蛟河市| 芦山县| 巴彦淖尔市|