This content has been marked as final. Show 6 replies
972640 wrote:Depending on which +"SunOS"+ you are actually using, there may or there may not be such a command. However, you chose to keep that information a secret.
Help me to find the no of CPU's in my SunOS server (command).
Edited by: 972640 on Nov 21, 2012 10:37 PM
At a command prompt, do:
<pre> uname -a</pre>
then paste the results back to a reply in this forum thread.
After that, you might have someone think about replying with assistance.
uname -aSunOS server801 5.10 Generic_142900-14 sun4u sparc SUNW,SPARC-Enterprise
You can begin with using the prtdiag command in verbose mode:
As any normal user, you will get an output report. If you do it as rout user, you will get a report with more extensive information.
Since you are using Solaris 10, then the processor information command is in your OS release.
which will additionally show you any virtual processors your system architecture might (or may not) happen to have. I don't think your box happens to have any virtual processors. It's too old a CPU design.
In any event, go read the man pages for the commands to learn more about them.
Please check the below result of the commands given. guide if I have change any settings to make the command work properly.
orabp1> uname -a
SunOS server801 5.10 Generic_142900-14 sun4u sparc SUNW,SPARC-Enterprise
orabp1> prtdiag -v
ksh: prtdiag: not found
orabp1> psrinfo -pv
ksh: psrinfo: not found
Thursday, November 22, 2012 10:38:04 PM PST
Edited by: 972640 on Nov 22, 2012 10:40 PM
Your forum post reply shows that you're attempting to use those commands while a normal user. Neither command is in your user's normal command path. You could have used the FIND command to locate them yourself. But ...
PRTDIAG can be found in the */usr/platform/sun4u/sbin* directory of your particular system.
Thus you'll need to type absolute path to get it to run.
I'll leave you to locate psrinfo by your own efforts.
Thanks for the commands its working fine as root user.