wmic–memorychip 可以查询内存
月度归档: 2018 年 4 月
ubuntu16.04同时使用 pyhton2.7和3.5,并随意切换
ubuntu16.04中默认已经安装了python2.7和python3.
开始,
跳到系统目录 并检测版本
cd /usr
cd /bin
/usr/bin$ ls |grep python
dh_python2 dh_python3 python python2 python2.7 python2.7-config python2-config python3 python3.5 python3.5m python3m python-config x86_64-linux-gnu-python2.7-config x86_64-linux-gnu-python-config
/usr/bin$ python
Python 2.7.12 (default, Nov 19 2016, 06:48:10)
$sudo update-alternatives –install /usr/bin/python python /usr/bin/python2 100
$ sudo update-alternatives –install /usr/bin/python python /usr/bin/python3 150
以后可以进行切换了
核心命令
sudo update-alternatives – -config python
水晶报表有用户数目限制
.net自带的水晶报表可以支持多个用户同时访问吗,有用户数量的限制吗?
不注册好像是有用户数目限制的,记得好像是5个
可以,不過你要先改注冊表消除並發限制,像這樣:
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Crystal Decisions\10.2\Report Application Server\Server]
“PrintJobLimit”=”1000”
[HKEY_LOCAL_MACHINE\SOFTWARE\Crystal Decisions\10.2\Report Application Server\InprocServer]
“PrintJobLimit”=”1000”
[HKEY_LOCAL_MACHINE\SOFTWARE\Business Objects\Suite 11.0\Report Application Server\Server]
“PrintJobLimit”=”1000”
[HKEY_LOCAL_MACHINE\SOFTWARE\Business Objects\Suite 11.0\Report Application Server\InprocServer]
“PrintJobLimit”=”1000”
[HKEY_LOCAL_MACHINE\SOFTWARE\Business Objects\Suite 11.5\Report Application Server\Server]
“PrintJobLimit”=”1000”
[HKEY_LOCAL_MACHINE\SOFTWARE\Business Objects\Suite 11.5\Report Application Server\InprocServer]
“PrintJobLimit”=”1000”