当我在文件属性定义列表中看到以下内容时,我正在阅读chattrLinux 机器 ( kali4-amd64)上的手册:
A directory with the 'P' attribute set will enforce a hierarchical
structure for project id's. This means that files and directory created in
the directory will inherit the project id of the directory, rename
operations are constrained so when a file or directory is moved into
another directory, that the project id's much match. In addition, a hard
link to file can only be created when the project id for the file and …Run Code Online (Sandbox Code Playgroud) 我正在运行 apache2.4 Web 服务器,并注意到当我运行systemctl status apache2或运行时service apache2 status,它说它使用的是 4.2GiB 的 RAM,这对于我拥有的 RAM 量来说不是问题,但我很困惑,因为top并且htop两者都显示仅使用了 500MiB 的 RAM,更不用说systemctl单独使用 apache2 的报告了。为什么会这样,哪个是正确的?
操作系统信息,如果需要:
OS: Kali GNU/Linux Rolling x86_64
Kernel: 4.19.0-kali3-amd64
Run Code Online (Sandbox Code Playgroud)