Garlic Space

linux-sides-Timers and time management-Introduction to the clocksource framework

这篇文章 Timers and time management in the Linux kernel. Part 2

2019-08-20 · 17 分钟

旧版本应用与win10兼容

大多数早期windows版本创建的应用可以在win10下正常运行,但也有部分程序无法正常运行, 可以尝试通过兼容性设置解决. 在使用一款windows客户端产品时,由于机器分辨率较高导致其中某一个可执行文件无法运行, 通过修改高DPI设置解决,下面是具体的解决方法: - 环境说明: - 操作环境: win10, 屏幕分…

2019-08-20 · 3 分钟

Linux进程创建

以fork函数为例,看下Linux进程创建具体工作流程:

2019-08-18 · 13 分钟

LeetCode – Clone Graph

Given a reference of a node in a connected Connected_graph undirected graph, return a deep copy

2019-08-09 · 2 分钟

linux-sides-Timers and time management-Introduction

这篇文章 Timers and time management in the Linux kernel. Part 1

2019-08-07 · 15 分钟

sysctl-查询修改Linux内核参数

sysctl命令可以_实时_(runtime)查看和修改linux 内核参数。这个命令可以在大多数发行版本找到, 另外内核参数,也可以通过procfs 文件系统,在 /proc/sys/kernel下 进行查看和修改。

2019-08-06 · 2 分钟

asm-offset.h生成过程

asm-offset.h 文件是在内核编译过程中生成的,生成过程 之前整理了一份笔记 TASK_threadsp的实现及asm-offsets.h, 其中涉及sed处理包含在内核代

2019-08-05 · 5 分钟

LeetCode – Evaluate Reverse Polish Notation

Evaluate the value of an arithmetic expression in Reverse Polish Notation. Valid operators are +, -, , /. Each operand may be an integer or another expression.…

2019-08-04 · 2 分钟

Linux如何管理和度量时间

Linux 内核的Timer必须要完成两种定时测量(timing measurement)

2019-08-03 · 5 分钟

kill多个同名进程

       本周在配合系统测试过程中,发现系统报文接收异常, 排查过程中发现应用进程启动异常。 当时状态模拟如下:    daemon status, daemon start 都属于异常进程。   过滤出异常进程, 通过xargs kill掉异常进程。  -  过滤异常进程的规则可以根据实际情况调整。 顺便把…

2019-07-26 · 2 分钟