搜索资源列表
12
- 实现一个简单的shell,实现步骤:(1)在虚拟的shell界面上出现命令提示符($或#); (2)获取用户指令:获取用户在命令提示符后面输入的命令及其参数,并注意命令输入的最大长度; (3)解析指令:对用户输入的命令进行解析,解析出命令名和参数; (4)寻找命令文件:每个命令的执行都必须依靠对应的可执行文件,这些文件的存放路径存放在用户的PATH环境变量里; (5)执行命令:可通过fork( )系统调用创建一个进程来完成执行命令的任务,具体的命令执行用execv( )函
linux
- linux下的管道通信,用c语言编写完成,可实现父进程向子进程读入或读出字符-Under the Linux pipeline communication ( C language)
processtree
- linux在内核模式下实现processtree功能,遍历系统当前所有进程的任务描述符,并按进程父子关系将这些描述符所对应的进程id(PID)组织成树形结构显示;-Linux in kernel mode achieve processtree functions, traverse the system of all current process task descr iptors, according to the process of parent-child relationship
x_ray_8.0
- linux下实现查看进程的变量,调用函数,修改内存-linux to vxworks
linux
- 在linux实现模拟进程调度的模拟算法,在myeclipse下课运行-Analog simulation of the process scheduling algorithm class in myeclipse run in linux
findfd
- 目前linux的系统调用中没有可以有效获得当前进程打开的所有文件标识符的函数。所以我实现了nextfd,findfd系统调用,使用bitmap高效率实现。-Linux system calls can access the function of all open files in the current process identifier. So I achieve a nextfd of findfd system calls, the use of bitmap high efficie
addservice
- binder机制,实现andriod中2个进程之间的通信。-binder ipc
linux
- 实现操作系统实验进程的控制——Linux系统下-Experimental process control of the operating system- Linux
LINUX
- Linux下的资源管理器,主要实现对系统资源图形化显示,显示CPU信息、显示硬盘信息、显示进程信息、显示内存信息、显示网络信息等功能。-Explorer under Linux, the main graphical display of system resources to display CPU information, display hard disk information, process information display, the display memory inform
mmap_test
- 通过mmap的匿名管道实现父子进程通信,实现内存数据传送-The anonymous pipe through mmap parent and child processes to achieve communications, memory data transfer
testdeamon
- linux守护进程实现,centos6.2上编译通过-linux daemon
deamon
- linux 守护进程,centos6.2上编译通过,该进程实现将daemon和应用进程分离-linux deamon
c-advanced-code16
- 本文件通过的是简单的代码编写,实现了进程间通信和网络间通信等等的相关技术代码-The code is simple through the preparation of this document, the realization of inter-process communication and network technology code-related communications, etc.
HelloJni.tar
- 1、每个被加载的模块,无论是可执行程序还是共享库,均有自己独立的PLT和GOT表。所以拦截这个模块的对外调用的GOT,不影响其他模块。 2、本文只实现了拦截模块的调出到其他模块的动作,其他模块的调入没有涉及到(可能还涉及到比较复杂的重定位操作)。 3、system_server是system用户,不是有权限写所有名字的Property,这里用了persist.sys.开头的属性名,而persist.sys.开头的属性会保存至磁盘,因此性能会差点儿。 4、ioctl虽然实质声明是
linux
- 进程控制:在linux下实现“mytime”命令通过命令行参数接受要运行的程序,创建一个独立的进程来运行该程序,并记录程序运行的时间-Process Control: Implementation in linux " mytime" command from the command line arguments to accept the program to run, create a separate process to run the program, and the
jinchegndeguandaotongxin
- 编写程序实现进程的管道通信。具体要求:首先使用系统调用pipe( )建立一个管道;然后分别创建2个子进程,要求2个子进程分别向管道各写一句话:“Child 1 is sending a message!” 和 “Child 2 is sending a message!” 最后,父进程从管道中读出二个来自子进程的信息并显示。-编写程序实现进程的管道通信。具体要求:首先使用系统调用pipe( )建立一个管道;然后分别创建2个子进程,要求2个子进程分别向管道各写一句话:“Child 1 is sen
VMA
- 虚拟内存管理实验。 在Linux环境下编写一个内核模块,分别实现如下几个函数: static void mtest_dump_vma_list(void):依次列出当前进程所占用的虚拟内存空间各段的读、写或执行权限。 static void mtest_find_vma(unsigned long addr):查找出虚拟地址addr所在的vma,并通过printk打印该段的起始地址、终止地址和段标志等信息。 static void
UNIX-process-communication
- 进程通信的实现 分为三个基本文件,进程间信号传递、共享内存、消息机制、PV操作-Realization process communication is divided into three basic signal transmission between files, processes, shared memory, message mechanism, PV operation
pipePsemaphore
- 利用管道实现父进程子进程之间的通信 三个进程分别实现单词串的输入、小写转换为大写、将其拆分为一个个单词输出-The use of the pipeline to communicate three parent process child process were achieved between the input word train, lowercase to uppercase, which was split into a word output