
Shell
文章平均质量分 66
ZhongNanJingYun_Blog
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
STM32CubeMx +STM32CubeIDE Test Dev Environment
IDE Download https://www.st.com/zh/development-tools/stm32cubeide.html#documentation Installation Be careful ,make sure the path not contain Chinese , other wise may indicate Error Launch Install So ,the English path is very important Create a Test Proje原创 2021-03-27 23:24:14 · 393 阅读 · 0 评论 -
Ubuntu cmake 编译环境搭建及编译方法 (lesson 02)
多个文件、目录、动态库编译测试不同目录下的工程编译文件目录执行编译 测试不同目录下的工程编译 文件目录 先看工程文件的结构Demo02 love@ubuntu:~/workspace/CMakeProject/Demo02$ tree . ├── CMakeLists.txt ├── main.c └── Math ├── CMakeLists.txt ├── MathFunction.c └── MathFunction.h 1 directory, 5 files 参考文件原创 2020-07-07 22:57:40 · 861 阅读 · 0 评论 -
Ubuntu cmake 编译环境搭建及编译方法 (lesson 01)
Linux cmake 使用方法下载cmake 并安装第一个程序 下载cmake 并安装 下面展示一些操作 内联代码片。 sudo apt-get update sudo apt-get install cmake love@ubuntu:~$ cmake Usage cmake [options] <path-to-source> cmake [options] <path-to-existing-build> Specify a source directory t原创 2020-07-06 23:02:53 · 3108 阅读 · 0 评论 -
Linux 进程获取并实现多个进程排队执行
在实际应用中,发现如果多用户多核编译,会造成内存和CPU占用过多,导致系统卡死或者编译失败。那么如何实现编译排队呢? 即,一个时间内只允许一个用户进程执行编译,检测到多余1个进程在编译时,当前用户的编译进程先等待,直到其它进程退出或者完成后再执行。 先来了解一下原理: 比如我们看bash进程,ps -u,并且,如果bash 进程超过5时,退出软件执行;小于5个时,等待检查;当只有1 个bas...原创 2019-06-15 11:04:28 · 2133 阅读 · 0 评论 -
shell脚本诊断网络状态,并设置开机自启动
在使用过程中会偶发Linux开发机器失联的情况,这时候需要重启机器,并且做到开机自诊断 具体实现如下,先完成脚本的编写,记得设置权限777,生成的日志也最好置为777 #!/bin/bash ### This script aim to diagnosit the Network status ### echo "Start to ping the Network status" ...原创 2019-06-10 17:08:47 · 877 阅读 · 0 评论