-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
系统管理员知识(test your sysadmin skills) #5
Comments
# pushd, popd命令用于多个目录之间切换
# cd主要是两个目录之间切换
pushd/popd/dirs/cd |
# linux中!(叹号)的用法
# !和历史命令有关
# 执行某个历史命令
!history-id
# 上一个命令
!!
# 上一个命令的所有参数
!*
# 上一个命令的第一个参数
!^
# 上一个命令的最后一个参数
!$
# 去掉最后一个参数执行上一个命令
!:-
|
|
vlan和subnet的区别:
|
localhost还需要查找和解析 |
版本控制提交信息的一个规则:
|
Linux系统的启动流程:
|
系统负载大于1.0应该注意,大于5.0就更得处理了。 |
真实用户和有效用户:
例如让普通用户以root执行的
|
|
|
|
tcp三次握手和四次挥手 |
数据结构基础知识:
|
为程序运行提供动态运行库:
|
Linux系统调用:
|
inode上存储的字段:
|
|
segfault(segmentation fault),是导致程序奔溃的常见条件,通常由于程序尝试读/写非法内存位置引起。也有可能是内存限制太低。 程序内存空间被分为不同的段:
使用 |
这几个的区别:
|
文件描述符(fd, file descriptor):Linux 系统中,把一切都看做是文件,当进程打开现有文件或创建新文件时,内核向进程返回一个文件描述符,文件描述符就是内核为了高效管理已被打开的文件所创建的索引,用来指向被打开的文件,所有执行I/O操作的系统调用都会通过文件描述符。 可通过 特殊的三个文件描述符:
|
系统负载高,cpu使用率不高:最有可能的原因是磁盘IO问题。查看哪个进程或哪个磁盘有异常。 以下几个工具:
|
nice -n 10 bin/xxx
renice -n 5 -p pid
ionice -c3 dd if=/dev/zero of=/tmp/ddfile 通过fd可以查看使用该文件的进程,命令 |
限制进程的cpu使用:
|
挂载一个临时ram分区,tmpfs是一种虚拟内存文件系统。
|
是否可以有IP地址的SSL证书? 只要它是公网IP就可以,但用的很少。 |
bash的一个特殊功能:
根据
|
使用
|
参考:
系统管理员相关知识技能。记录一些自己还不太熟悉的内容。
The text was updated successfully, but these errors were encountered: