コマンドラインからCPUとメモリの性能を見るには、/proc/cpuinfoと、 /proc/meminfoのファイルを閲覧してやればいいです(^^)
CPUの性能チェック
$ cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 23
model name : Intel(R) Core(TM)2 Quad CPU Q9400 @ 2.66GHz
stepping : 10
cpu MHz : 2660.030
cache size : 3072 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 13
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss nx constant_tsc up arch_perfmon pebs bts xtopology tsc_reliable aperfmperf pni ssse3 sse4_1 hypervisor
bogomips : 5320.06
clflush size : 64
cache_alignment : 64
address sizes : 40 bits physical, 48 bits virtual
#メモリの容量を確認
$ cat /etc/meminfo
~$ cat /proc/meminfo
MemTotal: 509240 kB
MemFree: 50796 kB
Buffers: 36988 kB
Cached: 160704 kB
SwapCached: 1888 kB
Active: 191044 kB
Inactive: 226124 kB
Active(anon): 96632 kB
Inactive(anon): 131360 kB
Active(file): 94412 kB
Inactive(file): 94764 kB
Unevictable: 16 kB
Mlocked: 16 kB
HighTotal: 0 kB
HighFree: 0 kB
LowTotal: 509240 kB
LowFree: 50796 kB
SwapTotal: 1489912 kB
SwapFree: 1483168 kB
Dirty: 56 kB
Writeback: 0 kB
AnonPages: 218052 kB
Mapped: 57052 kB
Shmem: 8516 kB
Slab: 27664 kB
SReclaimable: 19848 kB
SUnreclaim: 7816 kB
KernelStack: 2008 kB
PageTables: 5316 kB
NFS_Unstable: 0 kB
Bounce: 0 kB
WritebackTmp: 0 kB
CommitLimit: 1744532 kB
Committed_AS: 831560 kB
VmallocTotal: 507896 kB
VmallocUsed: 6544 kB
VmallocChunk: 496448 kB
HardwareCorrupted: 0 kB
HugePages_Total: 0
HugePages_Free: 0
HugePages_Rsvd: 0
HugePages_Surp: 0
Hugepagesize: 4096 kB
DirectMap4k: 16384 kB
DirectMap4M: 507904 kB