ubuntu 下监控小插件

时间:2024-04-03 07:12:28

 

16.04

一    硬件温度监控。

    Psensor最新的版本同样提供了Ubuntu中的指示小程序,

 

在安装Psensor前,你需要安装和配置lm-sensors,这是一个用于硬件监控的命令行工具。如果你想要测量磁盘温度,你还需要安装hddtemp。要安装这些工具,运行下面的这些命令:

  1. sudo apt-get install lm-sensors hddtemp

接着开始检测硬件传感器:

  1. sudo sensors-detect

要确保已经工作,运行下面的命令:

  1. sensors

它会给出下面这样的输出:

  1. acpitz-virtual-0
  2. Adapter:Virtual device
  3. temp1:+43.0°C (crit =+98.0°C)
  4. coretemp-isa-0000
  5. Adapter: ISA adapter
  6. Physical id 0:+44.0°C (high =+100.0°C, crit =+100.0°C)
  7. Core0:+41.0°C (high =+100.0°C, crit =+100.0°C)
  8. Core1:+40.0°C (high =+100.0°C, crit =+100.0°C)

如果一切看上去没问题,使用下面的命令安装Psensor:

  1. sudo apt-get install psensor

安装完成后,在Unity Dash中运行程序。第一次运行时,你应该配置Psensor该监控什么状态。

ubuntu 下监控小插件

 

开机自启动Psensor

进入 Preferences->Startup 并选择 Launch on session startup 使每次启动时启动Psensor。

ubuntu 下监控小插件

 

 

 

二    ubuntu 下面查看cpu 网络 内存占用的小插件

 

Indicator小程序是非常有用的,提供了一些快捷的操作和信息,为Ubuntu的整体的体验发挥了很大的作用。这里介绍10个非常有用的Indicator小程序。
ubuntu 下监控小插件
1. Weather Indicator Applet (天气预报)
ubuntu 下监控小插件
安装命令:
sudo apt-get install indicator-weather
2. ClassicMenu:经典的GNOME2菜单
ubuntu 下监控小插件
安装命令:
sudo apt-add-repository ppa:diesch/testing
sudo apt-get update
sudo apt-get install classicmenu-indicator
3. Ubuntu One(Ubuntu提供的类似网盘的服务)
ubuntu 下监控小插件
安装命令:
sudo add-apt-repository ppa:rye/ubuntuone-extras
sudo apt-get update
sudo apt-get install indicator-ubuntuone
4. System Load Indicator ( 系统状态指示器)
ubuntu 下监控小插件
安装命令:
sudo add-apt-repository ppa:indicator-multiload/stable-daily
sudo apt-get update
sudo apt-get install indicator-multiload
5. Touchpad Indicator (触摸板开关)
ubuntu 下监控小插件
安装命令:
sudo add-apt-repository ppa:atareao/atareao
sudo apt-get update
sudo apt-get install touchpad-indicator
6. Battery Status Indicator (电源状态指示器)
ubuntu 下监控小插件
安装命令:
sudo apt-add-repository ppa:iaz/battery-status
sudo apt-get update
sudo apt-get install battery-status
运行:
/usr/lib/battery-status/battery-status –indicator
7. Workspaces Indicator (快速切换工作区)
ubuntu 下监控小插件
安装命令:
sudo add-apt-repository ppa:geod/ppa-geod
sudo apt-get update
sudo apt-get install indicator-workspaces
8. Keylock Application Indicator (显示大写键状态)
ubuntu 下监控小插件
安装命令:
sudo add-apt-repository ppa:tsbarnes/indicator-keylock
sudo apt-get update
sudo apt-get install indicator-keylock
9. Caffeine Application Indicator (防止启动屏保和省电模式)
ubuntu 下监控小插件
安装命令:
sudo add-apt-repository ppa:caffeine-developers/ppa
sudo apt-get update
sudo apt-get install caffeine
10. Pastie Clipboard Manager Indicator (剪贴板管理工具)
ubuntu 下监控小插件
安装命令:
sudo add-apt-repository ppa:hel-sheep/pastie
sudo apt-get update
sudo apt-get install pastie