Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Server info

Status
Not open for further replies.

gman789

Technical User
May 12, 2005
8
US
I need to gather the following information on a Solaris 2.8 server:

*Processor speed
*allocation of memory for all applications running on the server
*max number of concurrent connections or logins allowed
*is the server raid configured

I have limited experience with UNIX and do not know the commands to gather this info.
 
Here is 2 of the 4
1) Processor Speed - From the ok> prompt type command banner
2) Application Memory use: prstat
 
prtdiag will show the processor speed without having to drop the server to the OK prompt
 
prstat -s size (sort by memory size)
ulimit -a (show system limitations) not sure of connections though
metastat (will show display strips, mirrors, RAID and so on)
prtdiag as slyork says
 
*Processor speed = `psrinfo`
*allocation of memory for all applications running on the server = (not sure what you want) `ipcs -a`
*max number of concurrent connections or logins allowed = (do you mean tcp?) Look for tcp_conn settings on your NIC card. The values are documented on docs.sun.com. If you want max number of user logins "The default maximum number of /dev/pts devices the system can support is determined at boot time by computing the number of pty structures that can fit in a percentage of system memory"
*is the server raid configured = `raidctl` or `metastat`
 
Or for number of logins here is a more complete explanation from Sun documentation.

pt_max_pty
Description Maximum number of ptys the system offers.

Data Type Unsigned integer

Default 0 (Uses system defined maximum)

Range 0 to MAXUINT

Units logins/windows

Dynamic? Yes

Validation None

Implicit Should be greater than or equal to pt_cnt.Value is not checked until the number of ptys allocated exceeds the value of pt_cnt.

When to Change When you want to place an absolute ceiling on the number of logins supported even if the system could handle more based on its current configuration values.

Commitment Level Unstable

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top