How to view the kernel (shmmax)paramiter value in solaris 10?
Answers were Sorted based on User's Feedback
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 |
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 |
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 |
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 |
Tell me the port for Telnet, ftp,nis,ssh,nfs
How to know actual capacity of Ethernet port by command line? (Sun Fire V480 and some one configured Eth interface as 100mbps and need to change to 1000mbps but How i would know that port is of capacity 1000mbps or not?
how to find out the how many disks attached in the server?
What is Sun Explorer ?
Command to find the VCS status
hi frnds I created sparse root zone, in that zone when i try to change the passwd it is giving permission denied. what is the reason and how to chnage the root passwd in the zone. can u please explain the query.
please post the step by step commands to take a back of directories or files in a CDROM\DVDROM\TAPE(DDS)
how to add an user without using "useradd" command in solaris10?
How to scan newly added disks to system?
what are the alarms in solaris?
What is different between crontab and at command?
How to increase the size of the file system?