eval: 主要功能是解析cmdline,并且运行. [70 lines]builtin_cmd: 辨识和解析出bulidin命令: quit, fg, bg, and jobs. [25lines]do_bgfg: 实现bg和fg命令. [50 lines] waitfg: 实现等待前台程序运行结 ...
分类:
系统相关 时间:
2019-03-02 01:03:12
阅读次数:
259
在进行下列测试前,请确保磁盘已经 4K 对齐。 什么是4K对齐? 4k对齐是硬盘分区中的一个专业术语,4K对齐就是符合4K扇区定义格式化过的硬盘,并且按照4K扇区的规则写入数据。一般来说,在给固态硬盘进行分区的时候,一定要勾选上4K对齐,否则会影响到SSD固态硬盘的性能与寿命。 通俗的说,如果SSD ...
分类:
其他好文 时间:
2019-02-02 19:08:02
阅读次数:
217
上一篇简单介绍了Quartz.net的概念和基本用法,这一篇记录一下Quartz.net通过数据库持久化Trigger和Jobs等数据,并简单配置Quartz.net的集群。 1.JobStore介绍 学习持久化和集群前我们先了解一下Quartz.net中的JobStore,JobStore用于追踪 ...
分类:
数据库 时间:
2019-02-01 21:48:19
阅读次数:
191
故障描述: 在mysql 主库上增加了一个主键操作,没过5分钟就接受到zabbix报警mysql主从同步异常停止信息,一首凉凉送给自己。。。。 查看现在主从状态 处理步骤如下: 1、查看主库max_allowed_packet的大小 2、设置从库slave_pending_jobs_size_max ...
分类:
数据库 时间:
2019-01-25 17:40:01
阅读次数:
256
这段时间,开始学习Flink,并了解了Spark与Flink的区别,开始觉得Flink大有取代Spark的趋势啊,实时流始终目前是Spark的瓶颈呀,下面来一张对比图: 图片来源于:https://jobs.zalando.com/tech/blog/apache-showdown-flink-vs ...
分类:
其他好文 时间:
2019-01-24 20:11:12
阅读次数:
162
kill terminate a process 发送指定的信号到相应进程。不指定信号将发送SIGTERM(15)终止指定进程。若仍无法终止该程序可用“ KILL” 参数,其发送的信号为SIGKILL(9) ,将强制结束进程,使用ps命令或者jobs 命令可以查看进程号。 格式: 常用参数: l:打 ...
分类:
其他好文 时间:
2019-01-23 12:29:43
阅读次数:
309
import numpy as np import pandas as pd import matplotlib.pyplot as plt from sklearn.preprocessing import StandardScaler from sklearn.model_selection i... ...
分类:
编程语言 时间:
2019-01-18 12:25:48
阅读次数:
182
Q: Where is slurm.conf? A: in /etc/slurm-llnl/slurm.conf Q: Why can't I run 2 "srun" on the same node at the same time? A: We should use "--mem-per-cu ...
分类:
其他好文 时间:
2019-01-16 00:22:17
阅读次数:
170
1. nohup execute >/dev/null 2>&1 & 提交了一个后台jobs 2. 然后查看一下 哪个进程正在用 3. yum 安装lsof 4. 查看进程信息 5. 效果为: ...
分类:
系统相关 时间:
2019-01-15 10:42:20
阅读次数:
299
We have jobs: difficulty[i] is the difficulty of the ith job, and profit[i] is the profit of the ith job. Now we have some workers. worker[i] is the a ...
分类:
其他好文 时间:
2019-01-14 01:04:30
阅读次数:
261