您正在查看: TSI 分类下的文章
2019-07-24 |Nonni
查看pip源:
cat /root/.pip/pip.conf
pip --version
编辑一下pip配置文件:
vi /root/.pip/pip.conf
修改成豆瓣源或者阿里源:
[global]
index-url=https://pypi.douban.com/simple
[install]
trusted-host=pypi.douban.com
强制安装requests:
pip install --ignore-installed requests
Done~
2019-04-16 |Nonni
CPU频率:
psrinfo -v 或 mpstat
CPU内存:
prtdiag -v (大部分信息全部列出) 需要先进入/usr/platform/sun4u/sbin
硬盘:
iostat -E
网卡速度:
dmesg │grep link
2019-04-16 |Nonni
CPU占用率:
top
内存占用率:
free -m
硬盘占用率:
df
带宽占用率:
vmstat
物理cpu数:
grep 'physical id' /proc/cpuinfo | sort -u
核心数量:
grep 'core id' /proc/cpuinfo | sort -u | wc -l
线程数:
grep 'processor' /proc/cpuinfo | sort -u | wc -l
内存信息:
cat /proc/meminfo
CPU信息:
cat /proc/cpuinfo
硬盘信息:
df -h -T(no device的设备看不到)
fdisk -l 可以在redhat9.0中看; redhat企业版不行.
其他命令:
lspci -v
dmidecode
dmesg
2019-04-15 |Nonni
ESXi HP DL380G7
Windows Server 2016 Datacenter
CentOS 7
Debian 9.8
VMware VSphere 6.7
Citrix Xendesktop&XenApp 7.6
VMware Horizon 7
Veeam Backup & Replication9,Veeam One 9
Citrix Netscaler 11
2019-04-15 |Nonni
http://www.jetbrains.com/pycharm/download/
下载PyCharm for Linux
sudo -i
vi /usr/share/applications/Pycharm.desktop
[Desktop Entry]
Type=Application
Name=Pycharm
GenericName=Pycharm3
Comment=Pycharm3:The Python IDE
Exec=sh 实际路径/bin/pycharm.sh
Icon= 实际路径/bin/pycharm.png
Terminal=pycharm
Categories=Pycharm;