摘要: 0 发信号给当前进程组 -1 pid>2的进程全部被发送信号 执行kill -s TERM -1 后,终端进程被终结,只剩下88个进程 -n 指定进程组 可以通过gnome-system-monitor查看,操作进程 阅读全文
posted @ 2020-06-21 16:21 ascertain 阅读(181) 评论(0) 推荐(0) 编辑
摘要: chrt: manipulate the real-time attributes of a process Synopsis: chrt [options] priority command [arg] chrt [options] -p [prio] pid Usage: chrt --pid 阅读全文
posted @ 2020-06-19 15:37 ascertain 阅读(513) 评论(0) 推荐(0) 编辑
摘要: nmcli [OPTIONS...] {help | general | networking | radio | connection | device | agent | monitor} [COMMAND] [ARGUMENTS...] 一:nmcli help 类似于ip,分成很多objec 阅读全文
posted @ 2020-06-18 23:31 ascertain 阅读(378) 评论(0) 推荐(0) 编辑
摘要: # ATTRIBUTES TYPE=Ethernet | Bridge UUID=a4ac1ac1-1c91-3c5a-a00d-2a257f7c2761 HWADDR=00:0c:29:fd:80:90 NAME=ens33 DEVICE=ens33 BOOTPROTO=static | dhcp 阅读全文
posted @ 2020-06-18 22:38 ascertain 阅读(226) 评论(0) 推荐(0) 编辑
摘要: #!/bin/bash. /etc/init.d/functions #定义主机清单export MASTER_IP=192.168.31.160export NODE_IP=(192.168.31.161 192.168.31.163 192.168.31.164 )export SUBNET=1 阅读全文
posted @ 2020-06-18 16:08 ascertain 阅读(516) 评论(0) 推荐(0) 编辑
摘要: vasp需要parallel_studio_xe_2018_update4_cluster_edition.tgz的intel mpi支持,openMPI需要更改makefile参数,麻烦/etc/profile.d/intel.sh --> source /etc/profile.d/intel. 阅读全文
posted @ 2020-06-18 16:02 ascertain 阅读(1147) 评论(0) 推荐(0) 编辑
摘要: 安装R的时候./configure时报configure: error: libcurl >= 7.22.0 library and headers are required with support for https 升级了libcurl和libcurl-devel还是报错,由升级openssl 阅读全文
posted @ 2020-06-17 20:52 ascertain 阅读(529) 评论(0) 推荐(0) 编辑
摘要: linux现在使用sysfs取代过去devfs,/sys目录用于存放动态设备节点,udev透过/sys目录生成/dev目录 biosdevname规则: Embedded network interfaceem[1...] PCI card network interfacep[slot]p[eth 阅读全文
posted @ 2020-06-17 13:29 ascertain 阅读(2022) 评论(0) 推荐(0) 编辑
摘要: -y Fix filesystem corruption automatically,not all filesystem support this option -V Verbose output -C Display completion/progress bars -a Automatical 阅读全文
posted @ 2020-06-17 11:29 ascertain 阅读(110) 评论(0) 推荐(0) 编辑
摘要: getty启动终端的服务,只适用于tty终端 打开了两个终端,显示启动了两个getty服务,当然getty@tty1.service肯定是启动的,getty@tty2.service是打开的第二个tty终端 阅读全文
posted @ 2020-06-17 10:39 ascertain 阅读(805) 评论(0) 推荐(0) 编辑
摘要: 一: #PBS -N name #PBS -o out #PBS -e err #PBS -l nodes=2:ppn=4 #PBS -r y cd $PBS_O_WORKDIR mpirun -np 8 vasp_std > vasp-out 二: #PBS -N jobs_name #PBS - 阅读全文
posted @ 2020-06-16 19:54 ascertain 阅读(2200) 评论(0) 推荐(0) 编辑
摘要: ipv6.disable=1 禁用ipv6 sysctl --write net.ipv6.conf.all.disable_ipv6=1sysctl --write net.ipv6.conf.eth0.disable_ipv6=1 sysctl net.ipv4.ip_local_port_ra 阅读全文
posted @ 2020-06-16 18:41 ascertain 阅读(590) 评论(0) 推荐(0) 编辑
摘要: 安装编译器yum install gcc gcc-c++ 安装连接器yum install mesa-libGL-devel mesa-libGLU-devel freeglut-devel wget http://download.qt.io/official_releases/qt/5.9/5. 阅读全文
posted @ 2020-06-15 18:54 ascertain 阅读(1801) 评论(0) 推荐(0) 编辑
摘要: 单内核设计: 把所有功能做成一个程序,每个功能在程序中使用线程实现(内核线程) 微内核设计: 每个功能使用独立子系统实现,联合完成 lsmod:内容来自/proc/modules modinfo:show information about linux kernel module modprobe: 阅读全文
posted @ 2020-06-14 18:05 ascertain 阅读(536) 评论(0) 推荐(0) 编辑
摘要: 1、拷贝initramfs文件 cp /boot/initramfs-3.10.0-514.26.2.el7.x86_64.img /opt/ 2、开始解压 cd /opt mkdir initramfs cd initramfs /usr/lib/dracut/skipcpio ../initra 阅读全文
posted @ 2020-06-14 17:40 ascertain 阅读(712) 评论(0) 推荐(0) 编辑
摘要: BROADCAST 接口支持广播 MULTICAST 接口支持多播 UP 接口以启用 LOWER_UP 网络电缆已插入,设备已物理连接至网络 mtu 1500 最大传输单元 qdisc pfifo_fast queueing discipline,队列策略,pfifo_fast是一种尽量快速传输的策 阅读全文
posted @ 2020-06-13 19:13 ascertain 阅读(435) 评论(0) 推荐(0) 编辑
摘要: -p preserver permissions保持权限,只需在打包时使用 -P absolute-names don't strip leading '/'s from file names 需在打包和解包时都使用此选项,并且打包时需以绝对路径打包 当然肯定要不同机器才能测试出此选项的效果 阅读全文
posted @ 2020-06-12 20:50 ascertain 阅读(116) 评论(0) 推荐(0) 编辑
摘要: wget -P /path/to/dir --no-check-certificate https://www.openssl.org/source/openssl-1.1.1a.tar.gz -P --directory-prefix=PREFIX以server端文件名保存文件于指定目录下 wge 阅读全文
posted @ 2020-06-12 19:52 ascertain 阅读(181) 评论(0) 推荐(0) 编辑
摘要: pip documentation v22.0.3 (pypa.io) configuration: https://pip.pypa.io/en/stable/topics/configuration/ pip: package installer for Python file name con 阅读全文
posted @ 2020-06-12 18:41 ascertain 阅读(1439) 评论(0) 推荐(0) 编辑
摘要: %systemroot% == %windir% # C:\Windows %appdata% # C:\Users\%username%\AppData|Roaming %username% # 当前用户名 %homepath% # \Users\%username% %userprofile% 阅读全文
posted @ 2020-06-12 16:43 ascertain 阅读(229) 评论(0) 推荐(0) 编辑