OpenVMS Undocumented Features



Similar documents
OpenVMS CD & DVD, IDE ATA & ATAPI

Linux Recovery Utility for HP Integrity Servers

Errata Sheet for HP OpenVMS Support of HP Integrity BL860c Server Blade

Intel Data Migration Software

PARALLELS SERVER 4 BARE METAL README

Support Notes for SUSE LINUX Enterprise Server 9 Service Pack 3 for the Intel Itanium 2 Processor Family

HP OpenVMS System Manager s Manual, Volume 2: Tuning, Monitoring, and Complex Systems

Microsoft Windows Compute Cluster Server 2003 Getting Started Guide

SUSE LINUX Enterprise Server for SGI Altix Systems

USB Bare Metal Restore: Getting Started

HP VMware ESXi 5.0 and Updates Getting Started Guide

OpenVMS Hints & Kinks

Cisco Networking Academy Program Curriculum Scope & Sequence. Fundamentals of UNIX version 2.0 (July, 2002)

Acronis Disk Director 11 Advanced Server. Quick Start Guide

UEFI on Dell BizClient Platforms

Intel Data Migration Software

installing UEFi-based Microsoft Windows Vista SP1 (x64) on HP EliteBook and Compaq Notebook PCs

Trend Micro Incorporated reserves the right to make changes to this document and to the products described herein without notice.

UltraBac Documentation. UBDR Gold. Administrator Guide UBDR Gold v8.0

Password Changer for DOS User Guide

Computer Setup (F10) Utility Guide Evo Desktop Family Evo Workstation Family

o NW141654: Request to have option to have "+NOLOCK" result in "access conflict warnings" for open files

AlphaServer DS10 V7.3 Console Firmware Release Notes

Support Notes for SUSE LINUX Enterprise Server 10 Service Pack 2 for HP Integrity Servers

Integrity Virtual Machines Technical Overview

Chapter Contents. Operating System Activities. Operating System Basics. Operating System Activities. Operating System Activities 25/03/2014

Reviewer s Guide. EaseUS Backup Solution. EaseUS Todo Backup Reviewer s Guide 1. Contents Introduction Chapter 1...3

SOFTWARE TECHNOLOGIES

Example of Standard API

HP-UX Event Monitoring Service (EMS) Hardware Monitors Release Notes

HP Personal Workstations Step-By- Step Instructions for Upgrading Windows Vista or Windows XP Systems to Windows 7

Security Overview of the Integrity Virtual Machines Architecture

HP One-Button Disaster Recovery (OBDR) Solution for ProLiant Servers

Windows Server 2008 R2 Essentials

EUCIP IT Administrator - Module 2 Operating Systems Syllabus Version 3.0

HP dx5150 RAID Installation and Setup Guide Version Document Part Number:

H ARDWARE C ONSIDERATIONS

Dell NetVault Bare Metal Recovery for Dell NetVault Backup Server User s Guide

Software Product Description

Intel Entry Storage System SS4000-E

10 STEPS TO YOUR FIRST QNX PROGRAM. QUICKSTART GUIDE Second Edition

EaseUS Partition Master

ZENworks 11 Support Pack 4 Full Disk Encryption Agent Reference. May 2016

QuickSpecs. HP Integrity Virtual Machines (Integrity VM) Overview. Currently shipping versions:

HP Integrity Servers with Microsoft Windows Server 2008 for Itanium-Based Systems Installation Guide

Acronis True Image 2015 REVIEWERS GUIDE

HP Operations Manager Software for Windows Integration Guide

HP-UX System and Network Administration for Experienced UNIX System Administrators Course Summary

Q N X S O F T W A R E D E V E L O P M E N T P L A T F O R M v Steps to Developing a QNX Program Quickstart Guide

PARALLELS SERVER BARE METAL 5.0 README

WHITE PAPER. HP Guide to System Recovery and Restore

