1846992 Members
3066 Online
110257 Solutions
New Discussion

kernel parameters

 
SOLVED
Go to solution
Donna Powell
Advisor

kernel parameters

I am running an application that is using up a lot of my system resources. Can anyone give me a command that I can use to see how all of my system resources are being used? I have already tried Glance and this only gives info about some of the system kernel parameters.
7 REPLIES 7
bbutler3295
Occasional Advisor

Re: kernel parameters

kmtune
sar
top
Reboot and let me know in twenty
Helen French
Honored Contributor

Re: kernel parameters

Hi,

I would say he best option is Glance. But you can use these commands too:

# sar ( see man sar)
# top
# vmstat
# netstat

HTH,
Shiju
Life is a promise, fulfill it!
harry d brown jr
Honored Contributor
Solution

Re: kernel parameters

Donna,

When using glance, are you using gpm (graphical) or glance (character)? You can "drill" into the application with glance and "see" everything it is doing.

What kind of kernel resources are you looking for that the application might be using?

live free or die
harry
Live Free or Die
Donna Powell
Advisor

Re: kernel parameters

I am looking to info on msgmax, msgtql msgmap msgsz, shmmax, shmmin, shmseg, shmmni. I am looking to see what is allocated ans what is being used all at the same time. Trying not to have to screen hop to get the info that I need.

thanks
T. M. Louah
Esteemed Contributor

Re: kernel parameters

- to add more here`s something you can use
sort all the proceses by memory size:
#UNIX95= ps -eo vsz,ruser,args | sort -rn | more
If any of the processes are pushing more than 50 megs, run SAM & change maxdsiz to double its value. (requires a reboot) !

G`d luck
T??
& PAP ! (a.k.a Pliz assign points!)
Little learning is dangerous!

Re: kernel parameters

HI,
For info on memory segments, semaphores, etc use
the ipcs command. To remove those that you don't want, use ipcrm.

Bruce
Magdi KAMAL
Respected Contributor

Re: kernel parameters

Hi Donna,

Commands are as follow :

#ipcs
This will display Shared segments, Semaphores and Message Queues .

#vmstat
#iostat
#netstat
#sar
#top


Or Glance of course !

Magdi