Thursday, July 30, 2009

Unix/Linux command help?

What unix commands would you type to find out:





1. Operating System? (ie linux...)


2. Amount of Memory


3. Type of Hardware (opteron, intel, etc...)


4. #cpus





Thanks!

Unix/Linux command help?
1. uname -a


2. df -h (for hard drive space)


free -m (shows amount of RAM remaining)


grep MemTotal /proc/meminfo (total amount of RAM)


3. grep "model name" /proc/cpuinfo


lspci (shows things plugged into pci)


lsusb (shows connected usb devices)


4. grep "model name" /proc/cpuinfo
Reply:check uname and all its attributes. It should provide you with all the answers.





my system


Server1 %26gt; uname -X


System = SunOS


Node = Server1


Release = 5.8


KernelID = Generic_108528-27


Machine = sun4u


BusType = %26lt;unknown%26gt;


Serial = %26lt;unknown%26gt;


Users = %26lt;unknown%26gt;


OEM# = 0


Origin# = 1


NumCPU = 2
Reply:df -h will let you know how much hardspace you have


No comments:

Post a Comment