linux主機監控資訊顯示,linux主機監控

來源:互聯網
上載者:User

linux主機監控資訊顯示,linux主機監控
儲存資訊顯示: 
總體空間和空閑空間顯示

[root@ora11g64 ~]# df -h
檔案系統              容量  已用 可用 已用% 掛載點
/dev/mapper/VolGroup00-LogVol00
                       37G   15G   20G  43% /
/dev/sda1              99M   23M   71M  25% /boot
tmpfs                 3.0G     0  3.0G   0% /dev/shm


Disk資訊顯示(名稱/大小/使用率)
[root@ora11g64 ~]# fdisk -l


Disk /dev/sda: 42.9 GB, 42949672960 bytes
255 heads, 63 sectors/track, 5221 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes


   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1          13      104391   83  Linux
/dev/sda2              14        5221    41833260   8e  Linux LVM


Disk /dev/dm-0: 40.7 GB, 40701526016 bytes
255 heads, 63 sectors/track, 4948 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes


Disk /dev/dm-0 doesn‘t contain a valid partition table



檔案系統資訊顯示(名稱/大小/使用率)
[root@ora11g64 ~]# df -k
檔案系統               1K-塊        已用     可用 已用% 掛載點
/dev/mapper/VolGroup00-LogVol00
                      38502208  15660604  20854228  43% /
/dev/sda1               101086     23531     72336  25% /boot
tmpfs                  3057028         0   3057028   0% /dev/shm




主機上所有資料庫名稱顯示
[oracle@ora11g64 ~]$ ps -ef|grep pmon
oracle   20281     1  0 11:12 ?        00:00:01 ora_pmon_ORA11G
oracle   22417 22377  0 11:41 pts/3    00:00:00 grep pmon
[oracle@ora11g64 ~]$ ps -ef|grep smon
oracle   20327     1  0 11:12 ?        00:00:01 ora_smon_ORA11G
oracle   22422 22377  0 11:41 pts/3    00:00:00 grep smon
[oracle@ora11g64 ~]$ cat /etc/oratab
#






# This file is used by ORACLE utilities.  It is created by root.sh
# and updated by the Database Configuration Assistant when creating
# a database.


# A colon, ':', is used as the field terminator.  A new line terminates
# the entry.  Lines beginning with a pound sign, '#', are comments.
#
# Entries are of the form:
#   $ORACLE_SID:$ORACLE_HOME:<N|Y>:
#
# The first and second fields are the system identifier and home
# directory of the database respectively.  The third filed indicates
# to the dbstart utility that the database should , "Y", or should not,
# "N", be brought up at system boot time.
#
# Multiple entries with the same $ORACLE_SID are not allowed.
#
#
ORA11G:/u01/app/oracle/product/11.2.0/db_1:N
nconf使用手冊 怎添加監控linux主機,我監控了,但發現監控的是伺服器本地的資訊,該怎設定

您看是不是什麼樣的外掛程式未安裝如果所有的巴林則有可能是一些外掛程式的問題,反正外掛程式
 
怎在linux中顯示系統資訊?

# uname -a # 查看核心/作業系統/CPU資訊
# head -n 1 /etc/issue # 查看作業系統版本
# cat /proc/cpuinfo # 查看CPU資訊
# hostname # 查看電腦名稱
# lspci -tv # 列出所有PCI裝置
# lsusb -tv # 列出所有USB裝置
# lsmod # 列出載入的核心模組
# env # 查看環境變數
 

相關文章

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.