Skip to content
Back to skills

1 远程重启计算机

ASecurity

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) //将程序放入后台运行 di...

  • 69 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added February 8, 2026
development

Security analysis

A100/100

Pro scans all 21 files and shows the line behind each finding

Scanned February 12, 2026

npx -y skills add luofengmacheng/algorithms --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of 1 远程重启计算机?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for 1 远程重启计算机
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/luofengmacheng-1/badge)](https://www.skillsdirectory.com/skills/luofengmacheng-1)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.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)
```

Files in this skill

  • 2015_bishi/README.md1.3 KB
  • 2015_bishi/baidu_bishi.md412 B
  • 2015_bishi/chuangxin.md2.5 KB
  • 2015_bishi/hengshengdianzi_bishi.md3 KB
  • 2015_bishi/lifangwang_bishi.md1.3 KB
  • 2015_bishi/mogujie_bishi.md1.6 KB
  • 2015_bishi/pptv_bishi.md1.7 KB
  • 2015_bishi/qingting_bishi.md1.6 KB
  • 2015_bishi/qunshuo_bishi.md2.5 KB
  • 2015_bishi/shenxinfu_bishi.md1.6 KB
  • 2015_bishi/trendmicro_bishi.md5.4 KB
  • 2015_bishi/xiecheng_bishi.md2.3 KB
  • 2015_interview/README.md538 B
  • 2015_interview/alibaba.md2.2 KB
  • 2015_interview/chuangxin.md235 B
  • 2015_interview/sougou.md4.2 KB
  • 2015_interview/tencent.md3.6 KB
  • LeetCode/195_tenth_line.md929 B
  • LeetCode/add_binary.cpp2.1 KB
  • LeetCode/anagrams.cpp1.8 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.