69
70
In review
Synced today
What it does
1 远程重启计算机 ``` echo b > /proc/sysrq-trigger ``` 2 查看内存使用情况 ``` free -m //以MB为单位查看内存使用情况 ``` 3 修改计算机的可用内存 对于Redhat系(包括Fedora) 修改/etc/grub.conf,在kernel一行最后添加mem=1G就能够将可用内存修改为1GB ``` title Red Hat Enterprise Linux Server (2.6.27) root (hd0,1) kernel /vmlinuz-2.6.27 ro root=/dev/VolGroup00/LogVol00 rhgb quiet acpi=ht mem=1G initrd /initrd-2.6.27.img ``` 4 查看系统的IO统计信息 ``` iostat -k 3 //以KB打印结果,3秒显示一次 ``` 5 将一个进程放入后台,并使它不受前台的影响,特别是用于远程连接时 ``` ./test //运行程序 ^Z //ctrl+z使程序暂停 bg %(jobid) //将程序放入后台运行 disow
Skill profile
Keep exploring
More options in Dev Tools.
Claude Code · Codex · OpenClaw
C++
Updated 9/25/2018
Agent compatibility
Compatibility has not been reviewed for this listing yet. Check the publisher documentation before installing.
Installation
npx skills add https://github.com/luofengmacheng/algorithms --skill rootReview source code and installation permissions before adding third-party tools to an agent.
algorithms root is organized in the Dev Tools category. Compare its source, install method, and compatibility before adding it to your workflow.
Third-party agent tools may access source code, credentials, or browser sessions. Read the source documentation and use the minimum permissions needed.
npx skills add https://github.com/luofengmacheng/algorithms --skill rootSKILL.md
1 远程重启计算机
```
echo b > /proc/sysrq-trigger
```
2 查看内存使用情况
```
free -m //以MB为单位查看内存使用情况
```
3 修改计算机的可用内存
对于Redhat系(包括Fedora)
修改/etc/grub.conf,在kernel一行最后添加mem=1G就能够将可用内存修改为1GB
```
title Red Hat Enterprise Linux Server (2.6.27)
root (hd0,1)
kernel /vmlinuz-2.6.27 ro root=/dev/VolGroup00/LogVol00 rhgb quiet acpi=ht mem=1G
initrd /initrd-2.6.27.img
```
4 查看系统的IO统计信息
```
iostat -k 3 //以KB打印结果,3秒显示一次
```
5 将一个进程放入后台,并使它不受前台的影响,特别是用于远程连接时
```
./test //运行程序
^Z //ctrl+z使程序暂停
bg %(jobid) //将程序放入后台运行
disown -h %(jobid)
```
skill
mattpocock
A tool that automates setting up Husky pre-commit hooks with lint-staged, Prettier formatting, type checking, and tests in a code repository.