更新于:2015年1月28日 17:08:131 ----- 查看系统用户表空间2 select username,default_tablespace from user_users;3 -----查看表空间的使用率4 select tablespace_name,sum(bytes)/1024/...
分类:
数据库 时间:
2015-01-28 17:33:21
阅读次数:
168
有时用valgrind定位内存泄露问题时当内存泄露的位置在动态库(so)中时, 输出的调用栈为问号"???"并且没有指明源码的行号.即使尝试了加 -g 的编译参数并且程序退出前不执行dlclose,也无济于事.
==29941== 17 bytes in 1 blocks are definitely lost in loss record 29 of 197
==29941== at...
分类:
其他好文 时间:
2015-01-28 14:43:58
阅读次数:
242
For ordering the bytes representing an object, there are two common conventions. Consider a w-bit integer having a bit representation [xw-1, xw-2, ... , x1, x0 ], where xw-1 is the most significant...
分类:
其他好文 时间:
2015-01-28 13:09:28
阅读次数:
169
大家在使用PhpExcel类时,当打开一个比较大的excel数据文档,会出现Fatalerror: Allowed memorysize of 67108864 bytes exhausted (tried to allocate 27 bytes) in example/admin/add_mysql.php on line 50这样的错误,即页面内存已经耗尽。现在我来说一下解决办法:
...
分类:
Web程序 时间:
2015-01-27 20:27:06
阅读次数:
133
1、查看表空间的名称及大小select t.tablespace_name, round(sum(bytes/(1024*1024)),0) ts_sizefrom dba_tablespaces t, dba_data_files dwhere t.tablespace_name = d.tabl...
分类:
数据库 时间:
2015-01-27 17:37:40
阅读次数:
256
将 Stream 转成 byte[]/// /// 将 Stream 转成 byte[] /// public byte[] StreamToBytes(Stream stream) { byte[] bytes = new byte[stream.Length]; stream...
分类:
其他好文 时间:
2015-01-25 19:35:35
阅读次数:
172
数组转化为图像Converting between an image and raw bytesimport cv2import numpyimport os# Make an array of 120,000 random bytes.randomByteArray = bytearray(os....
分类:
编程语言 时间:
2015-01-25 01:23:40
阅读次数:
196
#input the network name
if [ -n "$1" ]; then
eth_name=$1
else
eth_name="eth0"
fi
send_o=`ifconfig $eth_name | grep bytes | awk '{print $6}' | awk -F : '{print $2}'`
recv_o=`ifconfig $eth_n...
分类:
系统相关 时间:
2015-01-23 20:08:51
阅读次数:
257
常用DBA脚本1、查看表空间的名称及大小 select t.tablespace_name, round(sum(bytes/(1024*1024)),0) ts_size from dba_tablespaces t, dba_data_files d where t.tablespa...
分类:
数据库 时间:
2015-01-23 17:53:45
阅读次数:
285
1 http { 2 3 log_format main '$remote_addr - $remote_user [$time_local] "$request" ' 4 '$status $body_bytes_sent "$http_referer" ' 5 '"$http_user_ag.....
分类:
其他好文 时间:
2015-01-23 17:43:53
阅读次数:
169