Solved

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

Posted on 2011-02-11
7
520 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

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

This tech tip describes how to install the Solaris Operating System from a tape backup that was created using the Solaris flash archive utility. I have used this procedure on the Solaris 8 and 9 OS, and it shoudl also work well on the Solaris 10 rel…
FreeBSD on EC2 FreeBSD (https://www.freebsd.org) is a robust Unix-like operating system that has been around for many years. FreeBSD is available on Amazon EC2 through Amazon Machine Images (AMIs) provided by FreeBSD developer and security office…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…

696 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