Rosetta Stone for Unix

Total Page:16

File Type:pdf, Size:1020Kb

Rosetta Stone for Unix Rosetta Stone for Unix This custom drawing feature now works in Mozilla/Firefox, in Opera 7.0 or better, and in IE 5 or better. Use click, shift-click, control-click, and the "set" and "clear" buttons to select the desired subset of OSs. Then select "Draw table" to redraw the window with your custom table. A Sysadmin's Unixersal Translator (ROSETTA STONE) OR What do they call that in this world? Contributions and corrections gratefully accepted. Please help us fill in the blanks. New "tasks" are welcome, too! PDF version (for best results print US legal size, landscape orientation. If your browser plug-in has trouble with the PDF, then download it and load it in stand-alone acroread). Framed version. OS versions in parentheses; e.g. 10+ means version 10 and greater; 9- means version 9 and previous. $=extra cost. (obs) = obsolete If not specified, commands are in one of the following directories: /usr/bin, /usr/sbin, /bin, /sbin Files referenced may be either commands, configuration files, or directly-referenced text files. Use the man command to read the man pages for details such as command options. Categories: hardware, firmware, devices disks kernel, boot, swap files, volumes networking security, backup software, patching, tracing, logging references TASK \ OS AIX A/UX DG/UX FreeBSD HP-UX IRIX Linux Mac OS X NCR Unix NetBSD OpenBSD Reliant SCO OpenServer Solaris SunOS 4 Tru64 Ultrix UNICOS OS / TASK (rh) = Red Hat, Fujitsu Siemens. Cray Inc., formed Mandrake, SUSE,... Derived from 4.4BSD- Forked from NetBSD in Originally called SINIX. Solaris 2.0-2.6, 7, 8, 9, 10 By IBM, with input from Apple 1988-1995. Based Derived from 4.4BSD-Lite and (deb) = Debian, Libranet,... SCO UnixWare 7.0.1& SCO from the March Darwin is the Open Source Lite and 386BSD. This 1995. Security emphasis. Based on DC/OSX from OpenSolaris (Digital Unix, OSF/1) An early DEC Unix, System V, BSD, etc. Runs on AT&T SysV.2.2 with Data General was aquired 386BSD. This table does not (fed) = Fedora UnixWare 7.1.1 became Caldera Solaris 1.* 2000 merger of OS notes Hewlett-Packard. SGI. SVR4-based foundation for Mac OS X, aka MP-RAS table does not include This table does not Pyramid, SINIX (SunOS 5.*) (4)= 4.0F/G superceded by Digital OS notes mainly on IBM RS/6000 and extensions from V.3, V.4, by EMC in 1999. include external packages from (gen) = Gentoo Open Unix and later became BSD-based Tera Computer descended from NeXTStep external packages from include external packages from Siemens, and SVR4. SVR4-based (5)= 5.0A Unix (now Tru64). related hardware. and BSD 4.2 and 4.3 /usr/ports. (md) = Mandrake/Mandriva SCO again. SVR4-based. Company and Cray (SUSE) = SUSE /usr/pkg. from /usr/ports. To be replaced with Research Solaris by 2008. (rh, FC2+, RHEL4+) system- /stand/sysinstall config* /usr/sysadm/bin/sysmgr solstice smit pw (rh) redhat-config* sysadm checklist (6.3+) Aqua: System Preferences, admintool checklist administrative GUI smitty Finder sysadm adduser rmuser sam linuxconf (obsolete) sysadm sushi (obs) ? WebSysAdmin scoadmin ? ? /etc/install/install administrative GUI toolchest NetInfo Manager smc (8 01/01+) (5) sysman wsm vipw (SUSE) yast2 xmenu /usr/Cadmin/bin/* chpass (deb) dpkg-reconfigure (md) drakconf useradd (5+) /usr/sysadm/privbin/ userdell (5+) useradd useradd useradd useradd addUserAccount useradd usermod (5+) adduser usermod useradd userdel userdel adduser xadmin Finder useradd Aqua: System userdel sysadm scoadmin lsuser useradd rmuser userdel userdel userinfo usermod edit /etc/passwd and userdel adduser udbgen managing users /etc/adduser userdel passmgmt Preferences / Accounts adduser (interactive) useradd useradd managing users mkuser userdel pw adduser usermod usermod logins create home directory removeuser removeuser udbrstrict edit /etc/passwd usermod niutil usermod userdel userdel chuser vipw chage sysadm user /usr/sadm/bin/smuser (9+) dxaccounts nu scripts /usr/Cadmin/bin/cpeople user rmuser vipw groupadd usrck TASK \ OS AIX A/UX DG/UX FreeBSD HP-UX IRIX Linux Mac OS X NCR Unix NetBSD OpenBSD Reliant SCO OpenServer Solaris SunOS 4 Tru64 Ultrix UNICOS OS / TASK dmesg (if you're lucky) prtconf -v cat /var/log/dmesg ioscan /usr/platform/`uname -i`/ dia -R full /proc/* dmesg (if you're lucky) sbin/prtdiag -v (sun4u and sun4d only) vmstat -P lshw hwconfig adb autoconf -l arch -k hwmgr -get category sysctl -a dmidecode sysctl hw hw prtconf model prtconf dmesg showconf psrinfo -v (5) hwmgr -show machid dmesg hinv lspci hostinfo dmesg scoadmin/DCU lscfg stm (from the SupportPlus CDROM) devstat more uname -p isainfo -v devices dmesg (if you're getconf list hardware configuration ? dg_sysreport -g hardware cat /var/run/dmesg.boot lspnp ioreg -bls cat /var/run/dmesg.boot dmesg (if you're lucky) list hardware configuration lsattr bdf (like most vendors' df) machinetype /var/run/dmesg.boot uname -M dmesg psrinfo lucky) uname -a pciconf -l sysinfo -vv lsscsi system_profiler pcidump /usr/lib/X11/testtools/ lsdev getconf more /etc/.osm cat /kern/msgbuf mpcntl -I iostat -En pset_info eeprom (SPARC only) lsusb acpidump z35SysInfo machinfo (11.23+) prtfru sys_check lsmod print_manifest cfgadm -l /usr/bin/X11/dxsysinfo (SUSE) hwinfo /etc/path_to_inst /sys/devices/* system_profiler uname -u SPHardwareDataType | unique id useful for licensing uname -m ? ? ? uname -i ? ? grep "Serial Number:" | ? ? ? ? ? hostid hostid ? ? ? unique id useful for licensing lsattr -El sys0 -a systemid awk '{print $3}' show/set nvram /dev/nvram (if you have it) in bdm show/set dg_sysctl | setboot eeprom EEPROM/NVRAM bootlist -o -m normal n/a ? printenv/setenv (at hwclock nvram ? eeprom (at boot stop ? eeprom eeprom (4.0D+) consvar ? ? EEPROM/NVRAM grep BOOTPATH stm values command monitor) nvsetenv or ctrl-a) values (3.2.*) scu scan edt udev (2.6+) devfsadm. pre-Solaris 7 HW 11/99, use: (4.0) scu scan edt; disklabel -rw inf -e scsiha -pr modprobe camcontrol drvconfig; devlinks; {disks, tapes, ports} rzXX label (for disks) ioscan -fnC devtype; ioconfig -f /hw kerneld (automatic — devmgmt scsictl reinitdev add device without reboot cfgmgr -v ? N/A atacontrol (auto-detected) mkdev /dev/MKDEV (5.x) dsfmgr -k; disklabel -rw /dev/MAKEDEV ? add device without reboot insf -C devtype scsiadminswap insmod autdodiskmounter) mktable atactl changedev kldload /usr/lib/symsm/bin/hot_add (RDAC) dskn auto -b bus -p hotplug /etc/symsm/rmparams (RDAC) hwmgr -scan scsi cardctl remove device rmdev ? ? ? rmsf ? ? ? ? ? ? ? ? devfsadm ? ? ? ? remove device /dev/ios0/rstape001 /dev/nrmtXh where /dev/tape tape device /dev/rmt0 /dev/rdsk/c8d?s0 /dev/rmt/0 /dev/rsa0 /dev/rmt/0m /dev/st0 ? /dev/rmt/c* /dev/st0 /dev/[e][n][r]st[0-9]* autoconf -1 | /dev/rct0 /dev/rmt/0 /dev/rst0 (5.x) /dev/ntape /dev/tape n=non-rewinding, X a tpmnt tape device /dev/nrtape grep TAPE number, h=density /dev/stdin /dev/stdout stdin/ stdout/ stderr ? ? ? /dev/fd/[012] ? /dev/fd/[012] /dev/fd/[012] /dev/fd/[012] ? /dev/fd/[012] ? ? /dev/fd/[012] ? ? ? ? stdin/ stdout/ stderr /dev/stderr /dev/fd/[012] xorgcfg xorgconfig Xorg -configure system-config-display xf86config Xorg -configure /usr/bin/X11/xsetmon kdmconfig (x86) X kvm config ? ? ? itemap xf86config ? xf86cfg X -configure ? hwconfig ? ? ? ? X kvm config xf86config /usr/gfx/setmon fbconfig; m64config; (etc.) XFree86 -configure XFree86 -configure redhat-config-xfree86 /etc/X11/?dm TASK \ OS AIX A/UX DG/UX FreeBSD HP-UX IRIX Linux Mac OS X NCR Unix NetBSD OpenBSD Reliant SCO OpenServer Solaris SunOS 4 Tru64 Ultrix UNICOS OS / TASK disklabel -r admpdisk -o list diskinfo pdisk rawDev -dump disk read a disk label lspv -l ? disklabel -r prtvtoc fdisk -l prtvtoc disklabel diskName dkpart -l fsname prtvtoc dkinfo disklabel -r chpt -q ? read a disk label admvdisk -o list pvdisplay Disk Utility mbrlabel fdisk /dev/hda (e.g. if /dev/hda1 (non-root partitions are c or d /dev/ios0/rsdisk???s7 whole disk in partition N/A ? ? c ? 10 s0 c /dev/1s# (#=0,1,...) 2 c c c s7 whole disk in partition is a partition) mounted under /Volumes) sysctl kern.rawpartition (???=000-999) sysadm fdisk edvtoc fdisk dvhtool cfdisk format prtvtoc disklabel -wr label a disk mkvg ? admpdisk disklabel -wr pvcreate fx -x fdisk (labels unused) disklabel -E diskName dksetup divvy prtvtoc format disklabel -rw chpt -a /etc/labelit label a disk mkpart mbrlabel sysinstall e2label (x86) fdisk updatescsi labelit parted (if you have it) cfdisk dp fdisk lvcreate fdisk format partition a disk mklv Finder: Apple HD SC admpdisk fx pdisk fdisk disklabel -i fdisk -e diskName dkpart -e divvy format disklabel -e chpt -p /etc/install/install partition a disk sysinstall sam pdisk (on a MAC) fmthard Setup (deb) mac-fdisk (on a MAC) (md) diskdrake TASK \ OS AIX A/UX DG/UX FreeBSD HP-UX IRIX Linux Mac OS X NCR Unix NetBSD OpenBSD Reliant SCO OpenServer Solaris SunOS 4 Tru64 Ultrix UNICOS OS / TASK /boot/vmlinuz* /boot/bootlx /unix /kernel/genunix /platform/`uname -m`/ /kernel /hpux (9) /unix kernel /unix /unix /dgux /unix /mach_kernel /netbsd /bsd /unix kernel/unix /vmunix /vmunix /vmunix /unicos kernel /boot/kernel/kernel /stand/vmunix (10+) (see /etc/lilo.conf or /stand/unix /stand/unix /platform/`uname -m`/ /boot/grub/menu.lst) kernel/sparcv9/unix (7+) sysdef /boot/kernel.conf sam adb /proc/* sysdef idtune getconf vmo vi /var/Build/ /boot/loader.conf sysdef /usr/sbin/sysctl /etc/conf/cf.d/configure -x /etc/kconfig /proc/sys/* getconf sysctl sysctl cat /etc/opt/cf.d/stune cat /etc/system dxkerneltuner adb show/set kernel parameters ioo system.hostname;; sysctl kmtune (11+) systune launchctl limit /usr/kvm/sys/ ? show/set kernel
Recommended publications
  • Performance Counters in Htop 3.0
    Slide: [ ] Talk: Perf counters in htop 3.0 Presenter: https://hisham.hm PID USER PRI NI VIRT RES SHR S CPU% MEM% TIME+ Command Performance counters in htop 3.0 Hisham Muhammad @[email protected] https://hisham.hm Slide: [ 2 ] Date: 2018-08-25 Talk: Perf counters in htop 3.0 Presenter: https://hisham.hm PID USER PRI NI VIRT RES SHR S CPU% MEM% TIME+ Command About me original author of htop, a project started in 2004 http://hisham.hm/htop/ lead dev of LuaRocks, package manager for Lua http://luarocks.org/ co-founder of the GoboLinux distribution http://gobolinux.org/ developer at Kong – FLOSS API gateway http://getkong.org/ (we’re hiring!) Slide: [ 3 ] Date: 2018-08-25 Talk: Perf counters in htop 3.0 Presenter: https://hisham.hm PID USER PRI NI VIRT RES SHR S CPU% MEM% TIME+ Command What is htop an interactive process manager intended to be “a better top” by this all I originally meant was: scrolling! (versions of top improved a lot since!) Slide: [ 4 ] Date: 2018-08-25 Talk: Perf counters in htop 3.0 Presenter: https://hisham.hm PID USER PRI NI VIRT RES SHR S CPU% MEM% TIME+ Command Hello, htop! Slide: [ 5 ] Date: 2018-08-25 Talk: Perf counters in htop 3.0 Presenter: https://hisham.hm PID USER PRI NI VIRT RES SHR S CPU% MEM% TIME+ Command htop beyond Linux Linux MacOS FreeBSD OpenBSD DragonFlyBSD Solaris (illumos) Slide: [ 6 ] Date: 2018-08-25 Talk: Perf counters in htop 3.0 Presenter: https://hisham.hm PID USER PRI NI VIRT RES SHR S CPU% MEM% TIME+ Command Then Apple released a broken kernel..
    [Show full text]
  • Nport 5600 Series User's Manual
    NPort 5600 Series User’s Manual Fifteenth Edition, September 2014 www.moxa.com/product © 2014 Moxa Inc. All rights reserved. NPort 5600 Series User’s Manual The software described in this manual is furnished under a license agreement and may be used only in accordance with the terms of that agreement. Copyright Notice © 2014 Moxa Inc. All rights reserved. Trademarks The MOXA logo is a registered trademark of Moxa Inc. All other trademarks or registered marks in this manual belong to their respective manufacturers. Disclaimer Information in this document is subject to change without notice and does not represent a commitment on the part of Moxa. Moxa provides this document as is, without warranty of any kind, either expressed or implied, including, but not limited to, its particular purpose. Moxa reserves the right to make improvements and/or changes to this manual, or to the products and/or the programs described in this manual, at any time. Information provided in this manual is intended to be accurate and reliable. However, Moxa assumes no responsibility for its use, or for any infringements on the rights of third parties that may result from its use. This product might include unintentional technical or typographical errors. Changes are periodically made to the information herein to correct such errors, and these changes are incorporated into new editions of the publication. Technical Support Contact Information www.moxa.com/support Moxa Americas Moxa China (Shanghai office) Toll-free: 1-888-669-2872 Toll-free: 800-820-5036 Tel: +1-714-528-6777 Tel: +86-21-5258-9955 Fax: +1-714-528-6778 Fax: +86-21-5258-5505 Moxa Europe Moxa Asia-Pacific Tel: +49-89-3 70 03 99-0 Tel: +886-2-8919-1230 Fax: +49-89-3 70 03 99-99 Fax: +886-2-8919-1231 Moxa India Tel: +91-80-4172-9088 Fax: +91-80-4132-1045 Table of Contents 1.
    [Show full text]
  • 20 Linux System Monitoring Tools Every Sysadmin Should Know by Nixcraft on June 27, 2009 · 315 Comments · Last Updated November 6, 2012
    About Forum Howtos & FAQs Low graphics Shell Scripts RSS/Feed nixcraft - insight into linux admin work 20 Linux System Monitoring Tools Every SysAdmin Should Know by nixCraft on June 27, 2009 · 315 comments · Last updated November 6, 2012 Need to monitor Linux server performance? Try these built-in commands and a few add-on tools. Most Linux distributions are equipped with tons of monitoring. These tools provide metrics which can be used to get information about system activities. You can use these tools to find the possible causes of a performance problem. The commands discussed below are some of the most basic commands when it comes to system analysis and debugging server issues such as: 1. Finding out bottlenecks. 2. Disk (storage) bottlenecks. 3. CPU and memory bottlenecks. 4. Network bottlenecks. #1: top - Process Activity Command The top program provides a dynamic real-time view of a running system i.e. actual process activity. By default, it displays the most CPU-intensive tasks running on the server and updates the list every five seconds. Fig.01: Linux top command Commonly Used Hot Keys The top command provides several useful hot keys: Hot Usage Key t Displays summary information off and on. m Displays memory information off and on. Sorts the display by top consumers of various system resources. Useful for quick identification of performance- A hungry tasks on a system. f Enters an interactive configuration screen for top. Helpful for setting up top for a specific task. o Enables you to interactively select the ordering within top. r Issues renice command.
    [Show full text]
  • Practice Test Version 1.8 LPI 117-101: Practice Exam QUESTION NO: 1 CORRECT TEXT
    LPI 117-101 117-101 LPI 101 General Linux, Part I Practice Test Version 1.8 LPI 117-101: Practice Exam QUESTION NO: 1 CORRECT TEXT You suspect that a new ethernet card might be conflicting with another device. Which file should you check within the /proc tree to learn which IRQs are being used by which kernel drives? Answer: interrupts QUESTION NO: 2 How many SCSI ids for peripherals can SCSI-1 support? A. 5 B. 6 C. 7 D. 8 Answer: C Explanation: SCSI-1 support total 7 peripherals. There are several different types of SCSI devices. The original SCSI specification is commonly referred to as SCSI-1. The newer specification, SCSI-2, offers increased speed and performance, as well as new commands. Fast SCSI increases throughput to more than 10MB per second. Fast-Wide SCSI provides a wider data path and throughput of up to 40MB per second and up to 15 devices. There there are Ultra-SCSI and Ultra-Wide-SCSI QUESTION NO: 3 You need to install a fax server. Which type of fax/modem should you install to insure Linux compatibility? Test-King.com A. External Serial Fax/modem B. External USB Fax/modem C. Internal ISA Fax/modem D. Internal PCI Fax/modem Answer: A QUESTION NO: 4 You are running Linux 2.0.36 and you need to add a USB mouse to your system. Which of the following statements is true? "Welcome to Certification's Main Event" - www.test-king.com 2 LPI 117-101: Practice Exam A. You need to rebuild the kernel.
    [Show full text]
  • Openbsd and Soekris
    OpenBSD and Soekris UUASC meeting June 3, 2004 Presented by Arild Jensen Outline ● What is OpenBSD and where do I get it? ● Built-in security features ● Maintaining an OpenBSD system ● The PF packet filter Outline (cont'd) ● What is Soekris and where do I get it? ● Different models and accessories ● Getting OpenBSD onto a Soekris box ● Maintaining a Soekris/OpenBSD solution What is OpenBSD? History BSD Net/2 (4.3BSD Lite) NetBSD 0.8 386BSD 0.0 NetBSD 0.9 386BSD 0.1 4.4BSD Lite 1 NetBSD 1.0 386BSD 1.0 NetBSD 1.1 OpenBSD FreeBSD What is OpenBSD? From the creators: “...freely available, multi- platform 4.4BSD-based UNIX-like OS.” Emphasis on: ● Portability ● Standardization ● Correctness ● Proactive Security ● Integrated Cryptography ...and where do I get it? www.openbsd.org CD sales only No .iso downloads $40 Portability ● i386 ● MVME68k ● Sparc ● MVME88k ● Sparc64 ● AMD64 ● HP300 ● CATS (ARM) ● Mac68k ● MacPPC ● HPPA Standardization The Story of CARP ● Firewall failover desired ● IEEE VRRP (Virtual router redundancy protocol) ● Cisco patents involved, HSRP protocol ● Cisco and Alcatel dispute ● Birth of CARP (Common address redundancy protocol ● Early implementation included in OpenBSD 3.5 Correctness The Audit Process ● 6-12 member security team ● Continuous audit of code multiple times by different people ● Security holes and common errors ● Result: Newly discovered bugs often already fixed in OpenBSD Pro-active Security Source Code Run Time ● ProPolice ● Privilege Separation – Buffer overflow – Avoid running as root protection – Dual-process setup – Similar to Stackguard – Daemons being ● W^X converted – Write xor Execute ● Chroot – Fine-grained memory – Apache /var/www permission layout – BIND /var/named – Only on some architectures Cryptography ● Based outside of U.S.
    [Show full text]
  • I.MX Linux® Reference Manual
    i.MX Linux® Reference Manual Document Number: IMXLXRM Rev. 1, 01/2017 i.MX Linux® Reference Manual, Rev. 1, 01/2017 2 NXP Semiconductors Contents Section number Title Page Chapter 1 About this Book 1.1 Audience....................................................................................................................................................................... 27 1.1.1 Conventions................................................................................................................................................... 27 1.1.2 Definitions, Acronyms, and Abbreviations....................................................................................................27 Chapter 2 Introduction 2.1 Overview.......................................................................................................................................................................31 2.1.1 Software Base................................................................................................................................................ 31 2.1.2 Features.......................................................................................................................................................... 31 Chapter 3 Machine-Specific Layer (MSL) 3.1 Introduction...................................................................................................................................................................37 3.2 Interrupts (Operation)..................................................................................................................................................
    [Show full text]
  • Intel FPGA Programmable Acceleration Card N3000
    Intel® Acceleration Stack User Guide Intel FPGA Programmable Acceleration Card N3000 Updated for Intel® Acceleration Stack for Intel® Xeon® CPU with FPGAs: 1.1 Subscribe UG-20244 | 2021.06.14 Send Feedback Latest document on the web: PDF | HTML Contents Contents 1. About this Document...................................................................................................... 4 1.1. Acronym List ........................................................................................................5 2. System Requirements..................................................................................................... 7 2.1. Cooling Requirements............................................................................................ 7 3. Hardware Installation................................................................................................... 11 3.1. Installing the Intel FPGA PAC N3000.......................................................................11 4. Installing the OPAE Software........................................................................................16 4.1. Install Additional Packages.................................................................................... 17 4.2. Install the Release Package................................................................................... 17 4.2.1. Remove Previous OPAE Packages............................................................... 18 4.2.2. Install the Acceleration Stack for Runtime..................................................
    [Show full text]
  • BSD UNIX Toolbox 1000+ Commands for Freebsd, Openbsd
    76034ffirs.qxd:Toolbox 4/2/08 12:50 PM Page iii BSD UNIX® TOOLBOX 1000+ Commands for FreeBSD®, OpenBSD, and NetBSD®Power Users Christopher Negus François Caen 76034ffirs.qxd:Toolbox 4/2/08 12:50 PM Page ii 76034ffirs.qxd:Toolbox 4/2/08 12:50 PM Page i BSD UNIX® TOOLBOX 76034ffirs.qxd:Toolbox 4/2/08 12:50 PM Page ii 76034ffirs.qxd:Toolbox 4/2/08 12:50 PM Page iii BSD UNIX® TOOLBOX 1000+ Commands for FreeBSD®, OpenBSD, and NetBSD®Power Users Christopher Negus François Caen 76034ffirs.qxd:Toolbox 4/2/08 12:50 PM Page iv BSD UNIX® Toolbox: 1000+ Commands for FreeBSD®, OpenBSD, and NetBSD® Power Users Published by Wiley Publishing, Inc. 10475 Crosspoint Boulevard Indianapolis, IN 46256 www.wiley.com Copyright © 2008 by Wiley Publishing, Inc., Indianapolis, Indiana Published simultaneously in Canada ISBN: 978-0-470-37603-4 Manufactured in the United States of America 10 9 8 7 6 5 4 3 2 1 Library of Congress Cataloging-in-Publication Data is available from the publisher. No part of this publication may be reproduced, stored in a retrieval system or transmitted in any form or by any means, electronic, mechanical, photocopying, recording, scanning or otherwise, except as permitted under Sections 107 or 108 of the 1976 United States Copyright Act, without either the prior written permission of the Publisher, or authorization through payment of the appropriate per-copy fee to the Copyright Clearance Center, 222 Rosewood Drive, Danvers, MA 01923, (978) 750-8400, fax (978) 646-8600. Requests to the Publisher for permis- sion should be addressed to the Legal Department, Wiley Publishing, Inc., 10475 Crosspoint Blvd., Indianapolis, IN 46256, (317) 572-3447, fax (317) 572-4355, or online at http://www.wiley.com/go/permissions.
    [Show full text]
  • Absolute BSD—The Ultimate Guide to Freebsd Table of Contents Absolute BSD—The Ultimate Guide to Freebsd
    Absolute BSD—The Ultimate Guide to FreeBSD Table of Contents Absolute BSD—The Ultimate Guide to FreeBSD............................................................................1 Dedication..........................................................................................................................................3 Foreword............................................................................................................................................4 Introduction........................................................................................................................................5 What Is FreeBSD?...................................................................................................................5 How Did FreeBSD Get Here?..................................................................................................5 The BSD License: BSD Goes Public.......................................................................................6 The Birth of Modern FreeBSD.................................................................................................6 FreeBSD Development............................................................................................................7 Committers.........................................................................................................................7 Contributors........................................................................................................................8 Users..................................................................................................................................8
    [Show full text]
  • Lab 09: Operating System Basics
    ESE 150 – Lab 09: Operating System Basics LAB 09 Today’s Lab has the following objectives: 1. Learn how to remotely log into Eniac Linux server 2. Learn some of the basics of process management on the Linux Operating System This lab will take place in Ketterer (Moore 200). Background: OPERATING SYSTEMS We learned in lecture that a CPU can really only execute one task or instruction (like ADD or SUBTRACT, etc) at a time. The Operating System is a program that runs on a CPU with the job of managing the CPU’s time. It schedules programs that user’s would like run for time on the CPU, essentially its main job is to keep the CPU busy. Another aspect of the OS is to protect access to the hardware that surrounds the CPU (like input and output devices – keyboards, mice, etc.) so that programs don’t have direct access to the hardware, but instead ask the OS for permission to access it. This also lends itself to “virtualizing” the CPU and its hardware so that each program that runs on the CPU believes it is the only program running on the CPU at any given time. Before the personal computer existed, before Mac OS and Windows came into being, an operating system named UNIX was written to manage large computers at AT&T Bell Laboratories in the 1970s that became a model for modern operating systems (like Windows, and Mac OSX). In the 1990’s an operating system named Linux was invented modeled very heavily on the UNIX operating system.
    [Show full text]
  • Linux Performance Tools
    Linux Performance Tools Brendan Gregg Senior Performance Architect Performance Engineering Team [email protected] @brendangregg This Tutorial • A tour of many Linux performance tools – To show you what can be done – With guidance for how to do it • This includes objectives, discussion, live demos – See the video of this tutorial Observability Benchmarking Tuning Stac Tuning • Massive AWS EC2 Linux cloud – 10s of thousands of cloud instances • FreeBSD for content delivery – ~33% of US Internet traffic at night • Over 50M subscribers – Recently launched in ANZ • Use Linux server tools as needed – After cloud monitoring (Atlas, etc.) and instance monitoring (Vector) tools Agenda • Methodologies • Tools • Tool Types: – Observability – Benchmarking – Tuning – Static • Profiling • Tracing Methodologies Methodologies • Objectives: – Recognize the Streetlight Anti-Method – Perform the Workload Characterization Method – Perform the USE Method – Learn how to start with the questions, before using tools – Be aware of other methodologies My system is slow… DEMO & DISCUSSION Methodologies • There are dozens of performance tools for Linux – Packages: sysstat, procps, coreutils, … – Commercial products • Methodologies can provide guidance for choosing and using tools effectively • A starting point, a process, and an ending point An#-Methodologies • The lack of a deliberate methodology… Street Light An<-Method 1. Pick observability tools that are: – Familiar – Found on the Internet – Found at random 2. Run tools 3. Look for obvious issues Drunk Man An<-Method • Tune things at random until the problem goes away Blame Someone Else An<-Method 1. Find a system or environment component you are not responsible for 2. Hypothesize that the issue is with that component 3. Redirect the issue to the responsible team 4.
    [Show full text]
  • The Complete Freebsd
    The Complete FreeBSD® If you find errors in this book, please report them to Greg Lehey <grog@Free- BSD.org> for inclusion in the errata list. The Complete FreeBSD® Fourth Edition Tenth anniversary version, 24 February 2006 Greg Lehey The Complete FreeBSD® by Greg Lehey <[email protected]> Copyright © 1996, 1997, 1999, 2002, 2003, 2006 by Greg Lehey. This book is licensed under the Creative Commons “Attribution-NonCommercial-ShareAlike 2.5” license. The full text is located at http://creativecommons.org/licenses/by-nc-sa/2.5/legalcode. You are free: • to copy, distribute, display, and perform the work • to make derivative works under the following conditions: • Attribution. You must attribute the work in the manner specified by the author or licensor. • Noncommercial. You may not use this work for commercial purposes. This clause is modified from the original by the provision: You may use this book for commercial purposes if you pay me the sum of USD 20 per copy printed (whether sold or not). You must also agree to allow inspection of printing records and other material necessary to confirm the royalty sums. The purpose of this clause is to make it attractive to negotiate sensible royalties before printing. • Share Alike. If you alter, transform, or build upon this work, you may distribute the resulting work only under a license identical to this one. • For any reuse or distribution, you must make clear to others the license terms of this work. • Any of these conditions can be waived if you get permission from the copyright holder. Your fair use and other rights are in no way affected by the above.
    [Show full text]