SmartOS Application Development and Debugging

Duration: 3 days

Description

This course is aimed at developers familiar with other operating systems, who want to develop applications on SmartOS. It covers topics and features specific to SmartOS and Smart Machines. The concepts being taught are reinforced throughout with hands-on live demos and lab work. Some prior experience doing development work is essential. The course will look at applications written in a variety of languages including shell scripting, C, and node.js. Development, deployment, debugging, and performance analysis are covered through examples and labs. The course shows the tools available on SmartOS for application developers, and describes techniques and strategies for using the tools to solve a wide range of problems. Along with developers, support staff will also benefit from this course.

Topic Outline

  • File System Layout (i.e., what's where)
  • Address Space Layout
    • User versus Kernel
    • 32-bit vs. 64-bit Applications
    • text, data, heap, stack, shared memory, libraries
    • Observability
    • pmap output explained
  • proc(1) tools
    • pstack, pwdx, pargs, psig, preap, pflags, pcred, pldd, pwdx, pstop, prun, pwait, ptime
  • Threads and Processes
    • Threading model (1x1)
    • Observability
    • ps, prstat
  • Synchronization
    • mutexes, condition variables, readers/writer locks, semaphores
    • Deadlock
    • plockstat
  • User Level Debugging
    • Types of bugs/hangs
    • Tools (mdb, pstack, DTrace, truss)
    • Techiques and strategies
  • Networking
    • Overview of Crossbow
    • ifconfig, dladm, netstat, dlstat(?), flowadm, flowstat
    • snoop, wireshark, tcpdump, traceroute
    • DTrace net provider
  • ZFS
    • Overview
    • send/receive
    • Layout on disk(s)
    • Snapshots and Clones
    • ARC and ZIO

Dates

See course calendar

Training Course Request Form

Thanks for your interest in training from Joyent!

Please use this form to let us know what courses you might like to attend or see added to the schedule. We will contact you to get more details on how we can meet your training needs.


:

Sign up Now for Instant Cloud Access

Get Started

View PricingSee Benchmarks