好用的linux系统管理脚本
来源:互联网 发布:db2数据库 编辑:程序博客网 时间:2024/05/17 08:43
How Do I Install and Run Script?
First, use following wget command to download the monitor script "tecmint_monitor.sh"
and make it executable by setting appropriate permissions.
# wget http://tecmint.com/wp-content/scripts/tecmint_monitor.sh# chmod 755 tecmint_monitor.sh
It is strongly advised to install the script as user and not as root. It will ask for root password and will install the necessary components at required places.
To install "tecmint_monitor.sh"
script, simple use -i (install) option as shown below.
./tecmint_monitor.sh -i
Enter root password when prompted. If everything goes well you will get a success message like shown below.
Password: Congratulations! Script Installed, now run monitor Command
After installation, you can run the script by calling command 'monitor'
from any location or user. If you don’t like to install it, you need to include the location every-time you want to run it.
# ./Path/to/script/tecmint_monitor.sh
Now run monitor command from anywhere using any user account simply as:
$ monitor
As soon as you run the command you get various System related information which are:
- Internet Connectivity
- OS Type
- OS Name
- OS Version
- Architecture
- Kernel Release
- Hostname
- Internal IP
- External IP
- Name Servers
- Logged In users
- Ram Usages
- Swap Usages
- Disk Usages
- Load Average
- System Uptime
Check the installed version of script using -v (version) switch.
$ monitor -vtecmint_monitor version 0.1Designed by Tecmint.comReleased Under Apache 2.0 License
Conclusion
This script is working out of the box on a few machines I have checked. It should work the same for you as well. If you find any bug let us know in the comments. This is not the end. This is the beginning. You can take it to any level from here. If you feel like editing the script and carry it further you are free to do so giving us proper credit and also share the updated script with us so that we can update this article by giving you proper credit.
Don’t forget to share your thoughts or your script with us. We will be here to help you. Thank you for all the love you have given us. Keep Connected! Stay tuned.
- 好用的linux系统管理脚本
- 系统管理脚本的编写
- Linux系统管理:文件系统的挂载与自动格式化脚本
- 推荐比较好用的DBMS 可视化数据库系统管理工具
- linux 的系统管理命令
- #5.Linux的系统管理
- linux的系统管理命令
- 好用的脚本
- 好用的脚本
- 免费oa系统管理企业的好帮手
- 用于系统管理的Windows脚本技术
- 适合系统管理新手的 bash 脚本编程
- 常用的linux系统管理命令
- 最强的Linux系统管理工具
- Linux常用的系统管理命令
- linux下的日志系统管理
- Linux下的系统管理命令
- 好用的sql脚本
- Hibernate深入
- 【CSS笔记五】CSS格式化排版
- HDOJ 1096 A+B for Input-Output Practice (VIII)
- win10 不能修改 host 文件
- Leetcode_c++:Pascal's TriangleII (119)
- 好用的linux系统管理脚本
- android /system/vold源码分析(5)
- POJ_1056_IMMEDIATE DECODABILITY_Trie树
- Matlab find函数用法,全面解析
- dedecms整合美图秀秀实现图片上传效果
- BZOJ 1072 排列
- Android 2016新技术
- 动态规划2-Charm Bracelet(算法基础 第5周)
- 设计模式(2)——抽象工厂模式