When I was installing Oracle 11g database I found some useful Linux commands. I here summarized what I learnt there. For further details refer to Oracle 11g database Linux installation guide.
To determine physical RAM size
grep MemTotal /proc/meminfo
To get the system architecture
grep "model name" /proc/cpuinfo
To determine the size of the configured swap space
grep SwapTotal /proc/meminfo
To get available ram and swap space
free
Determine the distribution and version
cat /proc/version
To find the kernel version
uname -r
du -h
To determine required packages are installed
rpm -q package_name
To find free disk space of the system
df -k
If it need to extend the search to a directory
df -k /path_to_folder_name
No comments:
Post a Comment