Git Product home page Git Product logo

Comments (2)

phpforlan avatar phpforlan commented on September 23, 2024

答:通过linux的top命令来查看当服务器当前的负载情况。
扩展:
1、1打开或关闭 显示每个CPU核心的信息
2、b打开或关闭 运行中进程的高亮效果
3、f 可以进入编辑字段的视图,有 * 表示显示,无 * 表示不显示,可根据页面提示选择或者取消字段。(每个字段前面有对应的字母,按对应的字母键,可选择或取消)

from artisanphp.

phpforlan avatar phpforlan commented on September 23, 2024

top命令的结果中和内存相关的列分别是 VIRT,RES,SHR。
其中 VIRT 表示的是内存占用的理论值(虚拟内存总量),RES 表示的是内存占用的实际值,
SHR指共享内存,所以单个 PHP 进程实际独立占用的内存大小等于「RES – SHR」

from artisanphp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.