进程管理的几个有用命令
pwdx pid 用来显示进程的可执行文件所在的目录ptree [ pid ]显示进程树,用ptree $$可以看本进程的进程树ptime command比time更精确的时间来计算
ioctl和fcntl函数区别及作用
ioctl - control deviceioctl() performs a variety of control functions on devices and STREAMS. For non-STREAMS files, the functions performed by this call are device-specific cont...