ulimit 更改 gcc升级 查看显卡状态命令

一.更改ulimit:c++

vim /etc/security/limits.conf vim

在文件最下方添加如下内容centos

* soft nofile 65536
* hard nofile 65536bash

二. gcc升级:ui

查看可用gcc镜像:3d

yum install centos-release-scl scl-utils-buildblog

选GCC安装包it

yum install devtoolset-6-gcc.x86_64 devtoolset-6-gcc-c++.x86_64 devtoolset-6-gcc-gdb-plugin.x86_64gcc

定义使用新版本的GCCfile

scl enable devtoolset-6 bash

三. 查看LINUX下显卡状态

 

相关文章
相关标签/搜索