2015网易游戏校园招聘笔试题 运维开发岗

本文介绍了网易游戏运维开发笔试题目,涉及Linux命令如`man w`, `uptime`, `top`的使用及解释,还涵盖了Linux系统负载、文件系统、shell脚本、NAT实现方式、SQL连接类型、错误代码等内容,是了解和复习Linux系统知识的好资料。" 105948915,9442992,Python实现猜拳游戏,"['Python', '游戏开发']
摘要由CSDN通过智能技术生成

看完题目你有何感觉?满满的都是鸟哥的影响啊,出题人在拿着鸟哥那本书出题目的吧,有木有大哭


1、

1)

mody@mac:~$ w

18:36  up  6:42, 6 users, load averages: 1.60 1.74 1.68

USER     TTY      FROM   LOGIN@  IDLE WHAT

mody     console  -                11:55    6:41 -

mody     s000     -                11:55       - -bash

mody     s001     -                12:01    6:35 /usr/bin/python /usr/local/bin/ipython

mody     s002     -                15:31      52 -bash

mody     s003     -                18:33       2 -bash

mody     s004     -                18:36       - w  -h

mody@mac:~$ man w

W(1)                      BSD General Commands Manual                     W(1)

NAME

     w -- display who is logged in and what they are doing


SYNOPSIS

     w [-hin] [user...]


DESCRIPTION

     The w utility prints a summary of the current activity on the system, including what each user is doing.  The first line displays the current time of day, how long the system has been running, the number of users logged into the system, and the load averages. The load average numbers give the number of jobs in the run queue averaged over 1, 5 and 15 minutes.

     The fields output are the user's login name, the name of the terminal the user is on, the host from which the user is logged in, the time the user logged on, the time since the user last typed anything, and the name and arguments of the current process.

     The options are as follows:

     -h      Suppress the heading.   忽略第一行信息

     -i      Output is sorted by idle time.


2)

mody@mac:~$ uptime

19:08  up  7:14, 6 users, load averages: 1.42 1.23 1.24

mody@mac:~$ man uptime

UPTIME(1)                 BSD General Commands Manual                UPTIME(1)


NAME

     uptime -- show how long system has been running


3)

michael@ubuntu:~$ top
top - 05:11:28 up 17 min,  2 users,  load average: 0.05, 0.25, 0.34
Tasks: 178 total,   1 running, 177 sleeping,   0 stopped,   0 zombie
Cpu(s):  3.0%us,  0.3%sy,  0.0%ni, 90.7%id,  5.6%wa,  0.3%hi,  0.0%si,  0.0%s
Mem:   1345964k total,   891400k used,   454564k free,    38652k buffers
Swap:  1340408k total,        0k used,  1340408k free,   562812k cached

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND         
 6207 root      20   0  242m  19m 7616 S  3.0  1.5   0:04.49 Xorg            
 6624 michael   20   0  208m  14m  10m S  1.3  1.1   0:02.33 gnome-terminal  
 6045 root      20   0 98.6m 4548 3644 S  0.7  0.3   0:02.85 vmtoolsd        
 6865 michael   20   0 19224 1456 1060 R  0.7  0.1   0:00.09 top             
 6462 michael   20   0  302m  10m 7548 S  0.3  0.8   0:00.32 gnome-setti
  • 1
    点赞
  • 10
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值