您好,欢迎访问一九零五行业门户网

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 ~]# 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::
#
# 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
其它类似信息

推荐信息