亿贝(eBay) 上海招聘各种岗位 - 2020 年 02 月
内部推荐 联系(base64 encoding): eGlhdGlhbkBlYmF5LmNvbQ==
以下是最新(2020/02/18)的职位列表: 具体 JD 见 https://www.ajinga.com/company-detail-new/5790/

cgroup 学习笔记
诊断由于 ulimit 设置 core file 为 unlimited 而引起的应用事故
一般情况下, 我们会设置 core file size 的 limit 为0, 通常出于性能(产生 core dump 消耗 CPU), 磁盘空间(core 文件通常特别大), 敏感数据( core dump 包含应用进程运行时很多数据)的原因, 把 core file size 设置为0, 也就是不允许产生 core dump. 有时候为了诊断某些特定的问题, 专门打开这个设置. 对于 Java 应用程序, 如果不涉及 native 代码, 通常 heap dump 就足够了, 所以不需要产生 core dump.
linux 常见命令
文本处理类
- less
- more
- cat
- head
- tail
- awk
- cut
- grep, egrep, fgrep #print lines that match patterns, egrep & fgrep deprecated
-- grep -v abc /var/log #打印不匹配的行
-- grep -c abc -r /var/log #显示每个文件有多少匹配的数量
-- grep -n abc /var/log #前面打印行号
-- grep -n -C 3 abc /var/log #context 信息前后各3行, 或者 -B (Before), -A (After)
-- grep -r abc /var/log #recursive - sort
- uniq
- wc