System Information Related Commands

Show architecture of machine
# arch

Show the timetable of 2007
# cal 2007

Show information CPU info
# cat /proc/cpuinfo

Show interrupts
# cat /proc/interrupts

Verify memory use
# cat /proc/meminfo

Show file(s) swap
# cat /proc/swaps

Show version of the kernel
# cat /proc/version

Show network adpters and statistics
# cat /proc/net/dev

Show mounted file system(s)
# cat /proc/mounts

Save date changes on BIOS
# clock -w

Show system date
# date

set date and time - MonthDayhoursMinutesYear.Seconds
# date 041217002007.00

Show hardware system components - (SMBIOS / DMI)
# dmidecode -q

Displays the characteristics of a hard-disk
# hdparm -i /dev/hda

Perform test reading on a hard-disk
# hdparm -tT /dev/sda

Display PCI devices
# lspci -tv

Show USB devices
# lsusb -tv

Show architecture of machine
# uname -m

Show used kernel version
# uname -r

2 comments:

Anonymous said...

command "arch" doesn't work in Arch

Anonymous said...

#arch woks everywhere in UNIX