How to find out the system resources ?

Hi,

I am using SunOS.
How can I find out the system environment using unix commands ?
Eg:

I would like to findout the following things:
1. No. of CPUS
2. RAM size
3. When the session was logged in
LVL 4
sgantaAsked:
Who is Participating?
 
kawinConnect With a Mentor Commented:
Which version of SunOS?

For SunOS 5.x
CPU: psrinfo -> show cpu information (number of cpu/speed/status)
MEM: Check in "dmesg" or "/var/adm/messages".

Number of logged in session you must use "ps" and "grep" telnet session, or use "netstat -na | grep 23" (Check number of connection on port 23-port telnet)

TIP: If you use sun4d, or sun4u you can use /usr/platform/sun4d<or sun4u>/sbin/prtdiag. It will show many usefull information about CPU, Memory, etc.

0
 
sgantaAuthor Commented:
Sun OS Version 5.6
0
 
sgantaAuthor Commented:
Hi Kawin,

Thanks for your answers.

Regards
sganta
0
All Courses

From novice to tech pro — start learning today.