Question:
Unix/Linux command help?
Licursi
2008-01-08 07:11:20 UTC
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!
Four answers:
berticus_aurelius
2008-01-08 07:22:43 UTC
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
sydney_22_f
2008-01-08 07:16:13 UTC
check uname and all its attributes. It should provide you with all the answers.



my system

Server1 > uname -X

System = SunOS

Node = Server1

Release = 5.8

KernelID = Generic_108528-27

Machine = sun4u

BusType =

Serial =

Users =

OEM# = 0

Origin# = 1

NumCPU = 2
?
2016-10-22 09:08:41 UTC
possibly they're speaking approximately how instructions are frequently typed... in many cases you will in simple terms type a command, then put in any thoughts you % to apply, in many cases preceded via a splash ("-").
2008-01-08 07:14:49 UTC
df -h will let you know how much hardspace you have


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...