Comments (2)
答:通过linux的top命令来查看当服务器当前的负载情况。
扩展:
1、1打开或关闭 显示每个CPU核心的信息
2、b打开或关闭 运行中进程的高亮效果
3、f 可以进入编辑字段的视图,有 * 表示显示,无 * 表示不显示,可根据页面提示选择或者取消字段。(每个字段前面有对应的字母,按对应的字母键,可选择或取消)
from artisanphp.
top命令的结果中和内存相关的列分别是 VIRT,RES,SHR。
其中 VIRT 表示的是内存占用的理论值(虚拟内存总量),RES 表示的是内存占用的实际值,
SHR指共享内存,所以单个 PHP 进程实际独立占用的内存大小等于「RES – SHR」
from artisanphp.
Related Issues (20)
- 联合索引有一个最左前缀原则,具体是什么? HOT 8
- 如何设计一个Hash表,冲突解决,优劣 HOT 2
- nginx错误代码499是如何产生的?如何解决? HOT 1
- PHP短路运算是怎样的?为什么要短路运算? HOT 1
- [知识点汇总]定期更新,PHP研发工程师学习借鉴
- web服务器如何对请求进行频次限制?有哪些方案?
- php中的变量$a,如果其is_ref为false,是否立即会被垃圾回收机制回收?
- 在设计框架过程中,装饰器模式主要用于实现什么功能?
- 在数据量很大且需要提供多维数据查询的时候,分表不能解决那么一般采用什么方法?
- Sphinx 的分词原理是怎么样的?怎么解决中文分词?
- tcp/ip三次握手,四次挥手,为什么挥手多一次,最后一次挥手的作用是什么? HOT 4
- MySQL 多表嵌套查询和连接查询,哪个效率更高?为什么? HOT 1
- linux中删除某个文件,但是磁盘空间却没有减少?为什么?
- HTTP协议和HTTPS协议的主要区别是什么,各有何优劣。
- HTTP协议和TCP协议有什么联系?我们平时对着两个协议有何误解?
- 稳定排序有哪些?不稳定排序和稳定排序的区别是? HOT 1
- varchar和char的区别 HOT 2
- varchar比char多占用一个字符,为什么? HOT 1
- php重载与重写的区别?重载与其他语言(如java)有何差异 HOT 2
- MySQL的MyISAM和InnoDB存储引擎的数据结构都是b+树 但是他们的区别有哪些?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from artisanphp.