Various Unix operating system commands that need to be used for Oracle maintenance

Source: Internet
Author: User
Tags tru64 dmesg linux

When you are maintaining Oracle, you can use some Unix operating system commands to view system-related information under various operating systems.

Memory

-------

Aix:bootinfo-r

LSATTR-E-LMEM0

/USR/SBIN/LSATTR-E-L sys0-a Realmem

Or use a tool as "Topas" or "Nmon" (These are utilities)

Linux:cat/proc/meminfo

/USR/SBIN/DMESG | grep "Physical"

Free (the free command)

HP:/usr/sam/lbin/getmem

grep memtotal/proc/meminfo

/ETC/DMESG | Grep-i Phys

Wc-c/dev/mem

or us a tool as "glance", like entering "glance-m" to prompt (is a utility)

Solaris:/usr/sbin/prtconf | grep "Memory Size"

Tru64:/bin/vmstat-p | grep "Total Physical Memory"

Swap page:

----------

AIX:/usr/sbin/lsps-a

HP:/usr/sbin/swapinfo-a

Solaris:/usr/sbin/swap-l

Linux:/sbin/swapon-s

Cat/proc/swaps

Cat/proc/meminfo

Operating system version:

--------------

Hp:uname-a

Linux:cat/proc/version

Solaris:uname-a

Cat/etc/release (or other way to view this file, like "More/etc/release")

Tru64:/usr/sbin/sizer-v

Aix:oslevel-r

Lslpp-h Bos.rte

AIX firmware:

LSMCODE-C display the system firmware level and service processor

Lsmcode-r-D SCRAID0 Display the adapter microcode levels for a RAID adapter SCRAID0

LSMCODE-A display the microcode level for all supported devices

Prtconf shows many setting including memory, firmware, etc...

CPU Information:

---------

HP:IOSCAN-KFNC processor

Getconf cpu_version

Getconf Cpu_chip_type

Model

aix:prtconf | grep proc

Pmcycles-m

Lsattr-el procx (x is 0,2, etc ...)

lscfg | grep proc

Linux:cat/proc/cpuinfo

Solaris:psrinfo-v

Prtconf

This column more highlights: http://www.bianceng.cnhttp://www.bianceng.cn/database/Oracle/

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

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.