编程开源技术交流,分享技术与知识

网站首页 > 开源技术 正文

新手运维必备,10款屌炸天工具,拿好不送……

wxchong 2024-07-20 08:45:27 开源技术 15 ℃ 0 评论

爱迪生曾说:“地球上的企业工具和机器,不过是人肢体的直觉的发展而已。”

毛泽东则说:“生产力有两项,一项是人,一项是工具。工具是由人创造的。”

工具是参与完成创新活动的重要手段之一,选择合适的工具会使创新活动的效率更高、甚至会达到倍增的效果。Linux新手必备10款高逼格实用工具,你知道几个?

01 Agedu

Agedu – A Useful Tool for Tracking Down Wasted Disk Space in Linux.Agedu作为Linux中跟踪浪费磁盘空间的有用工具,你知道它的功能吗?

? 创建图形报告。

? 以HTML格式生成数据输出。

? 生成HTML报表,其中包含指向其他目录的超链接,便于导航以收集报表。

? 提供更多可配置选项。

知道Agedu是如何工作的吗?

It does basically the same sort of disk scan as du, but it also records the last-access times of everything it scans. Then it builds an index that lets it efficiently generate reports giving a summary of the results for each subdirectory, and then it produces those reports on demand.

Agedu所做的磁盘扫描与du类似,但Agedu却能记录扫描内容的最后访问时间,最后构建索引,生成报告,给出子目录的结果,进而根据需求生成报告。

02 Fail2ban

Fail2ban是一款实用软件,可以监视你的系统日志,然后匹配日志的错误信息(正则式匹配)执行相应的屏蔽动作。

功能特性:

? 支持大量服务。eg.sshd,apache,proftpd,qmail等等

? 支持多种动作。eg.iptables,tcp-wrapper,shorewall,mail notifications等等。

? 在logpath选项中支持通配符。

? 需要Gamin支持(注:Gamin是用于监视文件和目录是否更改的服务工具)。

? 需要安装python,iptables,tcp-wrapper,shorewall,Gamin。若需发邮件必安postfix或sendmail。

03 hTop

htop - an interactive process viewer for Unix.Top-Linux系统检测工具,可以动态监测系统进程,但只支持键盘操作且显示较为单调。Htop作为Linux下的交互式的进程浏览器,可以用来替换Linux下的top命令。

04 httperf

httperf is a tool for measuring web server performance. It provides a flexible facility for generating various HTTP workloads and for measuring server performance.(httperf是一种测量web服务器性能的工具,功能比ab强大,它为生成各种http工作负载和测量服务器性能提供了灵活的工具。)

05 IO-IOTop

如果你觉察到有程序在消磨你的硬盘,但又不确定是哪个程序,用IOTop可以轻松解决~iotop是top和iostat程序的混合体,能够显示系统中所有运行进程并将进程根据I/O统计信息排序。作为用来监视磁盘I/O使用状况,界面风格类似top命令的工具,具有与top相似的UI,包含PID、用户、I/O、进程等相关信息。

06 IFTop

Iftop是类似于linux下面top的实时流量监控工具,可以详细监测网卡的实时流量(可指定网段)、反向解析IP、显示端口信息等。Handy for answering the question "why is our ADSL link so slow?".(方便回答问题“为什么我们的ADSL链接这么慢?”.)

07 iozone

iozone作为文件系统中的benchmark工具,可以测试不同操作系统中文件系统的读写性能,测试Read, write, re-read,re-write, read backwards, read strided, fread, fwrite, random read, pread, mmap, aio_read, aio_write 等等不同的模式下硬盘的性能。

08 MultiTail

MultiTail allows you to monitor logfiles and command output in multiple windows in a terminal, colorize, filter and merge.MultiTail作为开源ncurses实用工具,支持监视终端中多个窗口中的日志文件和命令输出、着色、过滤和合并。

MultiTail特征:

?多个输入源。

?线路滤波。

? 拥有用于删除和添加shell的交互式菜单。

?在重要信息的情况下使用正则表达式的彩色显示。

09 Nethogs

If you wish to monitor the top bandwidth consuming processes on a Linux system, you can use the nethogs program, which displays bandwidth usage by process. It will display the process id (PID) of the processes consuming the most bandwidth.NetHogs-网络流量监控工具,不依赖于一个特殊的内核模块加载,使用它可有效监测Linux系统上带宽使用情况,显示占用最多带宽的进程ID。

10 tmux

tmux is a terminal multiplexer. It lets you switch easily between several programs in one terminal, detach them (they keep running in the background) and reattach them to a different terminal.tmux是指通过一个终端登录远程主机并运行后,在其中可以开启多个控制台的优秀终端复用软件,无需“浪费”多余的终端来连接这台远程主机,它类似于GNU Screen,但来自于OpenBSD,采用BSD授权。

Tags:

本文暂时没有评论,来添加一个吧(●'◡'●)

欢迎 发表评论:

最近发表
标签列表