Solved

How to gather the kernel parameters in a text file for example ?

Posted on 2011-02-11
7
518 Views
Last Modified: 2013-11-17
Hi experts.

I need to gather the kernel parameters of the Oracle user and the parameters in the smit for the oracle user to a text file.
0
Comment
Question by:LindaC
  • 4
  • 3
7 Comments
 
LVL 68

Expert Comment

by:woolmilkporc
ID: 34871618
What exactly do you mean with "kernel parameters" and "parameters in the smit"?
Something like "ulimit" or so?

wmp


0
 
LVL 8

Author Comment

by:LindaC
ID: 34871632
The parameters shown in the ulimit -a and all the smit parameters for the Oracle user.
Smit or smitty is the program used by System Admins (I'am a Dba not a System Admin) to configure different parameters that affect the oracle user.
0
 
LVL 68

Expert Comment

by:woolmilkporc
ID: 34871684
Well, I know what smit is .....

smit is used to configure almost anything - network, devices, file systems, printing, accounting, installation ...

So what do you want to get displayed?

su - oracle -c ulimit -a > /tmp/oracle.ulimit
0
Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

 
LVL 68

Expert Comment

by:woolmilkporc
ID: 34871895
Maybe

lsuser -f oracle

?
0
 
LVL 8

Author Comment

by:LindaC
ID: 34872409
Why the lsuser -f oracle did not bring the ulimit ?
0
 
LVL 68

Accepted Solution

by:
woolmilkporc earned 500 total points
ID: 34872461
1) Because lsuser and ulimit are two different commands?

2) Take a closer look at the output of lsuser:

fsize, cpu, data, stack, core, rss, nofiles, threads ...
 
they're all present waiting just for you to give them a smile.
0
 
LVL 8

Author Closing Comment

by:LindaC
ID: 34872484
Thank you.
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Installing FreeBSD… FreeBSD is a darling of an operating system. The stability and usability make it a clear choice for servers and desktops (for the cunning). Savvy?  The Ports collection makes available every popular FOSS application and packag…
Java performance on Solaris - Managing CPUs There are various resource controls in operating system which directly/indirectly influence the performance of application. one of the most important resource controls is "CPU".   In a multithreaded…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

792 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question