How to view the kernel (shmmax)paramiter value in solaris 10?

Answers were Sorted based on User's Feedback



How to view the kernel (shmmax)paramiter value in solaris 10?..

Answer / deepunix

you can see kernel parameter values in /etc/system file, even you can set kernel parameters in this file. but now a days we are using project mode(Resource Control Options) kernel parameters settings.

Is This Answer Correct ?    11 Yes 2 No

How to view the kernel (shmmax)paramiter value in solaris 10?..

Answer / naveen

To view the current values of the resource control, enter
the following commands:

#id -p //to verify the project ID
uid = 0 (Root) gid = 0 (Root) projid = 1 (user.root)
#prctl -n project.max-shm-memory -i project user.root
#prctl -n project.max=sem-ids -i project user.root

Is This Answer Correct ?    9 Yes 1 No

How to view the kernel (shmmax)paramiter value in solaris 10?..

Answer / kishore devlate

Hi DeepUnix,

I know that file, but i want to see that by command how can i see that all, for example

shmmax value i want to see the how you can see by the command?

Is This Answer Correct ?    3 Yes 2 No

How to view the kernel (shmmax)paramiter value in solaris 10?..

Answer / naveen

View and Change Kernel Parameter Values on Solaris 10

To view the current values of the resource control, enter
the following commands:

#id -p //to verify the project ID
uid = 0 (Root) gid = 0 (Root) projid = 1 (user.root)
#prctl -n project.max-shm-memory -i project user.root
#prctl -n project.max=sem-ids -i project user.root

To change any of the current values, follow these steps:

1.

To modify the value of max-shm-memory to 6GB:

#prctl -n project.max-shm-memory -v 6gb -r -i project
user.root

2.

To modify the value of max-sem-ids to 256:

#prctl -n project.max-sem-ids -v 256 -r -i project
user.root

Is This Answer Correct ?    2 Yes 1 No

How to view the kernel (shmmax)paramiter value in solaris 10?..

Answer / murali thangavel

#sysdef | grep shmmax

Is This Answer Correct ?    4 Yes 8 No

How to view the kernel (shmmax)paramiter value in solaris 10?..

Answer / jayanta

sysdef | grep -i shmmax

Is This Answer Correct ?    2 Yes 9 No

Post New Answer

More Solaris Commands Interview Questions

How to find the versions?

2 Answers  


I want to know how to Sechudle job using at and crontab so please give the explain with example please do the needful Regards Visva

2 Answers   Sapient,


What is the command to check wwn in solaris?

3 Answers   Siemens,


How many replicas should be for raid5 in sds if I have 5 disk

2 Answers  


What is HA?

2 Answers  






how to change boot disk

4 Answers  


I don’t want to ask password reset in ever month to particular user. How to enable the same for only one user.

3 Answers  


What are the NFS daemon in server & client

2 Answers  


What is uadmin and what does it do?

3 Answers  


Iam facing an issue like below, any help why this is caused? $ ls -l /etc total 184 -rw-r--r-- 1 root other 3 Nov 28 09:35 abc1 -rw-r--r-- 1 root other 3 Nov 28 09:35 cb -r--r--r-- 1 root root 8358 Nov 28 19:04 ptmp -r-------- 1 root sys 5055 Nov 28 19:04 stmp -r--r----- 1 root root 76828 Nov 28 09:38 sudoers

1 Answers  


what are the solaris commands? how can i use them? are my requirements plz post it.

1 Answers  


what is the command to know about pkg information

7 Answers  


Categories
  • Solaris Commands Interview Questions Solaris Commands (360)
  • Solaris Threads Interview Questions Solaris Threads (9)
  • Solaris IPC Interview Questions Solaris IPC (30)
  • Solaris Socket Programming Interview Questions Solaris Socket Programming (3)
  • Solaris System Calls Interview Questions Solaris System Calls (25)
  • Solaris General Interview Questions Solaris General (170)
  • Solaris AllOther Interview Questions Solaris AllOther (297)