How to read prtctl output - Solaris10g - help please ...


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users How to read prtctl output - Solaris10g - help please ...
# 1  
Old 08-19-2010
How to read prtctl output - Solaris10g - help please ...

Hi all,

Can someone please explain how to read/interpret the prtctl -i project default output?

Am mainly trying to look for the equivalent Solaris10 information of the old tunables seminfo and shminfo.

According to some docs that I found, seminfo_semmni for example is supposed to correspond to zone.max-sem-ids, but I don't know how to correlate 16.8M to the old tunable value of 10? Does the M megabyte or millions? Output of prtctl below shows K, EB, G, GB among others. So if GB is gigabyte, what is G ... am confused ... waaahhh SmilieSmilieSmilie ... Am expecting to see the default value of 128 but see 16.8M instead?

Am also looking for the information on maxuprc and maxusers, and according to the docs maxuprc is zone.max-lwps which is 2.15G below, what does that mean, 2.15 gigabyte?

Any prompt response/advise or link to where I can information on what the G, MB, EB, G, GB means, it will be very much appreciated. I've already been on the Solaris/Oracle website "hunting" for docs and none of them mention what these unit of information means and my SA don't know what they mean either ... SmilieSmilieSmilie

FYI, this server is part of a cluster, that is, it is one zone out of a global zone. Our SA said, the "effective" values for each server are the zone values not the project values, is that correct?

Pleasseeee hellllppp ....

Code:
zone.max-sem-ids
        system          16.8M     max   deny                                 -
zone.max-lwps
        system          2.15G     max   deny                                 -

prtctl -i project default = Output as below:

Code:
project: 3: default
NAME    PRIVILEGE       VALUE    FLAG   ACTION                       RECIPIENT
project.max-contracts
        privileged      10.0K       -   deny                                 -
        system          2.15G     max   deny                                 -
project.max-device-locked-memory
        privileged      5.87GB      -   deny                                 -
        system          16.0EB    max   deny                                 -
project.max-locked-memory
        system          16.0EB    max   deny                                 -
project.max-port-ids
        privileged      8.19K       -   deny                                 -
        system          65.5K     max   deny                                 -
project.max-shm-memory
        privileged      23.5GB      -   deny                                 -
        system          16.0EB    max   deny                                 -
project.max-shm-ids
        privileged        128       -   deny                                 -
        system          16.8M     max   deny                                 -
project.max-msg-ids
        privileged        128       -   deny                                 -
        system          16.8M     max   deny                                 -
project.max-sem-ids
        privileged        128       -   deny                                 -
        system          16.8M     max   deny                                 -
project.max-crypto-memory
        privileged      23.5GB      -   deny                                 -
        system          16.0EB    max   deny                                 -
project.max-tasks
        system          2.15G     max   deny                                 -
project.max-lwps
        system          2.15G     max   deny                                 -
project.cpu-cap
        system          4.29G     inf   deny                                 -
project.cpu-shares
        privileged          1       -   none                                 -
        system          65.5K     max   none                                 -
zone.max-swap
        system          16.0EB    max   deny                                 -
zone.max-locked-memory
        system          16.0EB    max   deny                                 -
zone.max-shm-memory
        system          16.0EB    max   deny                                 -
zone.max-shm-ids
        system          16.8M     max   deny                                 -
zone.max-sem-ids
        system          16.8M     max   deny                                 -
zone.max-msg-ids
        system          16.8M     max   deny                                 -
zone.max-lwps
        system          2.15G     max   deny                                 -
zone.cpu-cap
        system          4.29G     inf   deny                                 -
zone.cpu-shares
        privileged          1       -   none                                 -

Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Read line and print output

need help to print the below .. Content of file looks like below .. SCHEMA1. TABLE1 SCHEMA2. TABLE2 SCHEMA3. TABLE3 read lines from above file and print o/p as below print output like read 1st line and print SELECT SCHEMA1.TABLE1 print output like read 2st line and print ... (4 Replies)
Discussion started by: rocking77
4 Replies

2. Shell Programming and Scripting

Output read variable

Hi all, how read varaible and ouput in colum, e.g. $ echo $VAR1 opc op odi games gopher vcsa abrt I like $ echo $VAR1 opc op odi games gopher vcsa abrt (3 Replies)
Discussion started by: aav1307
3 Replies

3. UNIX for Advanced & Expert Users

ls output into a read command as a variable

I'm working on a short BASH script on my Ubuntu box that will run powerpoint scripts with MS Powerpoint Viewer 2007 via WINE. I can run the presentation when I run it manually but what i'd like to do is have the script look for the newest file then run it. #! /bin/sh # Start the newest... (2 Replies)
Discussion started by: binary-ninja
2 Replies

4. Shell Programming and Scripting

How to read file and only output certain content

Hi - I have a file containing data like :- cn=tommy,cn=users,c=uk passwordexpirydate=20100530130623z cn=jane,cn=users,c=uk passwordexpirydate=20100423140734z cn=michael,cn=users,c=uk passwordexpirydate=20100331020044z I want to end up with a file that looks like:-... (6 Replies)
Discussion started by: sniper57
6 Replies

5. Emergency UNIX and Linux Support

Read file and change a 0 to a 1 in output

<key>ExcludeSimpleHostnames</key> <integer>0</integer> <key>FTPPassive</key> Need simple command that will change the 0 to a 1 in this file when I grep it, but only for this integer key directly after the ExcludeSimpleHostnames key. I got this output code... (8 Replies)
Discussion started by: glev2005
8 Replies

6. Shell Programming and Scripting

While read do, then echo, gives double output

Sorry about the title, but this should be fairly self-explanatory. My script seems to work, except that in the output, below, the first three lines are correct, but why does it print the additional lines 4, 5, & 6? Script: #!/bin/bash while read; do client="$(grep -m 1 Client | awk... (3 Replies)
Discussion started by: MrKen
3 Replies

7. Shell Programming and Scripting

read output in ?

hi all! im making a program to update a file on a usb device. but the mount point is different from computer to computer depending on drives, now im updating the changes.lzm on a usb system based on slax. called backtrack, so thers a folder on the root of the memory stick called BT3. and i know... (3 Replies)
Discussion started by: pcstalljr
3 Replies

8. Shell Programming and Scripting

Read output of mii-tool

I am trying to create a small install script for gentoo. I am trying to research how to pass on information from a command i.e. mii-tool to autodiscover my network settings. for instance ~ # mii-tool eth0: no autonegotiation, 100baseTx-HD, link ok eth1: 10 Mbit, half duplex, no link ... (1 Reply)
Discussion started by: picoaeterna
1 Replies

9. Shell Programming and Scripting

Piping output to while read

Hi. Im using cat to output the contents of a file, then piping it to my while read loop.In this loop variables get assigned values. However when i try to use the variables outside the loop their values has been reset.I understand about subshells etc. but I have no idea how to "preserve" the... (3 Replies)
Discussion started by: Ultimodiablo
3 Replies

10. Shell Programming and Scripting

store output to a file and read from it

Hello all, I need to run snoop command for a period of time (a day) and extract remote host column from it to find out who is accessing my server. When I run the following on the command line it works snoop -port 22 | awk '{print $3}' but when I do snoop -port 22 | awk '{print $3}' | while... (2 Replies)
Discussion started by: afadaghi
2 Replies
Login or Register to Ask a Question