开启 Profiling
功能,对慢查询进行优化:mongodb可以通过profile来监控数据,进行优化。查看当前是否开启profile功能用命令db.getProfilingLevel()
返回level等级,值为0|1|2,分别代表意思:0代表关闭,1代表记录慢命令,2代表全部db.setPr...
分类:
数据库 时间:
2014-05-24 01:26:42
阅读次数:
352
What is Build Profile?ABuild profileis a set of
configuration values which can be used to set or override default values of
Maven build. Using a build...
分类:
其他好文 时间:
2014-05-23 12:13:49
阅读次数:
426
login
shell:第一次登录进系统时的shell,一般是指本机启动时的控制台shell或者ssh远程登录时的shell。interactive
shell:登录以后,再打开控制台时运行的shell。none interactive shell:只是用来执行脚本的shell,执行完就结束进程了,...
分类:
其他好文 时间:
2014-05-23 08:52:18
阅读次数:
313
Ubuntu Linux系统环境变量配置文件:/etc/profile :
在登录时,操作系统定制用户环境时使用的第一个文件 ,此文件为系统的每个用户设置环境信息,当用户第一次登录时,该文件被执行。/etc /environment :
在登录时操作系统使用的第二个文件, 系统在读取你自己的prof...
分类:
系统相关 时间:
2014-05-23 06:24:10
阅读次数:
323
闲来无事登陆服务器发下登陆提示有报错报错提示:Lastlogin:FriMay2301:37:042014from101.71.249.170-bash:ulimit:openfiles:cannotmodifylimit:Operationnotpermitted看提示是没有权限的意思查看登陆需要加载的文件/etc/profile有发现ulimit-n65535ulimit-u10240服务器是禁止r..
分类:
其他好文 时间:
2014-05-22 18:01:59
阅读次数:
307
今天真机调试的时候莫名其妙遇到了这样的一个问题:This product type must be built using a provisioning profile, however no provisioning profile matching both the identity "iPhone Developer" and the bundle identifier.....具体如下图所...
分类:
移动开发 时间:
2014-05-22 11:17:43
阅读次数:
415
今天在登录系统的时候居然出现“unset:commandnotfound”这个东西,搞了好久,终于解决了。解决办法:检查/etc/profile和~/.bash_profile,原来在/etc/profile末尾多了一句“unsetMAILCHECK”,删除这句就行了
分类:
其他好文 时间:
2014-05-21 12:41:52
阅读次数:
265
1、在进入系统的时候经常提示Youhavenewmailin/var/spool/mail/rootecho“unsetMAILCHECK”>>/etc/profilesource/etc/profile关闭sendmail的功能:chmod0/usr/sbin/sendmailmv/usr/sbin/sendmail/usr/sbin/sendmail.bakln-s/var/qmail/bin/sendmail/usr/sbin/sendmail清..
分类:
其他好文 时间:
2014-05-21 12:39:10
阅读次数:
278
在.bash_profile中增加一行exportJAVA_TOOL_OPTIONS=-Dfile.encoding=UTF-8就可以了。
分类:
编程语言 时间:
2014-05-21 02:14:53
阅读次数:
243
source/etc/profile报错-bash:xport:commandnotfound这个错误,我百了很长时间没有找到答案,最后我自己解决了。原因是这样的。我在/etc/profile中添加过东西,vi/etc/profile我发现在最后几行,有一个export写成了xport.改过来之后就好了。
分类:
其他好文 时间:
2014-05-21 00:22:00
阅读次数:
452