- 博客(13)
- 资源 (1)
- 收藏
- 关注
原创 怎么识别RAID 930-8i/930-16i是否支持legacy配置页面
1,首先科普legacy配置页面,使用ctrl + ?(可能是H、C、L都可能,根据提示进入)2.在POST界面始终没有看到提示“按Ctrl + ?进入配置界面”3.这个时候就需要进入到OS使用命令来判断了。4.#./storcli64 /c0 show termlog |grep -i disablectrlr5.如果返回disableCtrlR=1,就是没办法在legacy模...
2019-08-19 17:37:53
2806
转载 Linux 下查看RAID重建进程
我使用兩顆500g 硬碟作raid 1 ,作業系統centos 5.5md0: /dev/sda1,/dev/sdb1,掛於/bootmd1:/dev/sda2,/dev/sdb2,給swapmd2:/dev/sda3,dev/sdb3,掛給/下cat /proc/mdstatcat /proc/mdstatPersonalities : [raid1]md0 : active ...
2019-07-26 13:29:53
2354
翻译 安装完Cent OS 7.3 重启后出现“4m[terminated]”
This is a sigterm kill initiated by a CentOS 7 reboot command after a fresh install. It is obviously a issue that needs to be patched as the image is supposed to reboot not halt. Probably has somethin...
2019-07-01 18:07:10
19091
原创 centOS7.3安装显示“an unknown error has occurred”
原因有如下几点:1,可能是安装系统时HDD分区,linux不能格式化,建议将HDD清盘,如果有RAID重新组RAID,即可安装。2,有可能是legacy模式。多张PCIe卡不能提供足够的legacy OPROM空间导致的,切换到UEFI既可以完成安装。...
2019-03-18 16:41:01
27381
2
转载 Mysql初始化后,登陆密码查询
转载地址:https://www.cnblogs.com/reid21/p/9314376.html从日志中获取随机生成的密码[root@node1 db]# grep password /var/log/mysqld.log2018-07-15T09:01:09.735836Z 1 [Note] A temporary password is generated for root@l...
2019-01-08 15:28:55
800
1
原创 python预期结果中多出现一个None
因为python中print函数需要返回值,如果你在print函数中所放的函数没有返回值,那么print将会return None
2019-01-08 08:10:35
2558
原创 python3_显示\u202a错误
如下图错误:是因为有隐藏字符,使用pycharm看不到,使用vs可以看到,也可以手动重新输入,就不会提示这个错误了。
2019-01-07 12:28:53
861
原创 awk引用外部变量进行匹配操作
源文件如下:# cat data.txt6426 3 4% S 53 701632K 30232K bg u0_a52 com.XXXX.stb.agent** MEMINFO in pid 6426 [com.XXXX.stb.agent] ** 4 56 42 86/606/5 /data/dat...
2018-11-30 15:38:19
2460
原创 top命令和dumpsys命令出的cpu使用率不相同问题
top出来的CPU计算时间(这个进程的总cpu使用时间快照2-这个进程的总cpu使用时间快照1)/(总的cpu时间快照2-总的cpu时间快照1)dumpsysinfo的CPU计算时间(这个进程的总cpu使用时间快照2-这个进程的总cpu使用时间快照1)/{(从开机启动到当前时间2)-(从开机启动到当前时间1)}如果需要即时的CPU信息,个人认为TOP更准。 参考TOP...
2018-11-27 17:08:49
2478
原创 adb shell乱码问题(ls、grep)
可能会出现下面的样子进入shell模式输入下列命令alias ls='busybox ls --color=never'alias grep='busybox grep'
2018-11-26 13:52:05
801
原创 脚本中. /etc/rc.d/init.d/functions: No such file or directory 错误解决
rpm -qf /etc/init.d/functions查找到 [xx@ ~]$ rpm -qf /etc/init.d/functionsinitscripts-9.03.40-2.el6.centos.4.x86_64 [xx@ ~]$ rpm -qf /sbin/serviceinitscripts-9.03.40-2.el6.centos.4.x86_64 ...
2018-11-26 12:23:35
10465
翻译 linux命令与编程笔记
本文章内容来自与“的Linux的命令行与外壳脚本编程大全。第3版”目录Linux命令. 1进程相关. 5Ps命令. 5TOP命令. 6Kill命令. 6Type(查看命令的命令,which). 7History历史命令. 7监测磁盘. 7Mount挂载. 7Umount卸载. 8Df命令. 8Du命令. 8文件内容处理命令. 8Sort排...
2018-11-14 14:40:50
1660
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人