峯言凬语 My life is brilliant~
本无意与众不同,怎奈何口味太重。
常用标签
您正在查看: IT 分类下的文章
July 19, 2019

*基于lean,https://github.com/coolsnowwolf/lede
*编译前富强
*不要用root来git编译
*默认IP 192.168.1.1, 密码 password
*Ubuntu 64bit
sudo apt-get update
sudo apt-get -y install build-essential asciidoc binutils bzip2 gawk gettext git libncurses5-dev libz-dev patch unzip zlib1g-dev lib32gcc1 libc6-dev-i386 subversion flex uglifyjs git-core gcc-multilib p7zip p7zip-full msmtp libssl-dev texinfo libglib2.0-dev xmlto qemu-utils upx libelf-dev autoconf automake libtool autopoint
git clone https://github.com/coolsnowwolf/lede
cd lede
./scripts/feeds update -a
./scripts/feeds install -a
make menuconfig
*选好路由,输入
make -j1 V=s
*(-j1 后面是线程数,编译推荐单线程,全局富强)

CPU频率:

psrinfo -v  或  mpstat

CPU内存:

prtdiag -v (大部分信息全部列出) 需要先进入/usr/platform/sun4u/sbin

硬盘:

iostat -E

网卡速度:

dmesg │grep link

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

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

April 15, 2019

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;