Server benchmark
file max
lsof
lsof 可以查看文件被打开的情况,或者端口-i:port
被使用的情况
file descriptor limit for per process
系统设置打开文件的上限, 通过如下命 …
lsof 可以查看文件被打开的情况,或者端口-i:port
被使用的情况
系统设置打开文件的上限, 通过如下命 …
lspci
https://ubuntu.com/server/docs/nvidia-drivers-installation
Install the metapackage for your kernel flavour (e.g. generic, lowlatency, etc) which is specific to the driver branch (e.g. 535) that you want to install, and whether you want the compute …
$ # netstat -tnl
$ ss -tnlp # new command
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 0.0.0.0:8022 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN
tcp 0 0 …
CPPFLAGS=-DDEBUG CXXFLAGS="-g -O0"
生成可调式的可执行文件,-g
保存调试符号,-O0
不做编译器优化。
进入调试窗口
gdb a.out
如果 …
查找找不到的 so 文件
dpkg -S /path/to/file
或者
apt-file search so_name
查找已安装的软件
apt list --installed
-c: 建立压缩档案 -x:解压 -t:查看内容 -r:向压 …
You only need to know 4 terms:
Examples are LightDM, GDM, KDM, and LXDM. They normally have display manager somewhere in their names. These start the X server at boot and provide a login screen. They often …
Special permissions make up a fourth access level in addition to user, group, and other. Special permissions allow for additional privileges over the standard permission sets (as the name suggests). There is a special permission option for each access level discussed previously. Let's take a look …
The Core Subsystems of the Linux Kernel are as follows:
Linux内核版本号由3组数字组成:
第一个组数字:内核版本。 第二个组数字 …