10 个给 Linux 用户的有用工具
引言 在本教程中,我已经收集了10个给 Linux 用户的有用工具,其中包括各种网络监控,系统审计和一些其它实用的命令,它可以帮助用户提高工作效率。我希望你会喜欢他们。 1. w 显示谁登录了系统并执行了哪些程序。 $ w 不显示头部信息(LCTT译注:原文此处有误) $ w -h 显示指定用户的信息 $ w <username> 2. nmon Nmon(nigel’s monitor 的简写)是一个显示系统性能信息的工具。 $ sudo apt-get install nmon $ nmon nmon 可以显示与 netwrok,cpu, memory 和磁盘使用情况的信息。 nmon 显示 cpu 信息 (按 c) nmon 显示 network 信息 (按 n) nman 显示 disk 信息 (按 d) 3. ncdu 是一个支持光标的du程序,这个命令是用来分析各种目录占用的磁盘空间。 […]
5 Steps to Take Care of Your MongoDB Performance
Do you face some performance issues in your MongoDB setup? In this case follow these steps to provide some first aid to your system and gain some space for a long term architecture (such as Sharding). Step 1: Enable Slow Queries Get intelligence about your system behavior and performance bottlenecks. Usually there is a high correlation between the […]