how can I see the current hardware


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting how can I see the current hardware
# 1  
Old 04-02-2007
Question how can I see the current hardware

hi
how can I see the current hardware, disk size, RAM size, utilisation & installed software in the PC where the shell is running by using the shell program?

request all for help

Thank You
# 2  
Old 04-02-2007
Quote:
Originally Posted by nokia1100
hi
how can I see the current hardware, disk size, RAM size, utilisation & installed software in the PC where the shell is running by using the shell program?

request all for help

Thank You
uname -a -->gives u the OS u r running

echo $shell -->will gives ur shell path

echo $0 -->tells u which shell u r in now

you can use these command to know ur disk space...

df --> tells you the free as well as used disk space

df -ivt--> gives more detailed info.

/etc/dfspace -->gives u the space for the root file system.

you can also try this

du -- > gives disk space used by specified files and directories..
# 3  
Old 04-02-2007
thanks guru kumarsaravana_s
# 4  
Old 04-03-2007
Linux :
Code:
cat /proc/cpuinfo

get CPU info
Code:
cat /proc/meminfo

get RAM info
Code:
free

shows the free memory
Code:
sysctl -a|fgrep tcp

get TCp info
Code:
ntsysv

deamons info
Solaris :
Code:
prtconf, prtdiag, showrev, psrinfo -v

Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Sun M5000 hardware domain creation - How to keep current OS?

Hi, This Sun M5000 currently has a single domain (0) created. Solaris 10 is installed on this domain with some local zones. Now we need to add a secondary hardware domain (1) to this M5000. My question: Can we keep the current OS settings on domain 0 when adding the secondary domain 1? Thank... (5 Replies)
Discussion started by: aixlover
5 Replies

2. UNIX for Advanced & Expert Users

Sun M5000 hardware domain creation - How to keep current OS?

Hi, This Sun M5000 currently has a single domain (0) created. Solaris 10 is installed on this domain with some local zones. Now we need to add a secondary hardware domain (1) to this M5000. My question: Can we keep the current OS settings on domain 0 when adding the secondary domain 1? ... (0 Replies)
Discussion started by: aixlover
0 Replies

3. Solaris

Hardware faulty, but which hardware?

Hi folk, I have this hardware faunty message, but dont know which hardware is this ? can you guide me ? --------------- ------------------------------------ -------------- --------- TIME EVENT-ID MSG-ID SEVERITY ---------------... (9 Replies)
Discussion started by: dehetoxic
9 Replies

4. AIX

New Hardware

Can someone help me with what I am guessing is a simple job for an AIX admin. However I am 100% HP-UX and not touched AIX before the start of this week. I am trying to connect an IBM Blade (JS22) to our HP Enterprise Tape Library. I have done all the SAN zoning and this appears to be happy... (5 Replies)
Discussion started by: Andyp2704
5 Replies

5. Shell Programming and Scripting

Finding files in current directory when 100,000's files in current directory

Hi All I was wondering what is the most efficient way to find files in the current directory(that may contain 100,000's files), that meets a certain specified file type and of a certain age. I have experimented with the find command in unix but it also searches all sub directories. I have... (2 Replies)
Discussion started by: kewong007
2 Replies

6. Solaris

Hardware

Hi, I'm looking to run Sun Solaris 8 or 9, but have been running windows :mad: .can anyone give me advice about the hardware needed for solaris and possably any software i may need, the type of model and where i may be able to buy these within the uk. :confused: ... (3 Replies)
Discussion started by: franz
3 Replies

7. Programming

C and hardware !

Hello ! I have a friend , in one day he tell me this : some guy made a cool program in C , for some sort or hardware control . I say : wow ! Maybe someone , can give me an example , how can C control hardware so good ( as I hear ) , and maybe some cool information , where to learn the idea ,... (1 Reply)
Discussion started by: !_30
1 Replies

8. UNIX for Dummies Questions & Answers

Per and Hardware

Is it possible to use Perl to work with hardware? Or is it strictly for text processing. (1 Reply)
Discussion started by: Luftwaffe
1 Replies

9. UNIX Desktop Questions & Answers

hardware 3d

How do I check my system to see if the graphics are using hardware 3d suport or not. I have a TNT2 on RH 7.1 kernel 2.4.9-?(can't remember off top of my head)I'm running all the latest updates from RH. Also I now have a dvd drive and I am trying to find a player that will play all movies and not... (1 Reply)
Discussion started by: MaxCat
1 Replies

10. UNIX for Dummies Questions & Answers

Hardware

Hi I have a problem to start up my Solaris Ultra 5. When it boots up I get a strange clicking sound, sounds like the hard drive that is "thinking" very hard. On the screen I get these messages: Boot device: Files and Args: Please check cable and try again Network link setup fail Time out... (8 Replies)
Discussion started by: Orange
8 Replies
Login or Register to Ask a Question