HP Notebook Hard Drives & Solid State Drives. Identifying, Preventing, Diagnosing and Recovering from Drive Failures. Care and Maintenance Measures

UNIVERSAL NOVASCALE R421 R422 R422-INF. HOW TO: Replace the BIOS. REFERENCE Rev04v01

Installing Microsoft Windows on an HP ProBook or EliteBook Notebook PC and creating an image

A Better Approach to Backup and Bare-Metal Restore: Disk Imaging Technology

Intel Compute Stick STCK1A32WFC User Guide. Intel Compute Stick STCK1A32WFC

Computer Setup (F10) Utility Guide Business PCs

ThinkServer RD550 and RD650 Operating System Installation Guide

Ubuntu Linux Reza Ghaffaripour May 2008

Getting Started. rp5800, rp5700 and rp3000 Models

Operating System Installation Guide

Parallels Desktop for Mac

Windows Server 2008 Essentials. Installation, Deployment and Management

ATT8231: Creating a Customized USB Thumb Drive for ZCM Imaging Methods for creating a customized bootable USB Thumb Drive

The Windows Vista Recovery Environment

EaseUS Backup Center User Guide

HP-UX Support Tools Manager (STM) Release Notes

CS 3530 Operating Systems. L02 OS Intro Part 1 Dr. Ken Hoganson

Apple Server Diagnostics User Guide. For Version 3X106

Windows Server 2003 with SP1 Installation Guide. Version

Configuring Virtual Blades

A+ Guide to Managing and Maintaining Your PC, 7e. Chapter 16 Fixing Windows Problems

Using ATI Array Management Software (WebPAM)

hp StorageWorks DS-KGPSA-CA/CX and FCA2354 PCI host bus adapters

EHCI Removal from 6 th Generation Intel Core Processor Family Platform Controller Hub (PCH)

System Event Log (SEL) Viewer User Guide

Chapter 12: Windows XP, Vista, and 7

A candidate following a programme of learning leading to this unit will be able to:

Operating Systems Networking for Home and Small Businesses Chapter 2

EUCIP - IT Administrator. Module 2 Operating Systems. Version 2.0

Configuring and Using AMT on TS140 and TS440

PRIMEQUEST Integration

Advanced Host Controller Interface (AHCI) and Redundant Array of Independent Disks (RAID) on HP Compaq dc5850 Business PCs

Novell Identity Manager Resource Kit

APPLICATION NOTE. RTD Linux Support Overview. SWM Rev C

Phoenix SecureCore TM Setup Utility

Oracle Virtual Desktop Client for Android. Release Notes for Release 1.2

HP Factory-Installed Operating System Software for Windows Server 2008 R2 Standard and Windows Server 2012 Standard User Guide

Ocster Backup - Rescue System

TotalShredder USB. User s Guide

Computer Setup User Guide

System Area Manager. Remote Management

Installation Guide to the Snare Server Installation Guide to the Snare Server

VERITAS NetBackup 6.0

Updates Click to check for a newer version of the CD Press next and confirm the disc burner selection before pressing finish.

NI Real-Time Hypervisor for Windows

Notes on Windows Embedded Standard

RSA ACE/Agent 5.2 for UNIX Installation and Configuration Guide

Full Disk Encryption Agent Reference

Transcription:

OpenVMS Undocumented Features Stephen Hoffman HP OpenVMS Engineering European Technical Update 2004 2004 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice

No Support, No Docs, No Commitments! This presentation is NOT a statement of support! undocumented unsupported subject to change without notice subject to removal without notice please don't even THINK of calling the support center! and please don't ask for the [un]documentation!

Audience This is a technical session Target Audience: OpenVMS Programmers, System Managers Some OpenVMS Familiarity is Assumed: User Commands System Management Commands Programming APIs

OpenVMS System Disk Structure Traditional Structure WRITEBOOT and SETBOOT go single-architecture Boot Block Primary Bootstrap

