linux主机监控信息显示

本文发布时间: 2019-Mar-22
存储信息显示: 总体空间和空闲空间显示[[email protected] ~]# df -h文件系统 容量 已用 可用 已用% 挂载点/dev/mapper/VolGroup00-LogVol00 37G 15G 20G 43% //dev/sda1 99M 23M 71M 25% /boottmpfs 3.0G 0 3.0G 0% /dev/shmDisk信息显示(名称/大小/使用率)[[email protected] ~]# fdisk -lDisk /dev/sda: 42.9 GB, 42949672960 bytes255 heads, 63 sectors/track, 5221 cylindersUnits = 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 LVMDisk /dev/dm-0: 40.7 GB, 40701526016 bytes255 heads, 63 sectors/track, 4948 cylindersUnits = cylinders of 16065 * 512 = 8225280 bytesDisk /dev/dm-0 doesn‘t contain a valid partition table文件系统信息显示(名称/大小/使用率)[[email protected] ~]# df -k文件系统 1K-块 已用 可用 已用% 挂载点/dev/mapper/VolGroup00-LogVol00 38502208 15660604 20854228 43% //dev/sda1 101086 23531 72336 25% /boottmpfs 3057028 0 3057028 0% /dev/shm主机上所有数据库名称显示[[email protected] ~]$ ps -ef|grep pmonoracle 20281 1 0 11:12 ? 00:00:01 ora_pmon_ORA11Goracle 22417 22377 0 11:41 pts/3 00:00:00 grep pmon[[email protected] ~]$ ps -ef|grep smonoracle 20327 1 0 11:12 ? 00:00:01 ora_smon_ORA11Goracle 22422 22377 0 11:41 pts/3 00:00:00 grep smon[[email protected] ~]$ 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


(以上内容不代表本站观点。)
---------------------------------
本网站以及域名有仲裁协议。
本網站以及域名有仲裁協議。

2019-May-25 12:57pm
栏目列表