码迷,mamicode.com
首页 >  
搜索关键字:disk space checking    ( 21310个结果
LeetCode: Linked List Cycle [141]
【题目】Given a linked list, determine if it has a cycle in it.Follow up:Can you solve it without using extra space?【题意】 推断一个单向链表是否有环【思路】 维护两个指针p1和p2,p1.....
分类:其他好文   时间:2014-09-28 21:16:55    阅读次数:195
CentOS项目实例之四--Apache配置
1.ZZSRV1上的WWW配置1.1.磁盘配置1.1.1.添加磁盘添加80GB的磁盘。#fdisk-l Disk/dev/sda:21.5GB,21474836480bytes,41943040sectors Units=sectorsof1*512=512bytes Sectorsize(logical/physical):512bytes/512bytes I/Osize(minimum/optimal):512bytes/512bytes Disklabeltype:..
分类:其他好文   时间:2014-09-28 19:10:36    阅读次数:332
CentOS项目实例之五--LVM配置
1.ZZSRV2上的LVM配置1.1.磁盘配置#fdisk-l Disk/dev/sda:21.5GB,21474836480bytes,41943040sectors Units=sectorsof1*512=512bytes Sectorsize(logical/physical):512bytes/512bytes I/Osize(minimum/optimal):512bytes/512bytes Disklabeltype:dos Diskidentifier:0x00012974 ..
分类:其他好文   时间:2014-09-28 18:20:06    阅读次数:290
ORA-27090 故障一例
最近的alert日志中碰到了ORA-27090的错误信息,其错误提示为Unable to reserve kernel resources for asynchronous disk I/O。根据这个提示来看是跟异步I/O相关的内核参数问题。下面是这个问题的描述与解决。1、故障错误信息Wed Sep 10 09:58:17 CST 2014Errors in file /u01/app/oracl...
分类:其他好文   时间:2014-09-28 16:41:34    阅读次数:178
leetcode - Swap Nodes in Pairs
Given a linked list, swap every two adjacent nodes and return its head. For example, Given 1->2->3->4, you should return the list as 2->1->4->3. Your algorithm should use only constant space. Y...
分类:其他好文   时间:2014-09-28 14:33:56    阅读次数:178
Nagios利用NSClient++监控Windows主机
一、简介NSClient++官网:http://www.nsclient.org/1、利用NSClient++监控的资源CPU负载内存占有率Disk利用率服务状态运行的进程等2、NSClient++监控的工作原理只需要在被监控机上安装NSClient++,则不需要安装更多额外的插件。当监控主机将监控请求发给NSClient++后,NSClient..
分类:移动开发   时间:2014-09-28 11:11:52    阅读次数:474
css表格单元格中的长文本的显示问题
自动换行问题,正常字符的换行是比较合理的,而连续的数字和英文字符常常将容器撑大,挺让人头疼,下面介绍的是CSS如何实现换行的方法对于div,p等块级元素正常文字的换行(亚洲文字和非亚洲文字)元素拥有默认的white-space:normal,当定义的宽度之后自动换行html正常文字的换行(亚洲文字和...
分类:Web程序   时间:2014-09-28 10:48:31    阅读次数:170
Sort List
题目描述:Sort a linked list inO(nlogn) time using constant space complexity.解题方案:题目要求的时间复杂度是O(nlogn),常数级空间复杂度。所以这里用了归并排序,归并排序在数组上操作比较方便,但是这里要排序的是链表。我们用到两个...
分类:其他好文   时间:2014-09-27 18:56:10    阅读次数:231
嵌入式linux下自动定时检测硬盘空间并删除旧文件脚本
[plain] view plaincopyprint? #! /bin/sh  while true; do  i=`df -h | egrep '/mnt/yourpath'| awk '{print $5}' | cut -d "%" -f1 -`  if [ "$i" -ge 90 ]  then  echo "disk nearly full"  cd /mnt/your...
分类:系统相关   时间:2014-09-27 09:35:19    阅读次数:240
SQL Server 查看数据库空间分配情况的 2 种方法
方法 1、 sys.dm_db_file_space_usage。方法 2、 sys.dm_db_session_space_usage。---------------------------------------------------------------------------------...
分类:数据库   时间:2014-09-27 00:22:49    阅读次数:323
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!