OpenVMS System Disk Structure EFI-Compatible Structure EFI locates FAT-format boot partition MBR SYS$EFI.SYS

OpenVMS System Disk Structure EFI-Compatible Structure GPT bootstraps required the relocation of home block and changing the file containing the boot block [000000]INDEXF.SYS and [000000]GPT.SYS MBR & GPT SYS$EFI.SYS GPT

OpenVMS System Disk Structure Hardware Diagnostics Partition SYS$MAINTENANCE:SYS$DIAGNOSTICS.SYS If partitions are deleted, relocated or modified, do remember to re-invoke SETBOOT more (related) material later... MBR & GPT SYS$DIAG* SYS$EFI.SYS GPT

SETBOOT Watching SETBOOT activity... SYS$SETBOOT_DEBUG DEFINE SYS$SETBOOT_DEBUG 1F Command interfaces SET BOOTBLOCK (doc'd) RUN SYS$SYSTEM:SYS$SETBOOT (doc'd) Foreign-command interface (not doc'd)

Monitoring the XQP Looking inside application file processing $ SET WATCH FILE/CLASS=keyword ALL NONE ATTRIBUTES CONTROL_FUNCTION DIRECTORY_OPERATIONS DUMP ATTACHED MAJOR_FUNCTION QUOTA_OPERATIONS

Monitoring the XQP SET WATCH can display File Identifications (FIDs)... $ DUMP/ID=(x,y,z)

Kernel Watchpoints Watching kernel activity on OpenVMS Alpha... $ HELP/LIBRARY=WP

Undocumented System Services Encouraging page-faulting... sys$fault_page( StartingVA, ByteLength, PFCByteSize)

Undocumented System Services Generating password-related word strings... sys$forge_word( minlen, maxlen, mindata, flags, retdata, outlen, outstr)

Undocumented System Services V7.3-1 and later, on specific platforms... sys$get_env_sensors() Example code has been posted to ATW, comp.os.vms

Undocumented Threads Get per-thread CPU time, non-portable, on OpenVMS Alpha V7.3-2 with PTHREAD V1.0 ECO and later... extern int pthread_getcputime_np(pthread_t, struct timespec*); Status return values: 0 Success EINVAL NULL cputime parameter ESRCH handle is not a thread ENOTSUP can't return CPU time for SCS thread (UNIX only) -ESTALE warning that value is out of date (target is running)

Undocumented DCL Commands RSX-11M Monitor Console Routine RUN command... MCR

Undocumented DCL Commands Extension interface for the MAIL utility... $ MAIL SEND/FOREIGN SET TRANSPORT SHOW TRANSPORT

Undocumented DCL Commands Peering into the BACKUP utility... $ BACKUP/ANALYZE

Undocumented DCL Commands Peering into OpenVMS I64 Images $ SHOW IMAGE $ SET IMAGE may yet be documented in OpenVMS I64 and Alpha V8.2, though for use with ELF images only...

Undocumented DCL Commands Peering into OpenVMS Images $ analyze/image/out=nl:/select=(ident,link) pascal.exe $ show symbol analyze* ANALYZE$ARCHITECTURE = "" ANALYZE$BUILD_IDENTIFICATION = "" ANALYZE$FILE_TYPE = "" ANALYZE$IDENTIFICATION = ""T5.9-2-50E34"" ANALYZE$IMAGE_TYPE = "" ANALYZE$LINKER_IDENTIFICATION = "" ANALYZE$LINK_TIME = "25-MAR-2004 13:06:41.01" ANALYZE$NAME = ""

Semi-documented DCL Commands Support and documentation is pending... Simple-minded image identification... $ CHECKSUM $ CHECKSUM/IMAGE CHECKSUM$CHECKSUM symbol Expected to be documented with V8.2

Semi-documented DCL Commands Support and documentation is pending... $ SHOW DISPLAY/SYMBOL DECW$DISPLAY_NODE DECW$DISPLAY_SCREEN DECW$DISPLAY_SERVER DECW$DISPLAY_TRANSPORT

Semi-documented DCL Commands Support and documentation is pending... F$GETENV Around forever, now (finally) documented Also SYS$GETENV (documented) SYS$SETENV (undocumented)

Fun with documented Commands Clear the screen? TYPE/PAGE NLA0:

Fun with documented Commands Output Redirection? @TT/OUTPUT=X.LOG

Fun with documented Commands TCP/IP V5.4 Scalable Kernel Within SYSTARTUP_VMS.COM... $ DEFINE TCPIP$STARTUP_CPU_IMAGES "PERF=ALL"

Fun with undocumented Commands BMC System Event Log Full? At the EFI Shell> prompt, enter the command: clearlogs SEL OpenVMS I64 now attempts to drain the contents of the SEL into the OpenVMS error log, reducing exposure EFI console output (quantity) control command: verbose events FAT tools, FTP services, etc

Fun with undocumented Commands Changing the Login Logo? Most any DECwindows CDE release in common use DECwindows 1.3-1 and later for DECwindows Motif sys$common:[cde$defaults.system. - appconfig.icons.c]decdtlogo.pm

Latent Features Universal Serial Bus (USB 1.1)? USB Wheel and Joystick Input Keychain Storage Requires Native (and documented) on OpenVMS I64 bootstrap OpenVMS I64 off a (big) key disk! some USB1.1 controllers do work on OpenVMS Alpha sys$user_config.dat LK463 USB Keyboard includes PS/2 DIN adapter

Latent Features IDE bus and ATA and ATAPI devices CD-R/RW DVD+R/RW DVD-R/RW Recording CD media on (and for) OpenVMS SYS$MANAGER:CDRECORD.COM (V7.3-1 and later) LD Logical Disk Driver See OpenVMS FAQ Bootable Optical Media: ATW (9820) Improved support (incl. DVD) possible in V8.3?

Latent Features Alpha disassembler set up DCL$PATH or foreign-command symbol srm_check -verbose -dump image.exe Alpha PATCH tools See FAQ

Latent Features GAWK is available in TCP/IP Services SNMP sys$common:[syshlp.examples.tcpip.snmp]gawk.exe_'arch'

Latent Features Integrity Management Processor contains Radeon 7000-class graphics

Easter Eggs We engineers will have our fun... $ exit 2928

Easter Eggs We engineers will have our fun... SEPPUCLU

Easter Eggs We engineers will have our fun... SDA> tcpip show bug SDA> tcpip show crash

Easter Eggs Just who is the INFODWARF?

No Support, No Docs, No Commitments This presentation is NOT a statement of support! undocumented unsupported subject to change without notice subject to removal without notice don't even THINK of calling the support center! don't ask for the [un]documentation!

Call for OpenVMS Freeware Freeware submission deadline is 8-Nov-2004 http://www.hp.com/go/openvms/freeware/

Where to go for help? available web resources http://www.hp.com/go/openvms/ http://www.hp.com/go/openvms/faq/ http://www.hp.com/go/openvms/wizard/ http://www.hp.com/go/openvms/freeware/ http://www.hp.com/go/dspp

Thank You! European Technical Update 2004 &

The Fine Print Copyright 2004 Hewlett-Packard Development Company, L.P. While HP believes the information included in this presentation is correct as of the date produced, it is subject to change without notice. All trademarks and registered trademarks are the property of their respective holders. Intel and Itanium are registered trademarks of Intel. Presentation void where taxed or prohibited by law. Title, fees and registration extra, your CPU or I/O mileage may vary. Attempts at CD and DVD recording can generate coasters. Recommended for technical and engineering ranks and hobbyists ages 12 and up. Ask for special pointy-haired-boss toy. Known Thousand-Mile-Stare hazard, please keep this and all other similar presentations away from known-sensitive members of engineering, marketing, and management.