Monday, September 8, 2014

utos ng linux

to know if 32 or 64 bit
[enad@testserver installers]# getconf LONG_BIT
32

processor info
[enad@testserver installers]# cat /proc/cpuinfo
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 6
model           : 23
model name      : Intel(R) Xeon(R) CPU           E5420  @ 2.50GHz
stepping        : 6
cpu MHz         : 2500.042
cache size      : 6144 KB
physical id     : 0
siblings        : 4
core id         : 0
cpu cores       : 4
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 10
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 ht tm pbe lm constant_tsc pni monitor ds_cpl est tm2 xtpr
bogomips        : 5003.00

processor       : 1

vendor_id       : GenuineIntel
cpu family      : 6
model           : 23
model name      : Intel(R) Xeon(R) CPU           E5420  @ 2.50GHz
stepping        : 6
cpu MHz         : 2500.042
cache size      : 6144 KB

to know if python is installed
[root@testserver tilecache-2.11]# whereis python

python: /usr/bin/python2.3 /usr/bin/python /usr/lib/python2.3 /usr/include/python2.3 /usr/share/man/man1/python.1.gz

[root@testserver tilecache-2.11]# which python
/usr/bin/python