topics

全部话题 - 话题: vmstat
(共0页)
d***y
发帖数: 2
1
vmstat 是可以的,但我需要的是函数,或者如何编程实现?
先谢谢了。
另:谁有vmstat的原码?谢了。
q*a
发帖数: 2330
2
来自主题: Olympics版 - 奖牌竞猜活动
有一个人猜对51枚金牌
Nivek 51 44 48
以下的人以金牌为准在误差<=5以内 (其中两个总数为100整)
freehands 55 60 50 165
mumu1979 50 50 50 150
yizhuo 50 50 50 150
jupy 50 50 50 150
greentrees 50 28 26 104
vmstat 49 55 60 164
hardstone05 48 35 25 108
goandgo 48 36 24 108
booger
c*********n
发帖数: 182
3
来自主题: JobHunting版 - 报脸书面试
我 *不是* 程序员。我是系统管理员。
程序. 输入:一本书,输出:top10单词。 (不用说了吧)
系统. facebook scribe程序,后端是nfs,前端一个scribe写,后面的分析程序为什么
得不到足够多的log?(提示:各个网络iftop,ping -fqc,traceroute,mtr之类的组
合debug)
脚本:a) how are you->you are how,不准用split函数, b) facebook 贴纸(上有8
个字母,f,a,c,e,b,o,o,k,问你用多少这种贴纸(将它剪开)可以组合成input的某个
string?) c) vmstat 输出,如果连续出现3个值高于前面3个的输出平均则报警,例如
2
3
4
6
6
6
则报警((2+3+4)/3<(6+6+6)/3)
网络:水题,为什么3次握手之类的,如果发起http请求之类,最难的不过就是问你如
何分发10G的文件到4个数据中心的n个服务器
求Google, Twitter的refer~ 系统管理/site reliability之类的职位,多谢~ resume
http://difan... 阅读全帖
r**h
发帖数: 1288
4
Yelp这家第一轮HR Screen的时候,HR会问你一些CS方面的基础问题
个人根据自己被问到的经历和玻璃门上的面经总结了一下(实际上没有这么多题不过基
本上都在里面),希望对申请他家的各位有所帮助
1. size of unsigned integer
2. http port no.?
3. ssl full form? (Secure Socket Layer, Encrypt in Transportation layer)
4. use of grep and kill
5. the runtime of adding something to a linked list? O(N)
6. SSL和TLS(Transport Layer Security)的区别:TLS是SSL的升级版(TLS3.0 =
SSL1.0)TLS先handshake再secure
7. hashmaps, DNS(Domain Name System),
8. python native datatypes Boolean, Number, String, Byte, List, ... 阅读全帖
r**h
发帖数: 1288
5
Yelp这家第一轮HR Screen的时候,HR会问你一些CS方面的基础问题
个人根据自己被问到的经历和玻璃门上的面经总结了一下(实际上没有这么多题不过基
本上都在里面),希望对申请他家的各位有所帮助
1. size of unsigned integer
2. http port no.?
3. ssl full form? (Secure Socket Layer, Encrypt in Transportation layer)
4. use of grep and kill
5. the runtime of adding something to a linked list? O(N)
6. SSL和TLS(Transport Layer Security)的区别:TLS是SSL的升级版(TLS3.0 =
SSL1.0)TLS先handshake再secure
7. hashmaps, DNS(Domain Name System),
8. python native datatypes Boolean, Number, String, Byte, List, ... 阅读全帖
w*****d
发帖数: 105
6
来自主题: JobHunting版 - 发几个C++面试题,senior的职位
1,what is abi and api, give some example
api: usually means interfaces of a library or class.
abi: this is means the binary conversion rules for different compilers or
platforms, such as arguments order in stack for a function call.
2, what happens when exception is thrown?
in C++, the following operations are carried out:
1)unwind the current stack, call any dtor for local vars if necessary, until
there is a catch block that can handle the exception obj;
2)if there is no such catch block in the... 阅读全帖
j****l
发帖数: 85
7
来自主题: JobHunting版 - Yelp电面小问题汇总
之前好像有人整理过了,但是找不到了,我综合了几个地方的整理了一下,贡献给大家
啦。感谢原作者。
Why Yelp?
Why would we hire you?
Ideal job at Yelp?
NETWORK
What is DNS?
protocol used to transfer message in HTTP application? TCP reliable
What is SSL?
Port number for HTTP? 80
What does HTML stand for?
What is the protocol used underneath FTP?
Difference between POST and GET?
UNIX
UNIX command to search for a specific text through files in a directory.
Find number of unique lines in a file.
signal for kill command? 9, SIGKILL
What is the comma... 阅读全帖
g******d
发帖数: 152
8
来自主题: JobHunting版 - 请教个电面题
我可能会说
看server 的 top ps vmstat 有没有内存用尽cpu用尽
看log
看数据库是不是锁死
p********g
发帖数: 84
9
来自主题: SanFrancisco版 - 我说两句
这个架打得没道理
2b调侃惯了,随口说几句,引用典故,自以为有趣。但是言词过于粗俗。
我也理解vmstat, 那别人名字开这种玩笑,本就不对,而且也许正好是他支持的明星。
但是上升到群体攻击把大家说成没道德的一众男女,也是言语过于偏激。
我看这样,大礼拜六早上的,大家都喝碗我做的银耳绿豆汤,消消火。大好周末等着咱
们去过呢,何必为了这个小事儿坏了心情?
这个事儿先这么处理,我先把所有相关文章都山了,这个事儿就算完了。如果还有人出
言人身攻击或者挑起事端的话,封ID一个礼拜。
y***u
发帖数: 101
10
来自主题: CS版 - I/O cost
time
vmstat
v*****r
发帖数: 1119
11
你能 post 一段 “vmstat 2" 的命令结果吗 (在你认为程序表现不正常的时候)?
v*****r
发帖数: 1119
12
vmstat 的结果显示正如你所说的,不正常的时候 cpu usage 很高,正常情况 cpu 基
本 idle.
what about 你比较一下 你的老 32bit 机子 和 新 64bit 机子的 performance (比如
用 UnixBench tool), 可能两个机子 performance 就差很多。
还有 ATLAS installation guide 要求 CPU throttling to be turned off,不知道你
查了没有。
R******d
发帖数: 1436
13
top, mpstat, uptime, vmstat, iostat等等
谢谢
l***e
发帖数: 480
14
来自主题: Programming版 - 问一个基本问题
vmstat ?
check out swap in/out?
h**********c
发帖数: 4120
h**********c
发帖数: 4120
16
[et@localhost ~]$ vmstat -s
2915864 K total memory
1351968 K used memory
1433572 K active memory
652544 K inactive memory
516272 K free memory
1004 K buffer memory
1046620 K swap cache
3145724 K total swap
0 K used swap
3145724 K free swap
123731 non-nice user cpu ticks
88 nice user cpu ticks
19288 system cpu ticks
2600085 idle cpu ticks
1494 IO-wait cpu ticks
0 IRQ cpu tic... 阅读全帖
d******e
发帖数: 2265
17
来自主题: Unix版 - free list 是什么意思?
最近看到vmstat中Memory 中free项的解释是:
size of free list?
what does free list mean?
Tjx
q***e
发帖数: 21
18
来自主题: Unix版 - Memory check problem?
vmstat, ps, and svmon, check unix manual for how to use them
if a process exits normally, no core will be created. If it exits because of
memory dump, a core file will be created
m**u
发帖数: 632
19
来自主题: Unix版 - 怎么看多CPU的状态
Sloaris 9 有两个CPU,想看每个CPU上的load和进程,用什么命令呢
vmstat, mpstat,top都不大好啊
m**u
发帖数: 632
20
来自主题: Unix版 - [转载] 怎么看多CPU的状态
【 以下文字转载自 Unix 讨论区 】
【 原文由 mliu 所发表 】
Sloaris 9 有两个CPU,想看每个CPU上的load和进程,用什么命令呢
vmstat, mpstat,top都不大好啊
(共0页)