国产探花免费观看_亚洲丰满少妇自慰呻吟_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ā)表
主站蜘蛛池模板: 临漳县| 望都县| 抚顺县| 大同县| 广汉市| 岳阳市| 昌黎县| 衡东县| 张家口市| 河北区| 金阳县| 伽师县| 新沂市| 张掖市| 本溪| 四子王旗| 桐乡市| 衡水市| 天镇县| 阳城县| 昭通市| 济源市| 阿拉善盟| 黎川县| 花莲市| 白玉县| 武功县| 淄博市| 荆州市| 鄄城县| 敖汉旗| 玉溪市| 汉寿县| 崇左市| 金山区| 桑日县| 柘荣县| 台江县| 太原市| 宁晋县| 南开区|