1754916 Members
2825 Online
108827 Solutions
New Discussion юеВ

LINUX Kernel Parameter

 
Jojo Castro
Regular Advisor

LINUX Kernel Parameter

hi All,

Need your inputs on how can i monitor kernel parameter usage for LINUX (version 4 and up)?

Thanks!
13 REPLIES 13
Zinky
Honored Contributor

Re: LINUX Kernel Parameter

It all depends on WHAT kernel parameters you are concerned with sir.

I use HP GlancePlus as it is our standard accross UNIX dialects and Linux distributions.

Hakuna Matata

Favourite Toy:
AMD Athlon II X6 1090T 6-core, 16GB RAM, 12TB ZFS RAIDZ-2 Storage. Linux Centos 5.6 running KVM Hypervisor. Virtual Machines: Ubuntu, Mint, Solaris 10, Windows 7 Professional, Windows XP Pro, Windows Server 2008R2, DOS 6.22, OpenFiler
brian_31
Super Advisor

Re: LINUX Kernel Parameter

Alzhy

We use RHEL5, is there a package for Glance for RHEL5?

Thanks

Brian.
Zinky
Honored Contributor

Re: LINUX Kernel Parameter

Nope.
It's commercialon-free from HP.

You can however install a TRIAL version which should be good for 90 days(?)
Hakuna Matata

Favourite Toy:
AMD Athlon II X6 1090T 6-core, 16GB RAM, 12TB ZFS RAIDZ-2 Storage. Linux Centos 5.6 running KVM Hypervisor. Virtual Machines: Ubuntu, Mint, Solaris 10, Windows 7 Professional, Windows XP Pro, Windows Server 2008R2, DOS 6.22, OpenFiler
Jojo Castro
Regular Advisor

Re: LINUX Kernel Parameter

Its Linux not HP-UX. For example i want to know the current utilization of kernel param shmmax, how can i check it?

Thanks!
Marcin  Bartoszek
Occasional Advisor

Re: LINUX Kernel Parameter

Hi,

Usually you can find actual kernel params in /proc/sys/kernel.

Particularly, you can check SHMMAX value by:
# cat /proc/sys/kernel/shmmax

Regards,
Marcin
Jojo Castro
Regular Advisor

Re: LINUX Kernel Parameter

Hi Marcin, I know this.
My question is super clear, how can i monitor the usage?
Marcin  Bartoszek
Occasional Advisor

Re: LINUX Kernel Parameter

Exactly what action you would like to monitor?
Operations of reading or changing kernel parameters?
Utilization of kernel resources?

Serveral reports and statistics you can get using tools like sar or vmstat.
You can also use collectl from sourceforge - I think this should be available as RH rpm package.

Are you looking for a commercial tool, or rather wondering how to implement it yourself?

M.
dirk dierickx
Honored Contributor

Re: LINUX Kernel Parameter

shmmax is a setting where you specify the maximum size of a memory segment, it is not something you monitor like cpu or overal memory usage.

with the command 'ipcs -m' you can view all the segments in use.
Jojo Castro
Regular Advisor

Re: LINUX Kernel Parameter

Hi Marcin,

Exactly what action you would like to monitor?
==> Utilization of kernel resources

You can also use collectl from sourceforge
==> what does this utility do?

Are you looking for a commercial tool, or rather wondering how to implement it yourself?
==> not exactly a commercial tool since our box is already in production.

Hi Dirk,

Ok its "with the command 'ipcs -m' you can view all the segments in use."

Ok just to add and be more specific with my question,
For LINUX boxes with DB and Oracle client running on it, what are the kernel parameters I should closely monitor? and How should i monitor them?

Answer like that of Dirk:
shmmax => ipcs -m