Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I think thats wrong, your profile clearly states that you are a "Member" with 101 posts... I love pointing out the bleeding obvious.
Quote:
Would anyone know how to calculate the current Oracle database from the OS level
I could only assume you mean calculate the *size* of the database, right? What do you mean from OS level? Kindly tell us exactly what *it* is you want to accomplish.
I am not sure if this is the forum for this question, but what the heck, I am a newbie anyway.
Here's my question; Would anyone know how to calculate the current Oracle database from the OS level if I do have the ASM disks info??
We have only one DBA onsite, but he's on vacation for 2 weeks.
Please help if you know the answer.
Thank you in advance.
J
Hai ,
if you want to know how many oracle database are running in that machine then use the command
ps -ef | grep pmon..
if you want to know about the listener ,use
ps -ef | grep tns
if you want to know the size of the database, which can be checked at oracle level using dba_data_files,dba_temp_files,v$controlfile,V$logfile. combine all this ,write a query and get the output..
From the OS level, you can look at the file sizes (the oracle conf file), but I don't think its poss to know how much free space you have (inside the DB) from there.
You'd have to use SQL for that.
You should be able to google up the SQL cmd for that.
I just need to know how big is our current Oracle DB on a particular environment. I would like to run some sort of a Linux command lines to find out how big it has grown since the last time I checked, etc.
I guess, I could do a 'df -h' on all the mount-points and try to figure it out from there I guess.
I thought, there might be an easier way to do this.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.