Skip to content

Latest commit

 

History

History
38 lines (22 loc) · 679 Bytes

Linux.md

File metadata and controls

38 lines (22 loc) · 679 Bytes

1. rhino

invokes the JavaScript shell for running scripts in batch mode or interactive

2. getconf

获取cpu数目

getconf _NPROCESSORS_ONLN

3. blockdev —— 通过命令行来调用块设备的ioctl指令

e.g 获取磁盘的物理扇区和逻辑扇区大小

blockdev --getss /dev/sdx
blockdev --getpbsz /dev/sdx

4. blkdiscard ——

5. abrt-cli list

6. sosreport

7. generate_randfile

8. hping3

9. ulimit

增大linux系统的openfiles上限

10. tcprewrite

tcprewrite