我出的linux开发工程师的面试题
我们组要招一个Linux研发工程师,要我去做技术面试, 准备了一小时,列出了下面这些问题,大家觉得如何? 招的人税前年薪12W以上。题会不会基础了一点?
Network Theory
1. What is OSI 7 layer network model? How do you think about it?
2. When your computer send out a package, how this package been sent to destination in internet?
3. Many years ago, many people think IP address will be run out of soon, but now we continue use IPV4, what is the technology been selected to resolve this problem.
4. What is IGMP?
OS Theory
1. What’s process and what’s thread? compare it.
2. What’s the memory protected-mode and real-address mode? Why all PC OS use protected-mode, but many real-time OS use real-address mode?
3. Please describe OS how to schedule all task?
4. Please provide some IPC method that OS provide to application. Describe your philosophy to select a specific IPC.
5. What’s watch dog theory?
6. What is the COW technology in Linux?
Linux Base Programming
1. What’s a signal safe function? What’s a thread safe function? What’s the difference between signal safe function and thread safe function? Please provide some example?
2. When I type a command on shell as below, please describe shell’s potential action. Please describe in C language.
# ls
# ls &
# ls | sort
3. What’s Zombie process, what’s orphan process? What’s daemon
相关问答:
C/C++ code:
char Time="2009-9-23";
FILE *fpOut=fopen("1.txt","w+");
if(fpOut==NULL)
return ;
fwr ......
目标:当网络中有数据到达或者超时,程序进入下一次循环。
问题:select()函数不起作用,程序不会在select的地方阻塞一秒,并且当网络上有数据的时候,select的返回值仍然小于0
#include <s ......
在linux上使用tomcat服务器出现了很多close_wait
使用浏览器访问的时候出现页面一直在请求,很慢 ,基本上没有回应。
用netstat -anp 查看 有很多close_wait
这个是什么引起的阿 ,怎么解决?
......
Linux新手,请大哥大姐不要见笑。
我用root用户登录到Linux系统。在根目录下面建了目录dir1,后用命令cd /dir1进入到dir1目录下,然后再用mkdir dir2建立了目录dir2 ,再后来用命令cd /dir2是,提示为:-bush ......
#include "stdlib.h"
#include "stdio.h"
#include "errno.h"
#include "string.h"
#include "netdb.h"
#include "sys/types.h"
#i ......