1、系统口令文件通常为/etc/passwd。口令文件中的登录项由7个以冒号分隔的字段组成:登录名、加密口令、数字用户ID、数字组ID、注释字段、起始目录以及shell程序。
2、不能出现在文件名中的字符只有两个:/和空操作符(null)。
当创建一个新目录时,自动创建了两个文件名:.和..。.引用当前目录,..引用父目录。
A process can change its working directory with the chdir function.
3、ls(1)用以引用UNIX手册集中的一个特定项,它引用第一部分中的ls项。各部分通常用数字1~8表示,在每个部分中的各项则按字母顺序排列。
4、UNIX目录操作函数:opendir, readdir, closedir。
三个用于进程控制的主要函数:fork, exec, waitpid。
5、头文件<unistd.h>中包含了许多UNIX系统服务的函数原型,函数原型是ANSIC标准的组成部分。
6、当度量一个进程的执行时间时,UNIX系统使用三个进程时间值:
时钟时间又称为墙上时钟时间(wall clock time),是进程运行的时间总量,其值与系统中同时运行的进程数有关。
用户CPU时间是执行用户指令所用的时间量。
系统CPU时间是为该进程执行内核所经历的时间。
用户CPU时间 和 系统CPU时间的
和被称为CPU时间。
要取得任一进程的时钟时间、用户时间和系统时间很简单,只需执行命令time(1), 其参数是要度量其执行时间的命令。如:
[bonn@localhost unix_advance]$ time ps
PID TTY TIME CMD
3734 pts/2 00:00:00 bash
6743 pts/2 00:00:00 ps
real 0m0.023s
user 0m0.010s
sys 0m0.013s
7、BSD: the Berkeley Software Distribution
分享到:
相关推荐
Advanced Programming in the UNIX Environment.chm Advanced Programming in the UNIX Environment.chm Advanced Programming in the UNIX Environment.chm
Unix环境高级编程,APUE,第三版,英文版,带目录,经典
学习类unix系统开发的必备经典书籍,对unix环境及系统函数能有比较全面的了解
It’s been almost eight years since I first updated Advanced Programming in the UNIX Environment, and already so much has changed. • Before the second edition was published, The Open Group created a ...
Advanced Programming in the UNIX Environment(3rd Edition)高清带目录。
本书是被誉为UNIX编程“圣经”的Advanced Programming in the UNIX Environment一书的第三版。删去了过多无用的索引,保留下来的精简版,文档内部图片清晰,是学习Unix的必备书籍。
计算机经典书籍——UNIX环境高级编程 Advanced Programming in the UNIX_ Environment
本书是被誉为UNIX编程“圣经”的Advanced Programming in the UNIX Environment一书的更新版。在本书第1版出版后的十几年中,UNIX行业已经有了巨大的变化,特别是影响UNIX编程接口的有关标准变化很大。本书在保持了...
Advanced Programming In The Unix Environment
Advanced Programming in the UNIX Environment 3e-2013 Advanced Programming in the UNIX Environment 3e-2013
博文链接:https://lijinyan3000.iteye.com/blog/192209
Advanced Programming In The Unix Environment 2Nd Edition
Advanced Programming in the UNIX Environment Second Edition.chm
UNIX 环境高级编程,第二版,英文版,书签非常详细
Advanced Programming in the UNIX Environment 2nd 2005 pdf 英文版
Addison Wesley - Advanced Programming in the UNIX Environment - 2nd Edition