@luofengmacheng/algorithms
C1 远程重启计算机
Install
agr install @luofengmacheng/algorithms --target claudeWrites 6 files into .claude/skills/, pinned to git-88b11df2.
- .claude/skills/algorithms/.gitignore
- .claude/skills/algorithms/README.md
- .claude/skills/algorithms/config git
- .claude/skills/algorithms/simple_markdown.md
- .claude/skills/algorithms/skill.md
- .claude/skills/algorithms/sys_install.md
Document
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)
Repository README
Describes luofengmacheng/algorithms as a whole, which may contain artifacts other than this one. Where this artifact had no useful description of its own, its summary was taken from here.
Trustgrade C
- passBody integrity
Whether the stored document is plausibly the kind of file the artifact declares, rather than something fetched by mistake.
- passType matchnot applicable to this artifact type
Whether the artifact is really the kind of thing its metadata claims it is.
- warnFreshnessvery stale (>2y)
How long since the source repository was last pushed to.
- passPrompt injection
Scans the artifact's own text for instructions aimed at your agent rather than at you.
- warnLicenseno SPDX license detected
Whether the source repository declares an SPDX license permissive enough to redistribute.
How the grade is calculated
Each check contributes 0 points when it passes, 1 when it warns, and 2 when it fails. The total maps to a letter:
- Aevery check passed
- Bone warning
- Ctwo warnings
- Dprompt injection or body integrity failed, or three warnings
- Fone of those failed, and something else is wrong
These are automated hygiene checks, not a security audit, and not a dependency or vulnerability scan. A grade of A means nothing was flagged — not that the artifact is safe.
Versions
git-88b11df284202026-07-29