Sunday, January 24, 2016

Main Differences Between Linux & Solaris


LinuxSolaris
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/CentOS/CoreOS/Fedora), Novel (SUSE), Canonical (Ubuntu), Oracle (OEL), 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.

2 comments:

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.
ATTEND FREE WEBINAR ON 19th JULY FOR IBM TIVOLI.
For Demo Contact us.
Avishek Priyadarshi
MaxMunus
E-mail: avishek@maxmunus.com
Skype id: avishek_2.
Ph:(0) 8553177744 / 080 - 41103383
www.MaxMunus.com

Unknown said...


Nice blog..! I really loved reading through this article. Thanks for sharing such
a amazing post with us and keep blogging...

solaries administration training in hyderabad