Sunday, January 24, 2016

Main Differences Between Linux & Solaris

Default Shell/bin/bash (/bin/sh would typically symlinked to bash)/bin/sh

File System
Ext2/3/4 or XFS (RHEL 7)
UFS - Unix File System and VxFS,QFS & ZFS (Solaris 10 onwards) also supported.

/procHolds system hardware, proces details, kernel and tunnable files.Only holds process details (can't tuneup kernel parameters here). There is /platform directory which hold system (h/w) details.
Log FilesUsually under /var/log/var/log stores syslog and authlog files. /var/adm stores messages file.
Package Add/Removerpm -i & rpm -e (otherwise using "yum")pkgadd & pkgrm
Logical Volume On BootLVM and RAID are supported during installation.No LVM & RAID option during installation.
Auto-InstallKickstart (RHEL) & AutoYAST(SLES)Jumpstart
Device Creationudev would manage device creation dynamically.devfsadm
Partition Creation Commandsfdisk or parted format or fmthard
Create Filesystem Commandmkfs or mkfs.ext3 or mke2fs -j or partednewfs or mkfs
/tmpIt is disk file system and peristent across reboots.This is a virtual file system based on tmpfs.
Swap Commandsmkswap & swaponUsing "swap" commands
Processor DetailsUsing commands "mpstat", "lscpu" or "cat /proc/cpuinfo" or "dmideocde -t processor"psrinfo or mpstat
Current ProcesessOne could use "ps -ef" or "top" to get all the details.Using "prstat" command
File System Mount Table/etc/fstab/etc/vfstab
Memory (RAM) DetailsUsing "free", "cat /proc/meminfo", "dmidecode --type memory"Using "prtconf" command
Start ServiceUsing "service <servicename> start/restart/stop" Using "svcs" commands and "svcadm enable/disable <servicename>"
Change In Runlevel"init 5" switches to GUI mode."init 5" would shutdown a system.
Major VendorsRed Hat (RHEL/Fedora), Novel (Suse), Canonical (Ubuntu), Oracle (OEL), CentOS Project,Patrick Volkerding (Slackware), BOSS (Bharat Operating System Solutions) etc.Oracle Corp (originally developed by Sun Microsystems).

*comparisons made between Oracle Solaris & Linux (Red Hat variants), and operation based.


Avishek Priyadarshi said...

I really appreciate the information shared above. It’s of great help. If someone want to learn Online (Virtual) instructor lead live training in IBM TIVOLI kindly Contact MaxMunus
MaxMunus Offer World Class Virtual Instructor-led training on IBM TIVOLI. We have industry expert trainer. We provide Training Material and Software Support. MaxMunus has successfully conducted 1,00,000 + training in India, USA, UK, Australia, Switzerland, Qatar, Saudi Arabia, Bangladesh, Bahrain, and UAE etc.
For Demo Contact us.
Avishek Priyadarshi
Skype id: avishek_2.
Ph:(0) 8553177744 / 080 - 41103383

Linux Certification said...

Nice blog. I learned something today by reading this. I really appreciate your efforts and I am waiting for your further post thanks once again.
Linux Online Training
Linux Training in Hyderabad
Linux Online Training in India

sunitha vishnu said...

It is amazing and wonderful to visit your site.Thanks for sharing this information,this is useful to me...
Android Training in Chennai
Ios Training in Chennai

Online Sap Trainers said...

Nice blog post!!! Very informative and appreciable . keep going on. I really read it.

Best sap institute in India ,SAP online training & sap training courses
SAP ABAP on HANA Online Training
sap hana online training
sap S/4 HANA training online
SAP UI5 Online Training in India
Learn SAP online
sap fiori training online
sap fico training online