jueves, febrero 09, 2006

Migrando de Solaris a Linux

Siempre se dice que si uno conoce los comando de Linux entonces ya sabe los comandos de Unix eso es cierto en parte ya que no todos los comandos son iguales para esto felizmente IBM ya saco la actualización de su RedBook : Solaris to Linux Migration: A Guide for System Administrators por ejemplo:

En el Capituló 9 : Manejando recursos del Sistema

Table 9-1 System information commands

System information task
Solaris
Linux
List system information
uname
uname
List processor information
psrinfo
cat /proc/cpuinfo
List system memory size
prtconf | grep Memory
cat /proc/meminfo | grep MemTotal
List disk space usage
df
df
List file space usage
du
du
List physical disks
format
fdisk -l
Show the system's host name
hostname
hostname
List system's network configuration
ifconfig
ifconfig
List active processes
prstat
ps -e
List system configuration
prtconf
In Red Hat: lshal
In Novell SUSE: hwinfo
List system diagnostic information
prtdiag
In Red Hat: lspci and /proc/* files
In Novell SUSE: hwinfo