pidstat 是 sysstat 工具包含的一个命令,主要用于监控 Linux Kernel 管理的进程资源占用情况,包括 CPU,IO,内存,线程等等。
The pidstat command is used for monitoring individual tasks currently being managed by the Linux kernel.
pidstat 首次运行会显示系统自开机起各项统计,之后运行将显示从上一次运行到该次运行的统计信息。
installation
apt-get install sysstat
Read more ...
pidof finds the process id’s(pids) of the names programs.
Usage
pidof [name]
Example
find chrome pid
pidof chrome
pidof -s chrome
Options:
-s instructs the program to only return one pid.
Extension
pgrep
Read more ...
This post will only list cross-platform softwares I used now. Each software has its own behaviors, and binded with its own shortcut. It takes time to be familiar with it. So I decided to use only cross-platform softwares in daily life in case I have to swith my main System. But i
Read more ...
QNAP CLUB 中淘到很多不错的应用,rtorrent-Pro 就是一款,现在作者升级了 rtorrent-pro 付费 15 欧元。这又是一款 BT 下载工具,界面非常美观。
rtorrent development for QNAP was started in 2008. Today after 10yrs from its 1st build, we provide you best Torrent app ever.
rtorrent is an high performance and extra featured bittorr
Read more ...
很早就开始用 Cinnamon 作为 Linux 的主要桌面环境,还折腾过 Cinnamon 的主题,但是其实一直没怎么关注 Alt + F2 的功能,唯一知道的命令就是 r 用来重启 Cinnamon。所以这里就总结总结 Alt+F2 可以用的命令。
内置命令
-‘r’ - restart Cinnamon
‘rt’ - reload the current Cinnamon theme
‘lg’ - start the Looking Glass debugger (which itself seems not to be docume
Read more ...
关于 Drools 更多的介绍 可以参考之前的文章。
这篇文章主要讲解如何在项目中执行 DRL 文件并取得结果。
ERROR
如果遇到这样的错误,大部分情况下是 drl 规则文件所在的文件夹,没有被项目识别为 resources 文件夹,在 IntelliJ IDE 中可以使用设置为资源文件夹来解决。
Exception in thread "main" java.lang.RuntimeException: Unable to get LastModified for ClasspathResource
at org.drools.cor
Read more ...
Once I wrote a post about ack-grep, and Franklin Yu left a comment about the silver searcher. He said this tool is much faster than the ack-grep. So this post is about The Silver Searcher. As always, I will introduce what is the Silver Searcher, how to install and use it.
Follow
Read more ...
eu 顶级域名的限制和问题排查
前两天有客户在我的 EV Hosting 购买了一个 .eu 的域名,但是在管理 .eu 域名的过程中。我发现 .eu 的域名在管理上有很多特殊的限制和限制。
搭建 Claude Code 中转服务
Claude Relay Service 是一个开源服务的 Claude Code 镜像服务,主要用于“中转”(relay)和管理多个 Claude Code 账号,使开发团队或个人可以最大化每个账号的使用配额,通过统一入口自动进行负载均衡和账号切换,从而有效规避单一账号因速率限制或额度问题导致的服务中断。
利用 Dev3000 优化 Claude Code 代码调试流程
不知道大家在使用 Claude Code 辅助编写代码的过程中,有没有遇到过这样的烦恼,当 Claude Code 生成的代码不完美,发生错误时,我们需要将错误日志文件,这也前端页面截图再反馈给 Claude Code,让其修正错误,或者修复画面的错误。那有没有方法可以让 Claude Code 自己发现错误,并修正呢?那今天要介绍的这一个开源的工具 Dev3000 就是一个辅助 AI 开发的调试工具。
AI 浏览器 Comet 初体验
前两天刚介绍完 Dia 浏览器,就听说了 Dia 浏览器的母公司 The Browser Company 被 Atlanssian 以 6.1 亿美元现金收购,而另外一边,Google 的反垄断案也告一段落,不需要拆分 Chrome 和 Android,这边,Perplexity 就推出了以 Perplexity AI 为核心的网页浏览器 Comet。