码迷,mamicode.com
首页 >  
搜索关键字:syslog shutdown reboot    ( 4204个结果
Unix/Linux环境C编程入门教程(40) 初识文件操作
??1.函数介绍                            close(关闭文件) 相关函数 open,fcntl,shutdown,unlink,fclose 表头文件 #include 定义函数 int close(int fd); 函数说明 当使用完文件后若已不再需...
分类:系统相关   时间:2014-07-29 14:17:39    阅读次数:391
Linux命令学习总结:reboot命令
命令简介: 该命令用来重启Linux系统。相当于Windows系统中的restart命令。 命令语法: /sbin/reboot [-n] [-w] [-d] [-f] [-i] 或 reboot [-n] [-w] [-d] [-f] [-i] 命令参数: 参数 长参数 描叙 -d 重新启动时不把...
分类:系统相关   时间:2014-07-28 15:09:13    阅读次数:378
Log4cpp介绍及使用
Log4cpp是一个开源的C++类库,它提供了在C++程序中使用日志和跟踪调试的功能。使用log4cpp,能够非常便利地将日志或者跟踪调试信息写入字符流、内存字符串队列、文件、回滚文件、调试器、Windows日志、本地syslog和远程syslogserver中。1、Log4cpp简单介绍 L...
分类:其他好文   时间:2014-07-27 22:04:29    阅读次数:266
graph driver-device mapper-02driver基本操作
// 清除thin pool 1.1 func (d *Driver) Cleanup() error { // 停止thin pool err := d.DeviceSet.Shutdown() return err } // 当加载新镜像时,添加一个新thin device // id为containerid或imageid 1.2 func (d *Driver) Create(i...
分类:移动开发   时间:2014-07-26 02:59:46    阅读次数:302
linux审计
(1)history查看一下最近的操作(2)last看一下系统状态http://blog.csdn.net/chaofanwei/article/details/11826567crash 意味着你的系统halt或者reboot 的时候,系统在syslog给出的标记是crashhttp://os.5...
分类:系统相关   时间:2014-07-25 14:03:11    阅读次数:295
网络编程Socket之TCP之close/shutdown详解(续)
接着上一篇网络编程Socket之TCP之close/shutdown详解...
分类:其他好文   时间:2014-07-23 13:11:26    阅读次数:202
每天一个linux命令(2):关机命令shutdown
关机 (系统的关机、重启以及登出 )shutdown -h now 关闭系统(1)init 0 关闭系统(2)telinit 0 关闭系统(3)shutdown -h hours:minutes & 按预定时间关闭系统shutdown -c 取消按预定时间关闭系统shutdown -r now 重启...
分类:系统相关   时间:2014-07-23 12:30:06    阅读次数:242
C 关闭socket
C关闭socket有两种方法: 一、shutdown #include<sys/socket.h> int shutdown(int sockfd,int how); how的方式有三种分别是 SHUT_RD(0):关闭sockfd上的读功能,此选项将不允许sockfd进行读操作。 SHUT_W...
分类:其他好文   时间:2014-07-22 22:32:55    阅读次数:198
OSGI学习总结---Equinox各种命令
OSGJ:Equinox for Eclipse(Luna)?命令 launch?- start the OSGi Framework shutdown?- shutdown the OSGi Framework close?- shutdown and exit exit?- exit immediately (System.exit) init?- uninstall...
分类:其他好文   时间:2014-07-22 08:10:36    阅读次数:278
网络编程Socket之TCP之close/shutdown详解
close: 当套接字的引用计数为0的时候才会引发TCP的四分组连接终止序列;   shutdown: 不用管套接字的引用计数就激发TCP的正常连接终止序列; 这里由一个SO_LINGER套接字选项 struct linger {      int l_onoff; /* 0 = off, nozero = on */      int l_linger; ...
分类:其他好文   时间:2014-07-20 22:24:53    阅读次数:367
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!