what is the command for listing the device specs in solaris

Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers what is the command for listing the device specs in solaris
# 1  
Old 08-21-2001
what is the command for listing the device specs in solaris

Im looking to get the statistics on a machine

memory, cpu speed drive size etc

thanks in advance
# 2  
Old 08-21-2001
prtconf will show total memory

/usr/platform/{platform-name}/sbin/prtdiag will give cpu info, as will mpstat (use uname -m to determine the platform-name)

df -k will show the mounted file systems, and typically adding up the "kbytes" column will show disk size. format can also be used but must be run as root.

dmesg will also pull a bunch of info out of the /var/adm/messages file if the box has been booted relatively recently.I hope that helps.
# 3  
Old 08-22-2001

If you have any remotely mounted filesystems (NFS, etc...) that are mounted OVER data in a directory, df -k will show the space as used, but it will be hard to account for unless you umount them and look for the "hidden" files.

A good tip from Unix Hints and Hacks - good sysadmin reference book.

# 4  
Old 08-22-2001
You can use iostat -En to find out the disk drive size. psrinfo -v is another to know the cpu size and status of the CPU.
Login or Register to Ask a Question

Previous Thread | Next Thread

5 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Command to see the logical volume path, device mapper path and its corresponding dm device path

Currently I am using this laborious command lvdisplay | awk '/LV Path/ {p=$3} /LV Name/ {n=$3} /VG Name/ {v=$3} /Block device/ {d=$3; sub(".*:", "/dev/dm-", d); printf "%s\t%s\t%s\n", p, "/dev/mapper/"v"-"n, d}' Would like to know if there is any shorter method to get this mapping of... (2 Replies)
Discussion started by: royalibrahim
2 Replies

2. UNIX for Dummies Questions & Answers

Port listing Solaris and Linux

I'd like to list all ports and the services allocated to them: 1) What commands will do this on Solaris 10 and Linux? 2) Is there a file containing the port/service mapping? (1 Reply)
Discussion started by: squrcles
1 Replies

3. UNIX for Dummies Questions & Answers

Help on ps tree listing command - Linux/Solaris

Hi all, Can any guru please help on how I can tweak the following ps command so that it only shows the lines that I wanted. $ command ps -HAcl -F S -A f F S UID PID PPID CLS PRI ADDR SZ WCHAN RSS PSR STIME TTY TIME CMD 4 S root 1 0 TS 24 - 2592 ? ... (3 Replies)
Discussion started by: newbie_01
3 Replies

4. Solaris

Solaris Specs

Hi, I have been requested for a complete hardware specs of Solaris 9 OS, and I need to do this for some 56 servers. I was wondering if someone has some script will which pull everything, or a list of commands which could provide me all the details. I would need CPU, memory, disk utilization... (7 Replies)
Discussion started by: john_prince
7 Replies

5. Solaris

Listing application installed on a Solaris box

I am trying to list all the applications that is installed on my sun solaris box. I have used the command pkginfo but it only give me the applications that was bundled with solaris. This machine runs oracle and pkginfo command does not list that. Any idea to get to list all the applications... (1 Reply)
Discussion started by: ibroxy
1 Replies
Login or Register to Ask a Question